Fix elf/sotruss-lib format-truncation error.
[glibc.git] / ChangeLog
blobfe612a80b9c06f4fe501b282c75fd9288de7b434
1 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3         * elf/sotruss-lib.c (init): Increase space allocated for pid by
4         one byte.  Print it with %ld, cast to long int.
6 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
9         (re.fullmatch, subprocess.run): Likewise.
11 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13         * po/libc.pot: Regenerate.
15 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
18         (min_strlen): Likewise.
19         (disable_tunable): Likewise.
20         (maybe_disable_malloc_check): Rename to
21         maybe_enable_malloc_check.
22         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
23         if /etc/suid-debug file exists.
24         (__tunables_init): Update caller.
25         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
26         secure.
28 2016-01-10  Torvald Riegel  <triegel@redhat.com>
30         * nptl/DESIGN-rwlock.txt: Remove.
31         * nptl/lowlevelrwlock.sym: Remove.
32         * nptl/Makefile: Add new tests.
33         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
34         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
35         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
36         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
37         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
38         PTHREAD_RWLOCK_FUTEX_USED): New.
39         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
40         implementation.
41         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
42         (__pthread_rwlock_rdlock): Adapt.
43         * nptl/pthread_rwlock_timedrdlock.c
44         (pthread_rwlock_timedrdlock): Adapt.
45         * nptl/pthread_rwlock_timedwrlock.c
46         (pthread_rwlock_timedwrlock): Adapt.
47         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
48         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
49         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
50         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
51         (__pthread_rwlock_wrlock): Adapt.
52         * nptl/tst-rwlock10.c: Adapt.
53         * nptl/tst-rwlock11.c: Adapt.
54         * nptl/tst-rwlock17.c: New file.
55         * nptl/tst-rwlock18.c: New file.
56         * nptl/tst-rwlock19.c: New file.
57         * nptl/tst-rwlock2b.c: New file.
58         * nptl/tst-rwlock8.c: Adapt.
59         * nptl/tst-rwlock9.c: Adapt.
60         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
61         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
62         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
63         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
64         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
65         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
66         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
67         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
68         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
69         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
70         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
71         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
72         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
73         (pthread_rwlock_t): Adapt.
74         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
75         (pthread_rwlock_t): Adapt.
76         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
77         * nptl/nptl-printers.py (): Adapt.
78         * nptl/nptl_lock_constants.pysym: Adapt.
79         * nptl/test-rwlock-printers.py: Adapt.
80         * nptl/test-rwlockattr-printers.c: Adapt.
81         * nptl/test-rwlockattr-printers.py: Adapt.
83 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
85         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
86         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
87         (fma_test_data): Likewise.
88         (hypot_test_data): Likewise.
89         (log1p_test_data): Likewise.
90         (modf_test_data): Likewise.
91         (pow_test_data): Likewise.
92         (remainder_test_data): Likewise.
93         (remquo_test_data): Likewise.
94         (scalb_test_data): Likewise.
95         (scalbn_test_data): Likewise.
96         (scalbln_test_data): Likewise.
97         * math/gen-libm-test.pl (parse_args): Transform
98         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
99         on the rounding mode.
101 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
103         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
104         xfail-rounding:ibm128-libgcc automatically to tests overflowing
105         and those that can underflow to zero.
106         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
107         add others.
108         * math/auto-libm-test-out: Regenerated.
110         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
111         supported.
112         (feholdexcept_tests): Skip tests requiring exceptions or rounding
113         modes support if not supported.
115         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
116         Add libc.so PLT entry.
117         (__tls_get_addr): Make ld.so PLT entry optional.
119 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
121         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
122         * string/bits/string3.h: ... here.
124 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
126         [BZ #21028]
127         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
128         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
129         if EXCEPTION_TESTS returns false.
131 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
133         [BZ #20558]
134         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
135         strings_fortified.h.
136         [__USE_MISC] (bzero): Likewise.
137         [__USE_MISC] (explicit_bzero): Likewise.
138         * string/strings.h: Include strings_fortified.h.
139         * string/Makefile (headers): Add strings_fortified.h.
140         * string/bits/strings_fortified.h: New file.
141         * include/bits/strings_fortified.h: Likewise.
143 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
145         * elf/tst-tls13.c (TIMEOUT): Remove.
146         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
147         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
148         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
149         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
150         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
152         [BZ #21026]
153         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
154         (readahead): New syscall entry.
156 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
158         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
159         around tests of strncat with large sizes.
161         * malloc/tst-malloc.c: Include <libc-internal.h>.
162         (do_test): Disable -Walloc-size-larger-than= around tests of
163         malloc with negative sizes.
164         * malloc/tst-mcheck.c: Include <libc-internal.h>.
165         (do_test): Disable -Walloc-size-larger-than= around tests of
166         malloc and realloc with negative sizes.
167         * malloc/tst-realloc.c: Include <libc-internal.h>.
168         (do_test): Disable -Walloc-size-larger-than= around tests of
169         realloc with negative sizes.
171         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
172         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
173         allowed to 16 ulps.
174         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
175         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
176         * math/auto-libm-test-out: Regenerated.
178 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
180         * math/Makefile (libm-calls): Move wrappers...
181         (libm-compat-call-auto): Here.
182         (libm-routines): Add items in libm-compat-calls-auto.
183         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
184         the filenames of the wrappers that have been renamed.
185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
188         * math/w_acos.c: Add _compat suffix to filename.
189         * math/w_acosf.c: Likewise.
190         * math/w_acosh.c: Likewise.
191         * math/w_acoshf.c: Likewise.
192         * math/w_acoshl.c: Likewise.
193         * math/w_acosl.c: Likewise.
194         * math/w_asin.c: Likewise.
195         * math/w_asinf.c: Likewise.
196         * math/w_asinl.c: Likewise.
197         * math/w_atan2.c: Likewise.
198         * math/w_atan2f.c: Likewise.
199         * math/w_atan2l.c: Likewise.
200         * math/w_atanh.c: Likewise.
201         * math/w_atanhf.c: Likewise.
202         * math/w_atanhl.c: Likewise.
203         * math/w_cosh.c: Likewise.
204         * math/w_coshf.c: Likewise.
205         * math/w_coshl.c: Likewise.
206         * math/w_exp10.c: Likewise.
207         * math/w_exp10f.c: Likewise.
208         * math/w_exp10l.c: Likewise.
209         * math/w_exp2.c: Likewise.
210         * math/w_exp2f.c: Likewise.
211         * math/w_exp2l.c: Likewise.
212         * math/w_fmod.c: Likewise.
213         * math/w_fmodf.c: Likewise.
214         * math/w_fmodl.c: Likewise.
215         * math/w_hypot.c: Likewise.
216         * math/w_hypotf.c: Likewise.
217         * math/w_hypotl.c: Likewise.
218         * math/w_j0.c: Likewise.
219         * math/w_j0f.c: Likewise.
220         * math/w_j0l.c: Likewise.
221         * math/w_j1.c: Likewise.
222         * math/w_j1f.c: Likewise.
223         * math/w_j1l.c: Likewise.
224         * math/w_jn.c: Likewise.
225         * math/w_jnf.c: Likewise.
226         * math/w_jnl.c: Likewise.
227         * math/w_log10.c: Likewise.
228         * math/w_log10f.c: Likewise.
229         * math/w_log10l.c: Likewise.
230         * math/w_log2.c: Likewise.
231         * math/w_log2f.c: Likewise.
232         * math/w_log2l.c: Likewise.
233         * math/w_log.c: Likewise.
234         * math/w_logf.c: Likewise.
235         * math/w_logl.c: Likewise.
236         * math/w_pow.c: Likewise.
237         * math/w_powf.c: Likewise.
238         * math/w_powl.c: Likewise.
239         * math/w_remainder.c: Likewise.
240         * math/w_remainderf.c: Likewise.
241         * math/w_remainderl.c: Likewise.
242         * math/w_scalb.c: Likewise.
243         * math/w_scalbf.c: Likewise.
244         * math/w_scalbl.c: Likewise.
245         * math/w_sinh.c: Likewise.
246         * math/w_sinhf.c: Likewise.
247         * math/w_sinhl.c: Likewise.
248         * math/w_sqrt.c: Likewise.
249         * math/w_sqrtf.c: Likewise.
250         * math/w_sqrtl.c: Likewise.
251         * math/w_tgamma.c: Likewise.
252         * math/w_tgammaf.c: Likewise.
253         * math/w_tgammal.c: Likewise.
255         * math/w_acos_compat.c: New file copied from above and
256         adjusted for new #includes path
257         * math/w_acosf_compat.c: Likewise.
258         * math/w_acosh_compat.c: Likewise.
259         * math/w_acoshf_compat.c: Likewise.
260         * math/w_acoshl_compat.c: Likewise.
261         * math/w_acosl_compat.c: Likewise.
262         * math/w_asin_compat.c: Likewise.
263         * math/w_asinf_compat.c: Likewise.
264         * math/w_asinl_compat.c: Likewise.
265         * math/w_atan2_compat.c: Likewise.
266         * math/w_atan2f_compat.c: Likewise.
267         * math/w_atan2l_compat.c: Likewise.
268         * math/w_atanh_compat.c: Likewise.
269         * math/w_atanhf_compat.c: Likewise.
270         * math/w_atanhl_compat.c: Likewise.
271         * math/w_cosh_compat.c: Likewise.
272         * math/w_coshf_compat.c: Likewise.
273         * math/w_coshl_compat.c: Likewise.
274         * math/w_exp10_compat.c: Likewise.
275         * math/w_exp10f_compat.c: Likewise.
276         * math/w_exp10l_compat.c: Likewise.
277         * math/w_exp2_compat.c: Likewise.
278         * math/w_exp2f_compat.c: Likewise.
279         * math/w_exp2l_compat.c: Likewise.
280         * math/w_fmod_compat.c: Likewise.
281         * math/w_fmodf_compat.c: Likewise.
282         * math/w_fmodl_compat.c: Likewise.
283         * math/w_hypot_compat.c: Likewise.
284         * math/w_hypotf_compat.c: Likewise.
285         * math/w_hypotl_compat.c: Likewise.
286         * math/w_j0_compat.c: Likewise.
287         * math/w_j0f_compat.c: Likewise.
288         * math/w_j0l_compat.c: Likewise.
289         * math/w_j1_compat.c: Likewise.
290         * math/w_j1f_compat.c: Likewise.
291         * math/w_j1l_compat.c: Likewise.
292         * math/w_jn_compat.c: Likewise.
293         * math/w_jnf_compat.c: Likewise.
294         * math/w_jnl_compat.c: Likewise.
295         * math/w_log10_compat.c: Likewise.
296         * math/w_log10f_compat.c: Likewise.
297         * math/w_log10l_compat.c: Likewise.
298         * math/w_log2_compat.c: Likewise.
299         * math/w_log2f_compat.c: Likewise.
300         * math/w_log2l_compat.c: Likewise.
301         * math/w_log_compat.c: Likewise.
302         * math/w_logf_compat.c: Likewise.
303         * math/w_logl_compat.c: Likewise.
304         * math/w_pow_compat.c: Likewise.
305         * math/w_powf_compat.c: Likewise.
306         * math/w_powl_compat.c: Likewise.
307         * math/w_remainder_compat.c: Likewise.
308         * math/w_remainderf_compat.c: Likewise.
309         * math/w_remainderl_compat.c: Likewise.
310         * math/w_scalb_compat.c: Likewise.
311         * math/w_scalbf_compat.c: Likewise.
312         * math/w_scalbl_compat.c: Likewise.
313         * math/w_sinh_compat.c: Likewise.
314         * math/w_sinhf_compat.c: Likewise.
315         * math/w_sinhl_compat.c: Likewise.
316         * math/w_sqrt_compat.c: Likewise.
317         * math/w_sqrtf_compat.c: Likewise.
318         * math/w_sqrtl_compat.c: Likewise.
319         * math/w_tgamma_compat.c: Likewise.
320         * math/w_tgammaf_compat.c: Likewise.
321         * math/w_tgammal_compat.c: Likewise.
323         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
324         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
325         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
326         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
327         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
328         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
329         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
330         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
331         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
332         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
333         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
334         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
335         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
336         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
337         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
338         * sysdeps/ia64/fpu/w_powl.c: Likewise.
339         * sysdeps/ia64/fpu/w_powf.c: Likewise.
340         * sysdeps/ia64/fpu/w_pow.c: Likewise.
341         * sysdeps/ia64/fpu/w_logl.c: Likewise.
342         * sysdeps/ia64/fpu/w_logf.c: Likewise.
343         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
344         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
345         * sysdeps/ia64/fpu/w_log2.c: Likewise.
346         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
347         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
348         * sysdeps/ia64/fpu/w_log10.c: Likewise.
349         * sysdeps/ia64/fpu/w_log.c: Likewise.
350         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
351         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
352         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
353         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
354         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
355         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
356         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
357         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
358         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
359         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
360         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
361         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
362         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
363         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
364         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
365         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
366         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
367         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
368         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
369         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
370         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
371         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
372         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
373         * sysdeps/ia64/fpu/w_asin.c: Likewise.
374         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
375         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
376         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
377         * sysdeps/ia64/fpu/w_acos.c: Likewise.
378         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
379         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
380         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
381         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
382         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
383         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
384         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
385         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
386         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
387         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
388         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
389         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
390         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
391         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
392         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
393         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
394         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
395         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
396         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
397         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
398         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
399         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
400         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
401         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
402         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
403         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
404         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
405         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
406         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
407         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
408         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
409         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
410         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
411         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
412         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
413         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
414         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
415         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
416         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
417         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
418         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
419         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
420         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
421         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
422         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
424         Likewise.
425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
426         Likewise.
427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
429         Likewise.
430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
431         Likewise.
432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
433         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
434         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
435         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
436         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
437         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
438         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
443         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
444         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
445         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
446         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
448         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
449         and adjusted for new #includes path
450         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
451         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
452         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
453         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
454         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
455         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
456         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
457         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
458         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
459         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
460         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
461         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
462         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
463         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
464         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
465         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
466         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
467         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
468         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
469         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
470         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
471         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
472         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
473         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
474         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
475         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
476         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
477         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
478         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
479         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
480         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
481         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
482         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
483         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
484         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
485         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
486         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
487         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
488         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
489         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
490         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
491         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
492         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
493         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
494         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
495         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
496         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
497         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
498         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
499         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
500         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
501         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
502         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
503         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
504         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
505         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
506         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
507         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
508         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
509         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
510         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
511         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
512         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
513         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
514         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
515         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
516         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
517         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
518         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
519         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
520         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
521         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
522         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
523         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
524         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
525         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
526         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
527         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
528         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
529         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
530         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
531         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
532         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
533         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
534         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
535         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
536         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
537         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
538         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
539         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
540         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
541         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
542         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
543         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
544         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
545         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
546         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
547         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
548         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
550         Likewise.
551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
552         Likewise.
553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
554         Likewise.
555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
556         Likewise.
557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
558         Likewise.
559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
560         Likewise.
561         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
562         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
563         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
564         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
565         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
566         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
568         Likewise.
569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
570         Likewise.
571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
572         Likewise.
573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
574         Likewise.
575         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
576         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
577         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
578         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
580 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
582         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
583         __jmp_buf_internal_tag.
585         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
586         preserve NaN payload if [__mips_nan2008].
587         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
589         [BZ #21022]
590         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
592 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
594         * sysdeps/i386/fpu/libm-test-ulps: Update.
596 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
598         * sysdeps/ia64/strcat.c: Remove file.
599         * sysdeps/powerpc/strcat.c: Likewise.
600         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
601         C implementation.
602         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
603         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
605 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
606             Steven Munroe  <sjmunroe@us.ibm.com>
607             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
609         [BZ #20822]
610         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
611         (__lll_lock_elision): Access adapt_count via C11 atomics.
612         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
613         (__lll_trylock_elision): Likewise.
614         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
615         (__lll_unlock_elision):  Update adapt_count variable inside the
616         critical section using C11 atomics.
618 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
620         * math/test-fenvinline.c (do_test): Disable tests of raised
621         exceptions if !EXCEPTION_TESTS (FLOAT).
623 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
625         [BZ #19390]
626         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
627         maximum string size.
628         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
629         in pointer addition.
630         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
631         Likewise.
633 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
635         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
636         passed to tst-ldconfig-X.sh.
638 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
640         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
642 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
644         [BZ #21019]
645         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
646         New syscall entry.
647         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
648         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
649         lseek.
651         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
652         power4 glibc for powerpc-linux-gnu.
654 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
656         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
657         semctl.
659 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
661         * math/test-nearbyint-except.c: Include <stdbool.h>.
662         (any_supported): New variable.
663         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
664         set any_supported.
665         (do_test): Return 77 if no floating-point type supported
666         exceptions.
668         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
669         condition on [__mips_hard_float].
671 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
673         [BZ #21014]
674         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
675         in pointer addition.
676         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
678 2017-01-02  Torvald Riegel  <triegel@redhat.com>
680         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
681         new condvar.
683 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
685         * scripts/build-many-glibcs.py (Context.checkout): Default
686         binutils version to 2.28 branch.
688 2017-01-01  Florian Weimer  <fweimer@redhat.com>
690         * support/support_format_netent.c (support_format_netent): Work
691         around alpha struct netent definition difference.
693 2017-01-01  Florian Weimer  <fweimer@redhat.com>
695         * support/xwrite.c (xwrite): Use %td for pointer difference.
697 2017-01-01  Florian Weimer  <fweimer@redhat.com>
699         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
700         have-tunables only.
701         (tests-static): Add tst-malloc-usable-static-tunables for
702         have-tunables only.
704 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
706         * scripts/config.guess: Update to version 2017-01-01.
707         * scripts/config.sub: Update to version 2017-01-01.
709         * NEWS: Update copyright dates.
710         * catgets/gencat.c (print_version): Likewise.
711         * csu/version.c (banner): Likewise.
712         * debug/catchsegv.sh: Likewise.
713         * debug/pcprofiledump.c (print_version): Likewise.
714         * debug/xtrace.sh (do_version): Likewise.
715         * elf/ldconfig.c (print_version): Likewise.
716         * elf/ldd.bash.in: Likewise.
717         * elf/pldd.c (print_version): Likewise.
718         * elf/sotruss.sh: Likewise.
719         * elf/sprof.c (print_version): Likewise.
720         * iconv/iconv_prog.c (print_version): Likewise.
721         * iconv/iconvconfig.c (print_version): Likewise.
722         * locale/programs/locale.c (print_version): Likewise.
723         * locale/programs/localedef.c (print_version): Likewise.
724         * login/programs/pt_chown.c (print_version): Likewise.
725         * malloc/memusage.sh (do_version): Likewise.
726         * malloc/memusagestat.c (print_version): Likewise.
727         * malloc/mtrace.pl: Likewise.
728         * manual/libc.texinfo: Likewise.
729         * nptl/version.c (banner): Likewise.
730         * nscd/nscd.c (print_version): Likewise.
731         * nss/getent.c (print_version): Likewise.
732         * nss/makedb.c (print_version): Likewise.
733         * posix/getconf.c (main): Likewise.
734         * scripts/test-installation.pl: Likewise.
735         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
737         * All files with FSF copyright notices: Update copyright dates
738         using scripts/update-copyrights.
739         * intl/plural.c: Regenerated.
740         * locale/programs/charmap-kw.h: Likewise.
741         * locale/programs/locfile-kw.h: Likewise.
743 2016-12-31  Florian Weimer  <fweimer@redhat.com>
745         [BZ #20593]
746         Update DNS RR type definitions.
747         * scripts/gen-rrtypes.py: New file.
748         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
749         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
750         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
751         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
752         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
753         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
754         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
755         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
756         ns_t_ta, ns_t_dlv.
757         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
758         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
759         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
760         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
761         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
762         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
763         Define.
764         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
765         entry for ns_t_zxfr.
767 2016-12-31  Florian Weimer  <fweimer@redhat.com>
769         [BZ #18784]
770         CVE-2015-5180
771         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
772         T_UNSPEC.  Adjust value.
773         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
774         * resolv/res_query.c (__libc_res_nquery): Likewise.
775         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
776         QTYPEs.
777         * resolv/tst-resolv-qtypes.c: New file.
778         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
779         (tst-resolv-qtypes): Link against libresolv and libpthread.
781 2016-12-31  Florian Weimer  <fweimer@redhat.com>
783         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
785 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
787         * manual/tunables.texi: New chapter.
788         * manual/Makefile (chapters): Add it.
789         * manual/probes.texi (@node): Point to the Tunables chapter.
791         * Makeconfig (have-tunables): Check for non-negative instead
792         of positive.
793         * configure.ac: Add 'valstring' as a valid value for
794         --enable-tunables.
795         * configure: Regenerate.
796         * elf/Makefile (have-tunables): Check for non-negative instead
797         of positive.
798         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
799         dl-tunables.c.
800         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
801         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
802         (tunables_strdup): Likewise.
803         (disable_tunables): Likewise.
804         (parse_tunables): Likewise.
805         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
806         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
807         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
808         (TUNABLES_FRONTEND_yes): New macro, define as
809         TUNABLES_FRONTEND_valstring by default.
810         * manual/install.texi: Document new acceptable values for
811         --enable-tunables.
812         * INSTALL: Regenerate.
814         * config.make.in (have-loop-to-function): Define.
815         * elf/Makefile (CFLAGS-dl-tunables.c): Add
816         -fno-tree-loop-distribute-patterns.
817         * elf/dl-tunables.c: Include libc-internals.h.
818         (GLIBC_TUNABLES): New macro.
819         (tunables_strdup): New function.
820         (parse_tunables): New function.
821         (min_strlen): New function.
822         (__tunables_init): Use the new functions and macro.
823         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
824         * malloc/tst-malloc-usable-tunables.c: New test case.
825         * malloc/tst-malloc-usable-static-tunables.c: New test case.
826         * malloc/Makefile (tests, tests-static): Add tests.
828         * manual/install.texi: Add --enable-tunables option.
829         * INSTALL: Regenerate.
830         * README.tunables: New file.
831         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
832         (before-compile): Generate dl-tunable-list.h early.
833         * config.h.in: Add HAVE_TUNABLES.
834         * config.make.in: Add have-tunables.
835         * configure.ac: Add --enable-tunables option.
836         * configure: Regenerate.
837         * csu/init-first.c (__libc_init_first): Move
838         __libc_init_secure earlier...
839         * csu/init-first.c (LIBC_START_MAIN):... to here.
840         Include dl-tunables.h, libc-internal.h.
841         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
842         binaries.
843         * elf/Makefile (dl-routines): Add dl-tunables.
844         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
845         namespace.
846         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
847         only when !HAVE_TUNABLES.
848         * elf/rtld.c (process_envvars): Likewise.
849         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
850         (_dl_sysdep_start): Call __tunables_init.
851         * elf/dl-tunable-types.h: New file.
852         * elf/dl-tunables.c: New file.
853         * elf/dl-tunables.h: New file.
854         * elf/dl-tunables.list: New file.
855         * malloc/tst-malloc-usable-static.c: New test case.
856         * malloc/Makefile (tests-static): Add it.
857         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
858         Define TUNABLE_NAMESPACE.
859         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
860         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
861         callback functions.
862         (ptmalloc_init): Set tunable values.
863         * scripts/gen-tunables.awk: New file.
864         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
865         (_dl_sysdep_start): Call __tunables_init.
867 2016-12-31  Florian Weimer  <fweimer@redhat.com>
869         * resolv/resolv.h (RES_BLAST): Deprecate.
870         * resolv/res_debug.c (p_option): Remove RES_BLAST.
871         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
872         to RES_BLAST.
874 2016-12-27  Florian Weimer  <fweimer@redhat.com>
876         [BZ #19582]
877         Deprecate RES_USE_INET6.
878         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
879         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
880         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
881         RES_USE_INET6.
882         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
883         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
884         (_nss_nisplus_gethostbyaddr_r): Likewise.
885         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
886         of res_use_inet6.
887         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
888         instead of RES_USE_INET6.
889         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
890         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
891         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
892         Likewise.
893         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
894         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
895         Likewise.
896         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
897         (_nss_dns_gethostbyname_r): Likewise.
898         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
899         alternate RES_USE_INET6 handling.
900         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
901         instead of RES_USE_INET6.
902         * resolv/res_init.c (res_setoptions): Likewise.
903         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
904         * resolv/resolv-internal.h: New file.
905         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
906         make the deprecation warning non-fatal.
907         * resolv/README (Using the resolver in multi-threaded code): Drop
908         reference to RES_USE_INET6.
909         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
910         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
912 2016-12-31  Florian Weimer  <fweimer@redhat.com>
914         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
915         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
916         tst-resolv-search.
917         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
918         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
919         with libresolv and libpthread.
920         * resolv/tst-bug18665.c: New file.
921         * resolv/tst-bug18665-tcp: Likewise.
922         * resolv/tst-res_use_inet6: Likewise.
923         * resolv/tst-resolv-basic: Likewise.
924         * resolv/tst-resolv-network: Likewise.
925         * resolv/tst-resolv-search: Likewise.
926         * support/Makefile (libsupport-routines): Add check_addrinfo,
927         check_dns_packet, check_hostent, check_netent, resolv_test,
928         support_format_address_family, support_format_addrinfo,
929         support_format_dns_packet, support_format_herrno,
930         support_format_hostent, support_format_netent, support_run_diff,
931         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
932         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
933         xstrdup, xwrite.
934         * support/check_addrinfo.c: New file.
935         * support/check_dns_packet.c: Likewise.
936         * support/check_hostent.c: Likewise.
937         * support/check_netent.c: Likewise.
938         * support/check_nss.h: Likewise.
939         * support/format_nss.h: Likewise.
940         * support/resolv_test.c: Likewise.
941         * support/resolv_test.h: Likewise.
942         * support/run_diff.h: Likewise.
943         * support/support_format_address_family.c: Likewise.
944         * support/support_format_addrinfo.c: Likewise.
945         * support/support_format_dns_packet.c: Likewise.
946         * support/support_format_herrno.c: Likewise.
947         * support/support_format_hostent.c: Likewise.
948         * support/support_format_netent.c: Likewise.
949         * support/support_run_diff.c: Likewise.
950         * support/xaccept.c: Likewise.
951         * support/xbind.c: Likewise.
952         * support/xconnect.c: Likewise.
953         * support/xfclose.c: Likewise.
954         * support/xfopen.c: Likewise.
955         * support/xgetsockname.c: Likewise.
956         * support/xlisten.c: Likewise.
957         * support/xmemstream.c: Likewise.
958         * support/xmemstream.h: Likewise.
959         * support/xpoll.c: Likewise.
960         * support/xpthread_once.c: Likewise.
961         * support/xrecvfrom.c: Likewise.
962         * support/xsendto.c: Likewise.
963         * support/xsetsockopt.c: Likewise.
964         * support/xstdio.h: Likewise.
965         * support/xstrdup.c: Likewise.
966         * support/support.h (xstrdup): Declare.
967         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
968         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
969         * support/xthread.h (xpthread_once): Likwise.
970         * support/xunistd.h (xwrite): Declare.
972 2016-12-31  Florian Weimer  <fweimer@redhat.com>
974         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
975         (test_verbose): Declare.
976         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
977         * support/support_test_main.c (default_options): Likewise.
978         (usage, support_test_main): Handle 'v'.
979         (test_verbose): Define.
980         * support/tst-support_record_failure.c (do_test): Use
981         test_verbose.
982         * support/tst-support_record_failure-2.sh (different_status): Add
983         --verbose test.
985 2016-12-31  Florian Weimer  <fweimer@redhat.com>
987         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
988         test failures are recorded.
989         * support/check.c (support_print_failure_impl): Call
990         support_record_failure.
991         (support_exit_failure_impl): Call support_record_failure if status
992         indicates failure.
993         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
994         * support/xasprintf.c (xasprintf): Likewise.
995         * support/xfork.c (xfork): Likewise.
996         * support/xpthread_check_return.c (xpthread_check_return):
997         Likewise.
998         * support/xsocket.c (xsocket): Likeweise.
999         * support/xwaitpid.c (xwaitpid): Likewise.
1000         * support/support_record_failure.c (struct test_failures): Adjust
1001         to coding style.
1002         * support/support_test_verify_impl.c (support_test_verify_impl):
1003         Adjust error messages.
1004         * support/tst-support_record_failure-2.sh (different_status):
1005         Adjust error messages.
1007 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1009         * support/namespace.h: New file.
1010         * support/support_become_root.c: Likewise.
1011         * support/support_enter_network_namespace.c: Likewise.
1012         * support/tst-support-namespace.c: Likewise.
1013         * support/xsocket.c: Likewise.
1014         * support/xsocket.h: Likewise.
1015         * support/Makefile (libsupport-routines): Add support_become_root,
1016         support_enter_network_namespace, xsocket.
1017         (tests): Add tst-support-namespace.
1019 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1021         [BZ #17252]
1022         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
1023         __USE_GNU.
1025 2016-12-31  Torvald Riegel  <triegel@redhat.com>
1027         [BZ #13165]
1028         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1029         use new algorithm.
1030         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1031         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1032         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1033         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1034         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1035         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1036         __condvar_cleanup_waiting, __condvar_dec_grefs,
1037         __pthread_cond_wait_common): New.
1038         (__condvar_cleanup): Remove.
1039         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1040         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1041         Likewise.
1042         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1043         Likewise.
1044         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1045         * nptl/tst-cond1.c: Add comment.
1046         * nptl/tst-cond20.c (do_test): Adapt.
1047         * nptl/tst-cond22.c (do_test): Likewise.
1048         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1049         structure.
1050         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1051         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1052         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1053         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1054         Likewise.
1055         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1056         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1057         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1058         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1059         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1060         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1061         Likewise.
1062         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1063         Likewise.
1064         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1065         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1066         (COND_CLOCK_BITS): Adapt.
1067         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1068         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1069         __PTHREAD_COND_SHARED_MASK): New.
1070         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1071         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1072         * nptl/nptl_lock_constants.pysym: Adapt.
1073         * nptl/test-cond-printers.py: Adapt.
1074         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1075         cond_compat_check_and_clear): Adapt.
1076         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1077         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1078         (__pthread_cond_timedwait): ... and move here.
1079         * nptl/DESIGN-condvar.txt: Remove file.
1080         * nptl/lowlevelcond.sym: Likewise.
1081         * nptl/pthread_cond_timedwait.c: Likewise.
1082         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1083         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1084         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1085         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1086         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1087         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1088         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1089         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1090         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1091         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1092         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1093         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1094         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1095         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1096         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1097         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1099 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
1101         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1102         (fromfp): New declaration.
1103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1105         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1106         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1108         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1110         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1111         * math/math.h: Include <bits/types.h>.
1112         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1113         constant and macro.
1114         (FP_INT_DOWNWARD): Likewise.
1115         (FP_INT_TOWARDZERO): Likewise.
1116         (FP_INT_TONEARESTFROMZERO): Likewise.
1117         (FP_INT_TONEAREST): Likewise.
1118         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1119         (fromfpf): Likewise.
1120         (fromfpl): Likewise.
1121         (ufromfp): Likewise.
1122         (ufromfpf): Likewise.
1123         (ufromfpl): Likewise.
1124         (fromfpx): Likewise.
1125         (fromfpxf): Likewise.
1126         (fromfpxl): Likewise.
1127         (ufromfpx): Likewise.
1128         (ufromfpxf): Likewise.
1129         (ufromfpxl): Likewise.
1130         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1131         s_fromfpxF and s_ufromfpxF.
1132         * math/gen-fromfp-tests.py: New file.
1133         * math/gen-fromfp-tests-inputs: Likewise.
1134         * math/libm-test.inc: Include <stdint.h>
1135         (check_intmax_t): New function.
1136         (check_uintmax_t): Likewise.
1137         (struct test_fiu_M_data): New type.
1138         (struct test_fiu_U_data): Likewise.
1139         (RUN_TEST_fiu_M): New macro.
1140         (RUN_TEST_LOOP_fiu_M): Likewise.
1141         (RUN_TEST_fiu_U): Likewise.
1142         (RUN_TEST_LOOP_fiu_U): Likewise.
1143         (fromfp_test_data): New array.
1144         (fromfp_test): New function.
1145         (fromfpx_test_data): New array.
1146         (fromfpx_test): New function.
1147         (ufromfp_test_data): New array.
1148         (ufromfp_test): New function.
1149         (ufromfpx_test_data): New array.
1150         (ufromfpx_test): New function.
1151         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1152         ufromfpx_test.
1153         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1154         characters.
1155         * math/test-tgmath-ret.c: Include <stdint.h>.
1156         (rm): New variable.
1157         (width): Likewise.
1158         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1159         called function.
1160         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1161         CHECK_RET_CONST_TYPE.
1162         (CHECK_RET_CONST_DOUBLE): Likewise.
1163         (CHECK_RET_CONST_LDOUBLE): Likewise.
1164         (CHECK_RET_CONST): Take extra arguments and pass them to calls
1165         macros.
1166         (fromfp): New CHECK_RET_CONST call.
1167         (ufromfp): Likewise.
1168         (fromfpx): Likewise.
1169         (ufromfpx): Likewise.
1170         (do_test): Call check_return_fromfp, check_return_ufromfp,
1171         check_return_fromfpx and check_return_ufromfpx.
1172         * math/test-tgmath.c: Include <stdint.h>
1173         (NCALLS): Increase to 138.
1174         (F(compile_test)): Initialize i.  Call fromfp functions.
1175         (F(fromfp)): New function.
1176         (F(fromfpx)): Likewise.
1177         (F(ufromfp)): Likewise.
1178         (F(ufromfpx)): Likewise.
1179         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1180         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1181         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1182         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1183         ufromfpxl.
1184         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1185         ufromfp and ufromfpx.
1186         * math/fromfp.h: New file.
1187         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1188         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1189         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1190         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1191         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1192         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1193         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1194         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1195         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1196         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1197         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1198         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1199         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1200         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1201         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1202         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1203         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1204         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1205         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1206         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1207         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1208         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1209         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1210         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1211         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1212         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1213         ufromfp, fromfpx and ufromfpx.
1214         (CFLAGS-nldbl-fromfp.c): New variable.
1215         (CFLAGS-nldbl-fromfpx.c): Likewise.
1216         (CFLAGS-nldbl-ufromfp.c): Likewise.
1217         (CFLAGS-nldbl-ufromfpx.c): Likewise.
1218         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1219         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1220         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1221         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1222         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1223         * sysdeps/nacl/libm.abilist: Update.
1224         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1225         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1226         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1227         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1228         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1229         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1230         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1231         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1232         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1233         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1234         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1235         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1237         Likewise.
1238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1239         Likewise.
1240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1241         Likewise.
1242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1243         Likewise.
1244         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1245         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1246         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1247         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1248         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1250         Likewise.
1251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1252         Likewise.
1253         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1254         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1255         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1257 2016-12-30  Florian Weimer  <fweimer@redhat.com>
1259         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1260         compat-gethnamaddr.
1261         (CPPFLAGS): Remove.
1262         * resolv/gethnamaddr.c: Rename ...
1263         * resolv/compat-gethnamaddr.c: ... to this file.
1264         (_endhtent): Make static.
1265         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
1266         symbol.
1267         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
1268         compat symbol.
1269         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
1270         symbol.
1271         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1272         Turn into compat symbol.
1273         * include/resolv.h (_endhtent): Remove declaration.
1275 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
1277         * bits/types.h (__intmax_t): New typedef.
1278         (__uintmax_t): Likewise.
1279         * sysdeps/generic/stdint.h: Include <bits/types.h>.
1280         (intmax_t): Define using __intmax_t.
1281         (uintmax_t): Define using __uintmax_t.
1283         * support/Makefile (tests-special): Make definition conditional on
1284         [$(run-built-tests) = yes].
1285         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1286         on [$(run-built-tests) = yes].
1288 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1290         * Rules (tests): Add tests-printers-programs to tests to be
1291         built.
1293 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1295         * sysvipc/Makefile (tests): Add test-sysvshm.
1296         * sysvipc/test-sysvshm.c: New file.
1298         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1299         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1300         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1301         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1302         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1303         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1304         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1305         Likewise.
1306         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1307         Likewise.
1308         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1309         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1310         is defined.
1312         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1313         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1314         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1315         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1316         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1317         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1318         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1319         Likewise.
1320         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1321         Likewise.
1322         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1323         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1324         defined.
1326         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1327         oldshmctl.
1328         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1329         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1330         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1331         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1332         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1333         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1334         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1335         Likewise.
1336         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1337         Likewise.
1338         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1339         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1340         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1341         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1342         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1343         implementation.
1344         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1345         if it is defined.
1347         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1348         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1349         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1350         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1351         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1352         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1353         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1354         Likewise.
1355         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1356         Likewise.
1357         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1358         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1359         Define to __NR_osf_shmat.
1360         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1361         defined.
1363         * sysvipc/Makefile (tests): Add test-sysvsem.
1364         * sysvipc/test-sysvsem.c: New file.
1366         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1367         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1368         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1369         Likewise.
1370         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1371         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1372         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1373         Likewise.
1374         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1375         Likewise.
1376         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1377         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1378         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1379         add a comment about s390 syscall difference from default one.
1380         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1381         syscall if it is defined.
1383         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1384         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1385         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1386         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1387         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1388         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1389         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1390         Likewise.
1391         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1392         Likewise.
1393         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1394         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1395         defined.
1397         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1398         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1399         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1400         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1401         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1402         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1403         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1404         Likewise.
1405         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1406         Likewise.
1407         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1408         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1409         if it is defined.
1411         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1412         oldsemctl.
1413         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1414         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1415         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1416         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1417         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1418         implementation.
1419         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1420         syscall if it is defined.
1421         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1422         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1423         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1424         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1425         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1426         Likewise.
1427         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1429         * sysvipc/Makefile (tests): Add test-sysvmsg.
1430         * sysvipc/test-sysvmsg.c: New file.
1431         * support/check.h (FAIL_UNSUPPORTED): New define.
1433         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1434         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1435         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1436         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1437         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1438         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1439         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1440         Likewise.
1441         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1442         Likewise.
1443         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1444         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1445         define.
1447         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1448         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1449         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1450         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1451         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1452         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1453         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1454         Likewise.
1455         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1456         Likewise.
1457         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1458         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1459         if defined.
1461         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1462         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1463         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1464         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1465         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1466         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1467         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1468         Likewise.
1469         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1470         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1471         Likewise.
1472         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1473         if defined.
1474         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1476         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1477         oldmsgctl.
1478         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1479         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1480         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1481         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1482         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1483         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1484         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1485         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1486         Likewise.
1487         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1488         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1489         implementation.
1490         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1491         if defined.
1493         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1494         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1495         definition and define its own.
1496         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1497         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1498         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1499         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1500         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1501         definitions to common header.
1502         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1503         operation from ipc_ops.h.
1505         * sysdeps/unix/sysv/linux/kernel-features.h
1506         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1507         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1508         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1509         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1510         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1511         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1512         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1513         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1514         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1515         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1516         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1517         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1518         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1519         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1520         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1522 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1524         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1525         overflow in pointer addition.
1527 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1529         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1530         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1532         (strchr): Add __strchr_power8 to list of strchr functions.
1533         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1534         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1535         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1536         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1537         (strchr): Add __strchr_power8 to ifunc list.
1538         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1539         (__strchrnul): Add __strchrnul_power8 to ifunc list.
1540         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
1541         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
1543 2016-12-28  Florian Weimer  <fweimer@redhat.com>
1545         * support/Makefile (libsupport-routines): Add
1546         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
1547         (tests): Add tst-support_record_failure.
1548         (tests-special): tst-support_record_failure-2.
1549         (tst-support_record_failure-2.out): Depend on
1550         tst-support_record_failure-2.sh and tst-support_record_failure.
1551         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
1552         (support_test_verify_impl, support_record_failure)
1553         (support_report_failure, support_report_failure_reset): Declare.
1554         * support/support_test_main.c (adjust_exit_status): New function.
1555         (support_test_main): Call it to incorporate record test failures.
1556         * support/support_test_verify_impl.c: New file.
1557         * support/support_record_failure.c: Likewise.
1558         * support/tst-support_record_failure.c: Likewise.
1559         * support/tst-support_record_failure-2.sh: Likewise.
1560         * support/xunistd.h: Likewise.
1561         * support/xfork.c: Likewise.
1562         * support/xwaitpid.c: Likewise.
1564 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
1566         * scripts/check-c++-types.sh: Add comments.
1568 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
1570         [BZ #19514]
1571         * resolv/res_send.c: Fix typo in comment.
1572         * sysdeps/i386/i386-mcount.S: Likewise.
1573         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1574         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1575         * sysdeps/sparc/sparc-mcount.S: Likewise.
1577 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1579         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1580         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1581         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1582         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1583         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1584         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1585         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1586         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1588 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1590         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1592 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1594         [BZ #17252]
1595         * posix/unistd.h (getentropy): Declare.
1597 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1599         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1600         Remove.
1601         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1602         (cmd): Remove spoof, nospoof, spoofalert.
1603         (parse_line): Ignore spoof-related lines.
1604         (do_init): Do not process RESOLV_SPOOF_CHECK.
1606 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1608         [BZ #20964]
1609         sunrpc: Always obtain AF_INET addresses from NSS.
1610         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1611         * sunrpc/rpc_gethostbyname.c: New file.
1612         * sunrpc/Makefile (routines): Add it.
1613         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1614         * sunrpc/clnt_simp.c (callrpc): Likewise.
1615         * sunrpc/getrpcport.c (getrpcport): Likewise.
1617 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1619         * sunrpc/rpcinfo.c: Remove.
1620         * sunrpc/Makefile: Remove comments referring to rpcinfo.
1622 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1624         [BZ# 19387]
1625         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1626         addition.
1627         * string/test-memchr.c (do_test): Remove alignment limitation.
1628         (test_main): Add test that trigger BZ# 19387.
1630 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1632         [BZ #7065]
1633         Enable stack protectore if requested by ./configure.
1634         * Makeconfig (+stack-protector): New variable.
1635         (+cflags): Use it.
1637 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1639         [BZ #7065]
1640         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1641         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1642         (__rt_sigreturn_stub): Use inhibit_stack_protector.
1643         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1644         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1646 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1648         [BZ #7065]
1649         * login/Makefile (pt_chown-cflags): Remove.
1650         * nscd/Makefile (CFLAGS-nscd): Likewise.
1651         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1653 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1655         [BZ #7065]
1656         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1657         non-libc-linking testcase.
1659 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1660             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1661             Florian Weimer  <fweimer@redhat.com>
1663         [BZ #7065]
1664         PLT avoidance for __stack_chk_fail*.
1665         * debug/Makefile (CFLAGS-stack_chk_fail.c)
1666         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1667         * debug/stack_chk_fail.c (__stack_chk_fail): Add
1668         __stack_chk_fail_local alias.
1669         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1670         (__stack_chk_fail): Turn into hidden reference to
1671         __stack_chk_fail_local.
1673 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1675         [BZ #7065]
1676         * configure.ac: Add check for unsupported stack-protection level.
1677         (libc_cv_predef_stack_protector): Remove.
1678         (no_ssp): New variable.
1679         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1680         (stack_protector): Set to -fno-stack-protector similarly.
1681         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1682         (libc_cv_asm_set_directive): Likewise.
1683         (libc_cv_protected_data): Likewise.
1684         (libc_cv_z_combreloc): Likewise.
1685         (libc_cv_hashstyle): Likewise.
1686         (libc_cv_has_glob_dat): Likewise.
1687         (libc_cv_output_format): Likewise.
1688         (libc_cv_output_format): Likewise.
1689         (libc_cv_ehdr_start): Likewise.
1690         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1691         (LIBC_LINKER_FEATURE): Likewise.
1692         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1694 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1696         [BZ #7065]
1697         * elf/Makefile (dummy-stack-chk-fail): New.
1698         (librtld.map): Use it.
1700 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1702         [BZ #7065]
1703         Compile the dynamic linker without stack protection.
1704         * elf/Makefile (elide-stack-protector): New.
1705         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1706         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1707         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1708         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1710 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1712         [BZ #7065]
1713         * config.make.in (have-ssp, no-stack-protector): New.
1714         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1715         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1716         (CFLAGS-sbrk.op): Likewise.
1717         (CFLAGS-brk.o): Likewise.
1718         (CFLAGS-brk.op): Likewise.
1719         * string/Makefile (CFLAGS-memcpy.c): Likewise.
1720         (CFLAGS-wordcopy.c): Likewise.
1722 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1724         [BZ #7065]
1725         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1726         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1727         * include/libc-symbols.h (inhibit_stack_protector): New macro.
1728         (__ifunc_resolver): Use it.
1729         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1730         inhibit_stack_protector.
1731         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1732         * elf/ifuncmain7.c (foo_ifunc): Likewise.
1733         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1734         (foo_protected_ifunc): Likewise.
1735         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1736         (foo_protected_ifunc): Likewise.
1737         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1738         * sysdeps/nacl/nacl_interface_query.c
1739         (nacl_interface_query_ifunc): Likewise.
1740         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1741         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1742         Likewise.
1743         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1744         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1745         the generated vDSO syscall resolver.
1747 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1748             Florian Weimer  <fweimer@redhat.com>
1750         [BZ #7065]
1751         Initialize the stack guard earlier when linking statically.
1752         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1753         (__pthread_initialize_minimal): Declare.
1754         * csu/libc-start.c (__pthread_initialize_minimal): Remove
1755         declaration.
1756         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
1757         stack canary and apply_irel initialization up.  Call
1758         __pthread_initialize_minimal only if linked in.
1759         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1760         constant values.
1761         (__pthread_initialize_minimal): Remove.
1762         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1763         (__pthread_initialize_minimal_internal): Do not call
1764         __libc_setup_tls.
1766 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1768         [BZ #7065]
1769         * configure.ac (libc_cv_ssp): Move up.
1770         (libc_cv_ssp_strong): Likewise.
1771         (libc_cv_ssp_all): New.
1772         (stack_protector): Augment, adding -fstack-protector-all.
1773         (no_stack_protector): New.
1774         (STACK_PROTECTOR_LEVEL): New.
1775         (AC_ARG_ENABLE(stack-protector)): New configure flag.
1776         * manual/install.texi (--enable-stack-protector): Document it.
1777         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1779 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
1781         * README.pretty-printers: Must specify CPPFLAGS-* also.
1782         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1783         (CPPFLAGS-test-mutex-printers.c): Define.
1784         (CPPFLAGS-test-condattr-printers.c): Define.
1785         (CPPFLAGS-test-cond-printers.c): Define.
1786         (CPPFLAGS-test-rwlockattr-printers.c): Define.
1787         (CPPFLAGS-test-rwlock-printers.c): Define.
1789         * nss/Makefile [ifeq (yes,$(have-thread-library))]
1790         (tests): Add tst-cancel-getpwuid_r.
1791         * nss/tst-cancel-getpwuid_r.c: New file.
1793         [BZ #11941]
1794         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1795         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1796         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1797         tst-nodelete-dlclose.
1798         (modules-names): Add tst-nodelete-dlclose-dso and
1799         tst-nodelete-dlclose-plugin.
1800         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1801         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1802         ($(objpfx)tst-nodelete-dlclose): Define.
1803         ($(objpfx)tst-nodelete-dlclose.out): Define.
1805 2016-12-23  Florian Weimer  <fweimer@redhat.com>
1807         * scripts/test_printers_common.py: Log GDB output in case of
1808         Python detection failure.
1810 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1812         * configure.ac: Check for python3 or python.
1813         * configure: Regenerated.
1814         * config.make.in (PYTHON): New variable.
1815         * benchtests/Makefile: Don't define PYTHON.
1816         (bench): Define target only if PYTHON was defined.
1817         * Rules: Don't define PYTHON.
1818         Define pretty printer targets only if PYTHON was defined.
1819         (tests-printers): Add to tests-unsupported if PYTHON is not
1820         found.
1821         (python-flags, python-invoke): Remove.
1822         (tests-printers-out): Use PYTHON instead of python-invoke.
1824 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1826         [BZ #20978]
1827         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1828         Compare name == NULL, not name != NULL.
1830         * manual/texinfo.tex: Update to version 2016-09-18.18 with
1831         trailing whitespace removed.
1832         * scripts/config.guess: Update to version 2016-10-02.
1833         * scripts/config.sub: Update to version 2016-11-19.
1834         * scripts/install-sh: Update to version 2016-01-11.22.
1835         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1836         * scripts/move-if-change: Update to version 2016-01-11 22:04.
1838 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
1840         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1841         (do_one_test) Restore original string so iteration works.
1842         * string/string-inlines.c (do_test): Create better input strings.
1843         (test_main) Reduce number of testruns.
1844         * string/string-inlines.c (__old_strsep_1c): New function.
1845         (__old_strsep_2c): Likewise.
1846         (__old_strsep_3c): Likewise.
1847         * string/strsep.c (__strsep): Remove case of small delim string.
1848         Call strcspn directly rather than strpbrk.
1849         * string/bits/string2.h (__strsep): Remove define.
1850         (__strsep_1c): Remove.
1851         (__strsep_2c): Remove.
1852         (__strsep_3c): Remove.
1853         (strsep): Remove.
1854         * sysdeps/unix/sysv/linux/internal_statvfs.c
1855         (__statvfs_getflags): Rename to __strsep.
1857 2016-12-21  Florian Weimer  <fweimer@redhat.com>
1859         * csu/libc-tls.c (_dl_tls_setup): Remove.
1860         * elf/dl-tls.c (_dl_tls_setup): Likewise.
1861         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1862         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1864 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1866         [BZ #7065]
1867         * sysdeps/x86_64/Makefile [$(subdir) = elf]
1868         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1870 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1871             Florian Weimer  <fweimer@redhat.com>
1873         [BZ #7065]
1874         * csu/Makefile (tests): Empty assignment and document it.
1875         (tests-static): Remove.
1876         * csu/tst-empty.c: Move to...
1877         * misc/tst-empty.c: ... here.  Switch to new test driver.
1878         * csu/tst-atomic.c: Move to...
1879         * misc/tst-atomic.c: ... here.  Switch to new test driver.
1880         * csu/tst-atomic-long.c: Move to...
1881         * misc/tst-atomic-long.c: ... here.
1882         * misc/Makefile (tests): Add tst-empty, tst-atomic,
1883         tst-atomic-long.
1884         (tests-static): Add tst-empty.
1886 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
1888         * manual/nss.texi: Change incorrect @vtable to @table.
1889         * manual/arith.texi: Convert @tables of variables to @vtables
1890         and remove unnecessary indexing.
1891         * manual/filesys.texi: Likewise.
1892         * manual/llio.texi: Likewise.
1893         * manual/memory.texi: Likewise.
1894         * manual/process.texi: Likewise.
1895         * manual/resource.texi: Likewise.
1896         * manual/search.texi: Likewise.
1897         * manual/signal.texi: Likewise.
1898         * manual/socket.texi: Likewise.
1899         * manual/stdio.texi: Likewise.
1900         * manual/sysinfo.texi: Likewise.
1901         * manual/syslog.texi: Likewise.
1902         * manual/terminal.texi: Likewise.
1903         * manual/time.texi: Likewise.
1904         * manual/users.texi: Likewise.
1906 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1908         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1909         (roundeven): New declaration.
1910         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1911         macro.
1912         * math/Versions (roundeven): New libm symbol at version
1913         GLIBC_2.25.
1914         (roundevenf): Likewise.
1915         (roundevenl): Likewise.
1916         * math/Makefile (libm-calls): Add s_roundevenF.
1917         * math/libm-test.inc (roundeven_test_data): New array.
1918         (roundeven_test): New function.
1919         (main): Call roundeven_test.
1920         * math/test-tgmath.c (NCALLS): Increase to 134.
1921         (F(compile_test)): Call roundeven.
1922         (F(roundeven)): New function.
1923         * manual/arith.texi (Rounding Functions): Document roundeven,
1924         roundevenf and roundevenl.
1925         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1926         * include/math.h (roundeven): Use libm_hidden_proto.
1927         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1928         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1929         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1930         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1931         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1932         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1933         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1934         roundeven.
1935         (CFLAGS-nldbl-roundeven.c): New variable.
1936         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1937         * sysdeps/nacl/libm.abilist: Update.
1938         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1939         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1940         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1941         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1942         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1943         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1944         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1945         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1946         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1947         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1948         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1949         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1951         Likewise.
1952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1953         Likewise.
1954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1955         Likewise.
1956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1957         Likewise.
1958         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1959         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1960         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1961         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1962         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1964         Likewise.
1965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1966         Likewise.
1967         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1968         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1969         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1971 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1973         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1974         preprocessor indentation inside #if.
1976 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1978         * math/libm-test.inc (fmt_ftostr): New function.
1979         (print_float, check_float_internal): Replace some uses of
1980         FTOSTR with uses of fmt_ftostr.
1981         (print_max_error, print_complex_max_error, print_function_ulps)
1982         (print_complex_function_ulps): Remove uses of the macros
1983         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1984         * math/test-double.h (FTOSTR): Define to strfromd.
1985         (PRINTF_EXPR): Delete.
1986         (PRINTF_XEXPR): Likewise.
1987         (PRINTF_NEXPR): Likewise.
1988         * math/test-float.h (FTOSTR): Define to strfromf.
1989         (PRINTF_EXPR): Delete.
1990         (PRINTF_XEXPR): Likewise.
1991         (PRINTF_NEXPR): Likewise.
1992         * math/test-ldouble.h (FTOSTR): Define to strfroml.
1993         (PRINTF_EXPR): Delete.
1994         (PRINTF_XEXPR): Likewise.
1995         (PRINTF_NEXPR): Likewise.
1997 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1999         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2000         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
2001         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2002         (__lll_lock_elision): Decrement adapt_count while unlocking
2003         instead of before locking.
2004         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2005         (__lll_trylock_elision): Likewise.
2006         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
2007         (__lll_unlock_elision): Likewise.
2009 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2011         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
2012         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
2013         Use __libc_tbegin_retry macro.
2015 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2017         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
2018         Add -msoft-float.
2019         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
2020         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2021         Use __libc_t* transaction macros instead of __builtin_t*.
2022         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2023         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2025 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2027         * sysdeps/unix/sysv/linux/s390/elision-lock.c
2028         (__lll_lock_elision): Use atomics to load / store adapt_count.
2029         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2030         (__lll_trylock_elision): Likewise.
2032 2016-12-20  Florian Weimer  <fweimer@redhat.com>
2034         Do not require memset elimination in explicit_bzero test.
2035         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2036         (enum test_expectation): Add NO_EXPECTATIONS.
2037         (subtests): NO_EXPECTATIONS for ordinary clear.
2038         (check_test_buffer): Handle NO_EXPECTATIONS.
2039         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2041 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
2043         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2044         (fmaxmag): New declaration.
2045         (fminmag): Likewise.
2046         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2047         macro.
2048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2049         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2050         (fmaxmagf): Likewise.
2051         (fmaxmagl): Likewise.
2052         (fminmag): Likewise.
2053         (fminmagf): Likewise.
2054         (fminmagl): Likewise.
2055         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2056         * math/s_fmaxmag_template.c: New file.
2057         * math/s_fminmag_template.c: Likewise.
2058         * math/libm-test.inc (fmaxmag_test_data): New array.
2059         (fmaxmag_test): New function.
2060         (fminmag_test_data): New array.
2061         (fminmag_test): New function.
2062         (main): Call fmaxmag_test and fminmag_test.
2063         * math/test-tgmath.c (NCALLS): Increase to 132.
2064         (F(compile_test)): Call fmaxmag and fminmag.
2065         (F(fminmag)): New function.
2066         (F(fmaxmag)): Likewise.
2067         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2068         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2069         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2070         fminmag.
2071         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2072         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2073         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2074         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2075         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2076         and fminmag.
2077         (CFLAGS-nldbl-fmaxmag.c): New variable.
2078         (CFLAGS-nldbl-fminmag.c): Likewise.
2079         * sysdeps/nacl/libm.abilist: Update.
2080         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2081         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2082         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2083         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2084         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2085         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2086         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2087         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2088         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2089         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2090         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2091         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2093         Likewise.
2094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2095         Likewise.
2096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2097         Likewise.
2098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2099         Likewise.
2100         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2101         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2102         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2103         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2104         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2106         Likewise.
2107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2108         Likewise.
2109         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2110         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2111         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2113 2016-12-19  Torvald Riegel  <triegel@redhat.com>
2115         [BZ #20973]
2116         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2117         wake-up in robust mutexes.
2118         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2120 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2122         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2123         (CFLAGS-bench-fmaxf.c): New rule.
2124         (CFLAGS-bench-fminf.c): Likewise.
2125         * benchtests/fmaxf-inputs: New file.
2126         * benchtests/fminf-inputs: Likewise.
2128         * benchtests/Makefile (bench-math): Add fmin and fmax.
2129         (CFLAGS-bench-fmax.c): New rule.
2130         (CFLAGS-bench-fmin.c): Likewise.
2131         * benchtests/fmax-inputs: New file.
2132         * benchtests/fmin-inputs: Likewise.
2134         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2135         parenthesis.
2136         (CMDLINE_PROCESS): Define using function instead of macro.
2137         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2138         of test-skeleton.
2139         * benchtests/bench-memchr.c: Likewise.
2140         * benchtests/bench-memcmp.c: Likewise.
2141         * benchtests/bench-memcpy-large.c: Likewise.
2142         * benchtests/bench-memcpy.c: Likewise.
2143         * benchtests/bench-memmem.c: Likewise.
2144         * benchtests/bench-memmove-large.c: Likewise.
2145         * benchtests/bench-memmove.c: Likewise.
2146         * benchtests/bench-memset-large.c: Likewise.
2147         * benchtests/bench-memset.c: Likewise.
2148         * benchtests/bench-rawmemchr.c: Likewise.
2149         * benchtests/bench-strcasecmp.c: Likewise.
2150         * benchtests/bench-strcasestr.c: Likewise.
2151         * benchtests/bench-strcat.c: Likewise.
2152         * benchtests/bench-strchr.c: Likewise.
2153         * benchtests/bench-strcmp.c: Likewise.
2154         * benchtests/bench-strcpy.c: Likewise.
2155         * benchtests/bench-strcpy_chk.c: Likewise.
2156         * benchtests/bench-strlen.c: Likewise.
2157         * benchtests/bench-strncasecmp.c: Likewise.
2158         * benchtests/bench-strncmp.c: Likewise.
2159         * benchtests/bench-strncpy.c: Likewise.
2160         * benchtests/bench-strnlen.c: Likewise.
2161         * benchtests/bench-strpbrk.c: Likewise.
2162         * benchtests/bench-strrchr.c: Likewise.
2163         * benchtests/bench-strsep.c: Likewise.
2164         * benchtests/bench-strspn.c: Likewise.
2165         * benchtests/bench-strstr.c: Likewise.
2166         * benchtests/bench-strtok.c: Likewise.
2168 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2170         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2171         stepping identification.
2172         (init_cpu_features): Add handle of Haswell.
2174 2016-11-25  Jim Meyering  <meyering@fb.com>
2176         [BZ #20386]
2177         Let gcc detect assert(a = 1) errors.
2178         * assert/assert.h (assert): Rewrite, retaining the old definintion
2179         when required, but otherwise putting the expression as-is in an "if"
2180         expression (hence, with no added parentheses) within a statement
2181         expression.
2183 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2185         * benchtests/Makefile (binaries-benchset): Depend on libsupport
2186         DSO.
2188 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
2190         * Rules (python-flags, python-invoke): New.
2191         ($(test-printers-out)): Use $(python-flags).
2193 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2195         * manual/arith.texi (Math Error Reporting): Document that sNaN
2196         arguments are not considered domain errors.
2198 2016-12-16  Zack Weinberg <zackw@panix.com>
2199             Florian Weimer <fweimer@redhat.com>
2200             Nick Mathewson <nickm@torproject.org>
2202         * string/explicit_bzero.c: New routine.
2203         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2204         * string/Makefile (routines, strop-tests, tests): Add them.
2205         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2206         * string/string.h [__USE_MISC]: Declare explicit_bzero.
2208         * debug/explicit_bzero_chk.c: New routine.
2209         * debug/Makefile (routines): Add it.
2210         * debug/tst-chk1.c: Test fortification of explicit_bzero.
2211         * string/bits/string3.h: Fortify explicit_bzero.
2213         * manual/string.texi: Document explicit_bzero.
2214         * NEWS: Mention addition of explicit_bzero.
2216         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2217         data before returning, using explicit_bzero.
2218         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2219         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2220         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2222         * include/string.h: Redirect internal uses of explicit_bzero
2223         to __explicit_bzero_chk[_internal].
2224         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2225         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2226         * sysdeps/arm/nacl/libc.abilist
2227         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2228         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2229         * sysdeps/unix/sysv/linux/arm/libc.abilist
2230         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2231         * sysdeps/unix/sysv/linux/i386/libc.abilist
2232         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2233         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2234         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2235         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2236         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2237         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2238         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2239         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2240         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2245         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2246         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2247         * sysdeps/unix/sysv/linux/sh/libc.abilist
2248         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2249         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2252         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2253         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2254         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2255         Add entries for explicit_bzero and __explicit_bzero_chk.
2257 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2259         * math/fenv.h
2260         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2261         (FE_SNANS_ALWAYS_SIGNAL): New macro.
2262         * math/test-fe-snans-always-signal.c: New file.
2263         * math/Makefile (tests): Add test-fe-snans-always-signal.
2264         (CFLAGS-test-fe-snans-always-signal.c): New variable.
2265         * manual/arith.texi (Infinity and NaN): Document
2266         FE_SNANS_ALWAYS_SIGNAL.
2268 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2270         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2271         bracket.
2273 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2275         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2276         before calling execv.
2278 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2280         [BZ# 20971]
2281         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2282         overflow in pointer addition.
2283         * string/test-memchr.c (do_test): Add an argument to pass as
2284         the size on memchr.
2285         (test_main): Add check for SIZE_MAX.
2287 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2289         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2290         (libm-calls): Add w_scalblnF.
2291         * math/w_scalbln.c: Remove.
2292         * math/w_scalblnf.c: Likewise.
2293         * math/w_scalblnl.c: Likewise.
2294         * math/w_scalbln_template.c: New file with type-generic
2295         implementation based on math/w_scalbln.c.
2296         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2297         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2299 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2301         [BZ #20947]
2302         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2303         either is a signaling NaN.
2304         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
2305         follow fmaxl more closely.
2306         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2307         when either is a signaling NaN.
2308         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2309         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2310         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2311         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2312         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2313         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2314         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2315         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2316         (fmin_test_data): Likewise.
2318 2016-12-15  Andreas Schwab  <schwab@suse.de>
2320         * support/support_test_main.c (support_test_main): Don't shadow
2321         file-local variable test_pid.
2323 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2325         [BZ #20947]
2326         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2327         either is a signaling NaN.
2328         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2330 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2332         [BZ #20947]
2333         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2334         when either is a signaling NaN.
2335         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2337         * bits/long-double.h: New file.
2338         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2339         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2340         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2341         * sysdeps/mips/bits/long-double.h: Likewise.
2342         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2343         * math/Makefile (headers): Add bits/long-double.h.
2344         * misc/sys/cdefs.h: Include <bits/long-double.h>.
2345         * stdlib/strtold.c: Include <bits/long-double.h> instead of
2346         <bits/wordsize.h>.
2347         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2348         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2349         * math/math.h: Do not include <bits/mathdef.h>.
2350         * sysdeps/aarch64/bits/mathdef.h: Remove file.
2351         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2352         inclusion.
2353         * sysdeps/ia64/bits/mathdef.h: Remove file.
2354         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2355         * sysdeps/mips/bits/mathdef.h: Likewise.
2356         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2357         * sysdeps/s390/bits/mathdef.h: Likewise.
2358         * sysdeps/sparc/bits/mathdef.h: Likewise.
2359         * sysdeps/x86/bits/mathdef.h: Likewise.
2360         * sysdeps/s390/s390-32/bits/wordsize.h
2361         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2362         conditional code.
2363         * sysdeps/s390/s390-64/bits/wordsize.h
2364         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2365         Likewise.
2366         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2367         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2368         Likewise.
2369         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2370         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2371         Likewise.
2372         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2373         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2374         Likewise.
2376         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2377         <linux/falloc.h>.
2378         (FALLOC_FL_KEEP_SIZE): Remove.
2379         (FALLOC_FL_PUNCH_HOLE): Likewise.
2380         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2381         (FALLOC_FL_ZERO_RANGE): Likewise.
2383 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2385         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2387 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2389         * sysdeps/unix/sysv/linux/renameat.c: New file.
2390         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2392         * sysdeps/unix/sysv/linux/rename.c: New file.
2393         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2395 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2397         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2398         * string/strtok.c (strtok): Change to tailcall __strtok_r.
2399         * string/strtok_r.c (__strtok_r): Optimize for performance.
2400         * string/string-inlines.c (__old_strtok_r_1c): New function.
2401         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2403 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2405         * math/Makefile (gen-libm-calls): Add w_log1pF.
2406         (libm-calls): Remove w_log1pF.
2407         * math/w_log1p.c: Remove.
2408         * math/w_log1pf.c: Likewise.
2409         * math/w_log1pl.c: Likewise.
2410         * math/w_log1p_template.c: New file with type-generic
2411         implementation based on math/w_log1p.c.
2412         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2413         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2415 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2417         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2419 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2421         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2422         kernel version to 4.9.
2424 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
2426         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2427         ($(inst_libdir)/libm.a): Fix rule to create the target only.
2429 2016-12-13  Andreas Schwab  <schwab@suse.de>
2431         * sysdeps/powerpc/dl-procinfo.c: Don't define
2432         _dl_powerpc_platforms.
2433         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2434         constants instead of referencing _dl_powerpc_platforms.
2435         (_dl_platform_string): Remove.
2437 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2439         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2441 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2443         * Rules (binaries-shared-tests, binaries-pie-tests)
2444         (binaries-static-tests): Link with $(link-extra-libs-tests).
2445         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2446         Remove $(link-extra-libs-tests).
2448 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2450         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2451         (sysdep_routines): Add strncmp_power9.
2452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2453         (strncmp): Add __strncmp_power9 to list of strncmp functions.
2454         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2455         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2456         (strncmp): Add __strncmp_power9 to ifunc list.
2457         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2459 2016-12-12  Florian Weimer  <fweimer@redhat.com>
2461         [BZ #17252]
2462         Add getentropy, getrandom.
2463         * stdlib/sys/random.h: New file.
2464         (headers): Add it.
2465         * stdlib/Makefile (routines): Add getentropy, getrandom.
2466         (tests): Add tst-getrandom.
2467         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2468         * stdlib/getentropy.c: New file.
2469         * stdlib/getrandom.c: Likewise.
2470         * stdlib/tst-getrandom.c: Likewise.
2471         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2472         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2473         * manual/crypt.texi (Unpredictable Bytes): New section.
2474         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2475         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2476         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2477         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2478         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2479         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2480         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2481         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2482         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2483         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2484         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2485         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2486         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2487         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2488         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2489         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2491         Likewise.
2492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2493         Likewise.
2494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2496         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2497         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2498         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2499         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2500         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2503         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2504         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2505         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2507 2016-12-10  Florian Weimer  <fweimer@redhat.com>
2509         [BZ #20956]
2510         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2511         as additional compiler barriers.
2512         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2513         (fn2, do_test): Declare with external linkage.
2514         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2515         (do_test): Declare with external linkage.
2516         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2517         (do_test): Declare with external linkage.
2518         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2519         (do_test): Declare with external linkage.
2521 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
2523         * support/support_test_main.c (support_test_main): Use correct
2524         timeout.
2526 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
2527             Florian Weimer  <fweimer@redhat.com>
2529         [BZ #16421]
2530         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2531         and __u6_addr32 members.
2532         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2533         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2534         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2535         Use __u6_addr32.
2536         * inet/tst-checks.c: Use <support/test-driver.c>
2537         * inet/tst-checks-posix.c: New file.
2538         * inet/Makefile (tests): Add it.
2539         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2541 2016-12-09  Florian Weimer  <fweimer@redhat.com>
2543         New subdirectory support for build and test infrastructure.
2544         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
2545         setting install-lib.
2546         * Makeconfig (link-extra-libs-tests): Define.
2547         (+link-pie-tests, +link-static-tests, +link-tests): Use
2548         link-extra-libs-tests.
2549         (rpath-dirs, all-subdirs): Add support.
2550         (built-modules): Add libsupport.
2551         (libsupport): Define.
2552         * support: New directory.
2553         * support/Makefile: New file.
2554         * support/check.c: Likewise.
2555         * support/check.h: Likewise.
2556         * support/delayed_exit.c: Likewise.
2557         * support/ignore_stderr.c: Likewise.
2558         * support/oom_error.c: Likewise.
2559         * support/set_fortify_handler.c: Likewise.
2560         * support/support.h: Likewise.
2561         * support/temp_file-internal.h: Likewise.
2562         * support/temp_file.c: Likewise.
2563         * support/test-driver.c: Likewise.
2564         * support/test-driver.h: Likewise.
2565         * support/test_main.c: Likewise.
2566         * support/write_message.c: Likewise.
2567         * support/xasprintf.c: Likewise.
2568         * support/xcalloc.c: Likewise.
2569         * support/xmalloc.c: Likewise.
2570         * support/xpthread_barrier_destroy.c: Likewise.
2571         * support/xpthread_barrier_init.c: Likewise.
2572         * support/xpthread_barrier_wait.c: Likewise.
2573         * support/xpthread_cancel.c: Likewise.
2574         * support/xpthread_check_return.c: Likewise.
2575         * support/xpthread_cond_wait.c: Likewise.
2576         * support/xpthread_create.c: Likewise.
2577         * support/xpthread_detach.c: Likewise.
2578         * support/xpthread_join.c: Likewise.
2579         * support/xpthread_mutex_lock.c: Likewise.
2580         * support/xpthread_mutex_unlock.c: Likewise.
2581         * support/xpthread_sigmask.c: Likewise.
2582         * support/xpthread_spin_lock.c: Likewise.
2583         * support/xpthread_spin_unlock.c: Likewise.
2584         * support/xrealloc.c: Likewise.
2585         * support/xsignal.h: Likewise.
2586         * support/xthread.h: Likewise.
2587         * support_tempfile.h: Likewise.
2588         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2589         (TEST_DATA_LIMIT): Remove unused macro.
2590         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
2591         <support/check.h>.
2592         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2593         (ignore_stderr, set_fortify_handler): Remove.  Now in
2594         <support/support.h>.
2595         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
2596         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2597         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2598         (xpthread_join): Remove.  Now in <support/xthread.h>.
2599         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2600         Introduce legacy wrappers.
2601         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2602         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2603         (write_message): Remove.
2604         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2605         test-skeleton.c.
2606         * io/test-open-tmpfile: Likewise.
2607         * io/tst-posix_fallocate-common.c: Likewise.
2608         * libio/tst-fseek.c: Likewise.
2609         * malloc/tst-malloc-backtrace.c: Likewise.
2610         * malloc/tst-malloc-fork-deadlock.c: Likewise.
2611         * malloc/tst-malloc-thread-exit.c: Likewise.
2612         * nptl/tst-cancel7.c: Likewise.
2613         * nptl/tst-cleanup0.c: Likewise.
2614         * posix/tst-posix_fadvise-common.c: Likewise.
2615         * rt/tst-shm.c: Likewise.
2616         * time/bug-getdate1.c: Likewise.
2617         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2618         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2619         * elf/Makefile (tst-piemod1.so): Link against libsupport.
2621 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
2623         * Rules [$(run-built-tests) != no] (tests-expected): Add
2624         $(tests-printers).
2625         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2627 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2629         [BZ #20539]
2630         * math/Makefile (install-lib-ldscripts): Add libm.a.
2631         (install_subdir): Remove.
2632         (install-others): Add.
2633         ($(inst_libdir)/libm.a): Add rule for installation as
2634         linker script.
2635         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2637 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
2639         * INSTALL: Regenerated.
2640         * Makeconfig: Add comments and whitespace to make the control flow
2641         clearer.
2642         (+link-printers-tests, +link-pie-printers-tests,
2643         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2644         built-rtld-LDFLAGS, link-libc-rpath,
2645         link-libc-tests-after-rpath-link,
2646         link-libc-printers-tests): New.
2647         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2648         link-libc-tests): Use the new variables as required.
2649         * Makerules ($(py-const)): New rule.
2650         generated: Add $(py-const).
2651         * README.pretty-printers: New file.
2652         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2653         (others): Depend on $(py-const).
2654         (tests): Depend on $(tests-printers-programs) or
2655         $(tests-printers-out),
2656         as required.  Pass $(tests-printers) to merge-test-results.sh.
2657         * manual/install.texi: Add requirements for testing the pretty
2658         printers.
2659         * nptl/Makefile (gen-py-const-headers, pretty-printers,
2660         tests-printers, CFLAGS-test-mutexattr-printers.c
2661         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2662         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2663         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2664         * nptl/nptl-printers.py: New file.
2665         * nptl/nptl_lock_constants.pysym: Likewise.
2666         * nptl/test-cond-printers.c: Likewise.
2667         * nptl/test-cond-printers.py: Likewise.
2668         * nptl/test-condattr-printers.c: Likewise.
2669         * nptl/test-condattr-printers.py: Likewise.
2670         * nptl/test-mutex-printers.c: Likewise.
2671         * nptl/test-mutex-printers.py: Likewise.
2672         * nptl/test-mutexattr-printers.c: Likewise.
2673         * nptl/test-mutexattr-printers.py: Likewise.
2674         * nptl/test-rwlock-printers.c: Likewise.
2675         * nptl/test-rwlock-printers.py: Likewise.
2676         * nptl/test-rwlockattr-printers.c: Likewise.
2677         * nptl/test-rwlockattr-printers.py: Likewise.
2678         * scripts/gen-py-const.awk: Likewise.
2679         * scripts/test_printers_common.py: Likewise.
2680         * scripts/test_printers_exceptions.py: Likewise.
2682 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2684         * scripts/build-many-glibcs.py (Context.__init__): Take strip
2685         argument.
2686         (Glibc.build_glibc): Strip installed shared libraries if
2687         requested.
2688         (get_parser): Add --strip option.
2689         (main): Update Context call.
2691 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2692             Dominik Vogt  <vogt@linux.vnet.ibm.com>
2694         [BZ #20847]
2695         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2696         array bounds for else branch.
2697         (__execvpe): Style fixes.
2698         * posix/tst-vfork3.c (run_script): New function.
2699         (create_script): Likewise.
2700         (do_test): Use run_script internal function.
2701         (do_prepare): Use create_script internal function.
2703 2016-12-07  Andreas Schwab  <schwab@suse.de>
2705         * sysdeps/unix/sysv/linux/x86/elision-conf.h
2706         (__elision_available): Don't declare.
2707         * sysdeps/unix/sysv/linux/x86/elision-conf.c
2708         (__elision_available): Don't define.
2709         (elision_init): Don't set __elision_available.
2711 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2713         [BZ #20940]
2714         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2715         return Inf for arguments Inf and sNaN.
2716         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2717         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2718         Likewise.
2719         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2720         Likewise.
2721         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2722         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2723         for arguments Inf and sNaN.  When returning a NaN, compute it by
2724         arithmetic on the arguments.
2725         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2726         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2727         arguments.
2729 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
2731         [BZ #20916]
2732         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2733         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
2734         to compute result.
2735         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2736         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2738 2016-12-05  Torvald Riegel  <triegel@redhat.com>
2740         * include/atomic.h (__atomic_check_size_ls): New.
2741         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2742         atomic_store_release): Use it.
2743         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2744         (elision_adapt, ELIDE_LOCK): Use atomics.
2745         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2746         atomics and improve code comments.
2747         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2748         (__lll_trylock_elision): Likewise.
2750 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2752         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2753         programs.
2755 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2757         [BZ #20916]
2758         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2759         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
2760         arguments to compute result.
2761         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2762         1 for arguments (sNaN, 0) or (1, sNaN).
2763         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2764         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2766         [BZ #20919]
2767         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2768         NaN first argument when raised to power 0.
2769         * math/w_pow.c (__pow): Do not check for NaN or zero results from
2770         raising to power zero.
2771         * math/w_powf.c (__powf): Likewise.
2772         * math/w_powl.c (__powl): Likewise.
2773         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2774         pow (0, 0) or pow (NaN, 0).
2776 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
2778         [BZ #20918]
2779         * configure.ac: Test for static NSS cryptographic libraries and set
2780         libc_cv_static_nss_crypt.
2781         * configure: Regenerate.
2782         * config.make.in (static-nss-crypt): Define.
2783         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2784         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2785         (CFLAGS-tst-linkall-static.c): Define.
2786         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2787         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2788         ($(objpfx)tst-linkall-static): Define.
2789         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2790         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2792 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2794         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2795         (one-hundred, tst-tls-many-dynamic-modules): Define.
2796         (modules-names): Add $(tst-tls-many-dynamic-modules).
2797         (tst-tls-manydynamic%mod.os): Build with special preprocessor
2798         macros.
2799         (tst-tls-manydynamic): Link against libdl, libpthread.
2800         (tst-tls-manydynamic.out): The test needs the test modules at run
2801         time.
2802         * elf/tst-tls-manydynamic.c: New file.
2803         * elf/tst-tls-manydynamic.h: Likewise.
2804         * elf/tst-tls-manydynamicmod.c: Likewise.
2806 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2808         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2809         (TLS_DTV_UNALLOCATED): Add.
2810         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2811         offsets.
2813 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2815         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2817 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2819         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2820         Add -fno-optimize-sibling-calls.
2822 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2824         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2825         New declaration.
2826         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2827         macro.
2828         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2829         New macro.
2830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2831         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2832         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2833         (llogbf): Likewise.
2834         (llogbl): Likewise.
2835         * math/Makefile (gen-libm-calls): Add w_llogbF.
2836         (tests): Add test-fp-llogb-constants.
2837         * math/w_llogb_template.c: New file.  Based on
2838         math/w_ilogb_template.c.
2839         * math/libm-test.inc (llogb_test_data): New array.
2840         (llogb_test): New function.
2841         (main): Call llogb_test.
2842         * math/test-fp-llogb-constants.c: New file.  Based on
2843         math/test-fp-ilogb-constants.c.
2844         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2845         (do_test): Call check_return_llogb.
2846         * math/test-tgmath.c (NCALLS): Increase to 126.
2847         (F(compile_test)): Call llogb.
2848         (F(llogb)): New function.
2849         * manual/math.texi (Exponents and Logarithms): Document llogb,
2850         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2851         * manual/libm-err-tab.pl (@all_functions): Add llogb.
2852         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2853         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2854         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2855         (CFLAGS-nldbl-llogb.c): New variable.
2856         * sysdeps/nacl/libm.abilist: Update.
2857         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2858         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2859         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2860         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2861         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2862         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2863         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2864         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2865         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2866         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2867         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2868         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2870         Likewise.
2871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2872         Likewise.
2873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2874         Likewise.
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2876         Likewise.
2877         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2878         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2879         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2880         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2881         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2883         Likewise.
2884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2885         Likewise.
2886         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2887         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2888         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2890 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2892         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2893         _Float128 instead of long double.
2894         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2896         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2897         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2898         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2899         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2900         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2901         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2902         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2903         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2904         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2905         Likewise.
2907 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2909         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2910         Remove redirection to __strrchr_ppc.
2912 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2914         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2915         (sysdep_routines): Add strcmp_power9.
2916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2917         (strcmp): Add __strcmp_power9 to list of strcmp functions.
2918         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2919         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2920         (strcmp): Add __strcmp_power9 to ifunc list.
2921         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2923 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2925         * bits/fp-logb.h: New file.
2926         * sysdeps/ia64/bits/fp-logb.h: Likewise.
2927         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2928         * sysdeps/x86/bits/fp-logb.h: Likewise.
2929         * math/Makefile (headers): Add bits/fp-logb.h.
2930         * math/math.h: Include <bits/fp-logb.h>.
2931         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2932         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2933         * bits/mathdef.h (FP_ILOGB0): Remove.
2934         (FP_ILOGBNAN): Likewise.
2935         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2936         (FP_ILOGBNAN): Likewise.
2937         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2938         (FP_ILOGBNAN): Likewise.
2939         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2940         (FP_ILOGBNAN): Likewise.
2941         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2942         (FP_ILOGBNAN): Likewise.
2943         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2944         (FP_ILOGBNAN): Likewise.
2945         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2946         (FP_ILOGBNAN): Likewise.
2947         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2948         (FP_ILOGBNAN): Likewise.
2949         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2950         (FP_ILOGBNAN): Likewise.
2951         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2952         (FP_ILOGBNAN): Likewise.
2954         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
2955         time module.
2956         (Context.__init__): Initialize self.logsdir_old.
2957         (Context.run_builds): Handle bot action.
2958         (Context.bot_cycle): Copy logs directory before running builds.
2959         (Context.bot_run_self): Take argument for whether to check
2960         subprocess result.  Flush stdout before running subprocess.
2961         (Context.bot): New function.
2962         (get_parser): Allow bot action.
2964 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
2966         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2967         Import email.mime.text, email.utils and smtplib modules.
2968         (Context.__init__): Initialize self.bot_config_json.
2969         (Context.run_builds): Handle bot-cycle action.
2970         (Context.load_bot_config_json): New function.
2971         (Context.part_build_old): Likewise.
2972         (Context.bot_cycle): Likewise.
2973         (Context.bot_build_mail): Likewise.
2974         (Context.bot_run_self): Likewise.
2975         (get_parser): Allow bot-cycle action.
2977 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2979         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2980         Remove redirection to __stpcpy_ppc.
2982 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2984         Remove __libc_memalign from ld.so because it is unused.
2985         * elf/dl-minimal.c: Update comment on the malloc implementation.
2986         (malloc): Renamed from __libc_memalign, replacing the original
2987         malloc implementation.  Replace the align parameter with
2988         MALLOC_ALIGNMENT.
2989         * elf/Versions (ld): Update comment and remove __libc_memalign.
2990         * sysdeps/nacl/ld.abilist: Likewise.
2991         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2992         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2993         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2994         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2995         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2996         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2997         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2998         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2999         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
3000         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
3001         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
3002         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
3003         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
3004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
3005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3007         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3008         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3009         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3010         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3011         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
3013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
3014         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3015         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3016         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3017         * sysdeps/generic/localplt.data (ld.so): Likewise.
3018         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3019         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3020         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3021         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3022         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3023         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3024         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3025         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
3026         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3028         (ld.so): Likewise.
3029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3030         (ld.so): Likewise.
3031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3032         Likewise.
3033         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3034         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3035         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3036         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3037         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3039 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3041         [BZ #16628]
3042         Implement _dl_catch_error, _dl_signal_error in libc.so.
3043         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3044         (catch_hook): Define as thread-local or regular variable,
3045         depending on DL_ERROR_BOOTSTRAP.
3046         (CATCH_HOOK): Remove.
3047         (dl_signal_error, _dl_catch_error): Use
3048         catch_hook.  Add hidden definition for libc.
3049         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
3050         for DL_ERROR_BOOTSTRAP only.
3051         * elf/dl-error.c: New file.
3052         * elf/dl-error-minimal.c: Likewise.
3053         * elf/tst-latepthread.c: Likewise.
3054         * elf/tst-latepthreadmod.c: Likewise.
3055         * elf/Makefile (routines): Add dl-error.
3056         (dl-routines): Remove dl-error.
3057         (rtld-routines): Add dl-error-minimal.
3058         [build-shared] (tests): Add tst-latepthread.
3059         (module-names): Add tst-latepthreadmod.
3060         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3061         symbol.
3062         (tst-latepthreadmod.so): Link against libpthread.
3063         (tst-latepthread): Link against libdbl.
3064         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3065         _dl_catch_error.
3066         [ld] (GLIBC_PRIVATE): Likewise.
3067         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3068         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3069         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3070         directly.
3071         * elf/dl-tsd.c: Remove file.
3072         * elf/rtld.c (_rtld_global_ro): Remove initializers for
3073         _dl_catch_error, _dl_signal_error.
3074         (_dl_initial_error_catch_tsd): Remove definition.
3075         (do_preload): Remove initialization of dl_error_catch_tsd.
3076         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3077         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3078         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3079         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3080         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3081         set dl_error_catch_tsd.
3082         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3083         _dl_error_catch_tsd member.
3084         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3085         members.
3086         (_dl_initial_error_catch_tsd): Remove declaration.
3087         (_dl_dprintf): Provide definition for use outside of ld.so.
3088         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3089         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
3090         prototype for libc.
3091         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3092         _dl_catch_error.
3093         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3094         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3095         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3096         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3097         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3098         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3099         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3100         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3101         Likewise.
3102         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3104         (ld.so): Likewise.
3105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3106         (ld.so): Likewise.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3108         Likewise.
3109         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3110         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3111         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3112         Likewise.
3113         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3114         Likewise.
3115         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3117 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3119         [BZ #4099]
3120         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3121         _IO_BUFSIZ (8192).
3123 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
3125         * PROJECTS: Remove file.
3127 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3129         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3131 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
3132             Steve Ellcey  <sellcey@caviumnetworks.com>
3134         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3135         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3136         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3137         fxstatat.
3138         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3139         lxstat.
3140         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3141         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3142         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3143         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3144         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3145         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3146         __xstat.
3148 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3150         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3151         Define.
3152         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3153         definition.
3155 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3157         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3158         version and turn into strong alias.  Remove compat symbol.
3160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3161         (__longjmp): Remove.
3163 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
3165         * bits/fp-fast.h: New file.
3166         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3167         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3168         * math/Makefile (headers): Add bits/fp-fast.h.
3169         * math/math.h: Include <bits/fp-fast.h>.
3170         * bits/mathdef.h (FP_FAST_FMA): Remove.
3171         (FP_FAST_FMAF): Likewise.
3172         (FP_FAST_FMAL): Likewise.
3173         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3174         (FP_FAST_FMAF): Likewise.
3175         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3176         (FP_FAST_FMAF): Likewise.
3177         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3178         (FP_FAST_FMAF): Likewise.
3179         (FP_FAST_FMAL): Likewise.
3180         * sysdeps/arm/bits/mathdef.h: Remove file.
3181         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3182         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3183         * sysdeps/tile/bits/mathdef.h: Likewise.
3185 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3187         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
3188         * math/w_ilogb.c: Remove.
3189         * math/w_ilogbf.c: Likewise.
3190         * math/w_ilogbl.c: Likewise.
3191         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3192         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3193         * math/Makefile (gen-libm-calls): Add w_ilogbF.
3194         (libm-calls): Remove w_ilogbF.
3195         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3196         (LDOUBLE_ilogbl_libm_version): New macro.
3198         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3200         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3201         [!__STRICT_ANSI__ && !__cplusplus].
3203 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3205         [BZ #20750]
3206         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3207         of PIC.
3209 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3210             Yury Norov  <ynorov@caviumnetworks.com>
3211             Steve Ellcey  <sellcey@caviumnetworks.com>
3213         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3214         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3215         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3216         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3217         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3218         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3219         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3220         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3221         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3222         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3223         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3224         to get correct reg name for ILP32.
3225         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3226         (RELA_SIZE): New Macro.
3227         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3228         to support ILP32.
3229         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3230         cast for ILP32 mode.
3231         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3232         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3233         * sysdeps/aarch64/memset.S (__memset): Ditto.
3234         * sysdeps/aarch64/strchr.S (strchr): Ditto.
3235         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3236         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3237         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3238         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3239         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3240         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3241         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3242         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3243         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3244         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3245         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3246         change PTR_MANGLE call to use register numbers instead of names.
3247         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3248         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3249         ILP32 mode, change PTR_MANGLE calls to use register numbers.
3250         * sysdeps/aarch64/start.S (_start): Ditto.
3251         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3252         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3253         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3254         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3255         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3256         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3257         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3258         Make defined values dependent on __ILP32__.
3259         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3260         (sem_t): Change __align type.
3261         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3262         PTR_SIZE): New Macros.
3263         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3264         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3265         Set when in ILP32 mode.
3266         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3267         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3268         Set elf flags for ILP32.
3269         (add_system_dir): Set ILP32 library directories.
3270         * sysdeps/unix/sysv/linux/aarch64/init-first.c
3271         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3272         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3273         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3274         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3275         New Macros.
3276         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3278 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3280         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3281         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3282         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3284 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3286         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3287         <asm/cachectl.h>.
3289 2016-11-27  Zack Weinberg  <zackw@panix.com>
3291         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3292         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3294 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3296         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3297         error_t to fix usage in C++ programs.
3299 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
3301         * scripts/build-many-glibcs.py: Import datetime module.
3302         (Context.__init__): Load JSON build state.  Initialize list of
3303         status logs.
3304         (Context.run_builds): Update saved build state.
3305         (Context.add_makefile_cmdlist): Update list of status logs.
3306         (Context.load_build_state_json): New function.
3307         (Context.store_build_state_json): Likewise.
3308         (Context.clear_last_build_state): Likewise.
3309         (Context.update_build_state): Likewise.
3310         (CommandList.status_logs): Likewise.
3312 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
3314         * scripts/build-many-glibcs.py (Context.__init__): Save text of
3315         script being executed.
3316         (Context.get_script_text): New function.
3317         (Context.exec_self): Likewise.
3318         (Context.checkout): Re-exec script if changed by checkout process.
3320 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3322         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3323         (setpayloadsig): New declaration.
3324         * math/Versions (setpayloadsig): New libm symbol at version
3325         GLIBC_2.25.
3326         (setpayloadsigf): Likewise.
3327         (setpayloadsigl): Likewise.
3328         * math/Makefile (libm-calls): Add s_setpayloadsigF.
3329         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3330         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3331         (setpayloadsig_test_data): New array.
3332         (setpayloadsig_test): New function.
3333         (main): Call setpayloadsig_test.
3334         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3335         setpayloadsigf and setpayloadsigl.
3336         * manual/libm-err-tab.pl: Update comment on interfaces without
3337         ulps tabulated.
3338         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3339         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3340         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3341         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3342         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3343         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3344         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3345         setpayloadsig.
3346         (CFLAGS-nldbl-setpayloadsig.c): New variable.
3347         * sysdeps/nacl/libm.abilist: Update.
3348         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3349         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3350         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3351         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3352         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3353         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3354         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3355         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3356         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3357         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3358         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3359         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3361         Likewise.
3362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3363         Likewise.
3364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3365         Likewise.
3366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3367         Likewise.
3368         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3369         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3370         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3371         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3372         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3374         Likewise.
3375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3376         Likewise.
3377         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3378         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3379         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3381         * scripts/build-many-glibcs.py: Import json module.
3382         (Context.__init__): Take replace_sources argument.  Load
3383         versions.json.
3384         (Context.load_versions_json): New function.
3385         (Context.store_json): Likewise.
3386         (Context.store_versions_json): Likewise.
3387         (Context.set_component_version): Likewise.
3388         (Context.checkout): Update versions.json.  Check for and handle
3389         changes of version.  Prefer previously explicitly specified
3390         version to default version.
3391         (Context.checkout_vcs): Return a revision identifier.
3392         (Context.git_checkout): Likewise.
3393         (Context.gcc_checkout): Likewise.
3394         (get_parser): Add --replace-sources option.
3395         (main): Pass replace_sources argument to Context call.
3397 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3399         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3400         * nptl/allocatestack.c (allocate_stack): Likewise.
3401         (__reclaim_stacks): Likewise.
3402         (setxid_signal_thread): Obtain pid through syscall.
3403         * nptl/nptl-init.c (sigcancel_handler): Likewise.
3404         (sighandle_setxid): Likewise.
3405         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3406         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3407         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3408         Likewise.
3409         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3410         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3411         comment.
3412         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3413         * nptl/descr.h (struct pthread): Change comment about pid value.
3414         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3415         pid assert.
3416         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3417         Do not set pid value.
3418         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3419         pid cache check.
3420         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3421         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3422         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3423         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3424         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3425         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3426         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3427         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3428         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3429         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3430         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3431         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3432         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3433         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3434         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3435         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3436         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3437         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3438         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3439         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3440         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3441         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3442         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3443         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3444         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3447         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3448         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3449         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3450         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3451         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3452         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3453         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3454         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3455         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3456         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3457         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3458         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3459         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3460         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3461         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3462         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3465         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3466         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3467         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3468         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3469         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3470         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3471         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3472         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3473         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3474         struct access.
3475         (clone_test): Remove function.
3476         (do_test): Rewrite to take in consideration pid is not cached anymore.
3478 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3480         * bits/flt-eval-method.h: New file.
3481         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3482         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3483         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3484         * math/Makefile (headers): Add bits/flt-eval-method.h.
3485         * math/math.h: Include <bits/flt-eval-method.h>.
3486         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3487         [__USE_ISOC99] (double_t): Likewise.
3488         * bits/mathdef.h (float_t): Remove.
3489         (double_t): Likewise.
3490         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3491         (double_t): Likewise.
3492         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3493         (double_t): Likewise.
3494         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3495         (double_t): Likewise.
3496         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3497         (double_t): Likewise.
3498         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3499         (double_t): Likewise.
3500         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3501         (double_t): Likewise.
3502         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3503         (double_t): Likewise.
3504         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3505         (double_t): Likewise.
3506         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3507         (double_t): Likewise.
3508         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3509         (double_t): Likewise.
3510         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3511         (double_t): Likewise.
3512         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3513         (double_t): Likewise.
3514         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3515         (double_t): Likewise.
3517 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
3519         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3520         instead of PIC.
3522 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3524         [BZ #20859]
3525         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3526         (-0x7fffffff) instead of 0x80000001.
3527         * math/test-fp-ilogb-constants.c: New file.
3528         * math/Makefile (tests): Add test-fp-ilogb-constants.
3530 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
3532         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3533         (_init): Use it in place of hardcoded R_MIPS_JALR.
3534         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3535         (_init): Use it in place of hardcoded R_MIPS_JALR.
3536         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3537         (_init): Use it in place of hardcoded R_MIPS_JALR.
3539 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3541         [BZ #20787]
3542         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
3543         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
3544         (double_t): Do not define to double if [__x86_64__] when
3545         __FLT_EVAL_METHOD__ is nonzero.
3546         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
3547         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
3548         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3549         test-flt-eval-method-387 and test-flt-eval-method-sse.
3550         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
3551         variable.
3552         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
3554 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
3556         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
3557         use of -fno-isolate-erroneous-paths options for tilepro.
3559 2016-11-23  Florian Weimer  <fweimer@redhat.com>
3561         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
3562         structure initialization is no longer needed.
3564 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3566         [BZ #20855]
3567         * bits/mathdef.h (float_t): Define to float.
3568         * math/test-flt-eval-method.c: New file.
3569         * math/Makefile (tests): Add test-flt-eval-method.
3570         (CFLAGS-test-flt-eval-method.c): New variable.
3572 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
3574         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
3575         and __fstatfs.  Make them aliases of __fstatfs64 if
3576         STATFS_IS_STATFS64 is set to non-zero.
3577         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
3578         and __statfs64.
3579         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3580         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3581         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3582         for __statfs and statfs.
3583         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3584         to 0.
3585         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3586         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3587         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3588         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3589         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3590         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3593         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3594         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3595         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3596         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3598 2016-11-22  Andreas Schwab  <schwab@suse.de>
3600         * misc/mkstemp.c: Include <fcntl.h>.
3601         * misc/mkstemps.c: Likewise.
3602         * misc/mkostemp.c: Likewise.
3603         * misc/mkostemps.c: Likewise.
3605 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
3607         [BZ #20847]
3608         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3609         array bounds.
3610         (__execvpe): Likewise.
3612 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
3614         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3615         -fno-isolate-erroneous-paths options for tilepro.
3617 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
3619         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3620         to 0 when in 32 bit mode.
3621         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3622         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3623         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3624         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3626         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3627         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3628         XSTAT_IS_XSTAT64 test.
3629         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3630         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3631         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3632         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3633         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3634         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3635         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3636         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3637         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3638         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3639         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3641 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
3643         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3644         (setpayload): New declaration.
3645         * math/Versions (setpayload): New libm symbol at version
3646         GLIBC_2.25.
3647         (setpayloadf): Likewise.
3648         (setpayloadl): Likewise.
3649         * math/Makefile (libm-calls): Add s_setpayloadF.
3650         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3651         test_Ff_b1_data.
3652         (RUN_TEST_Ff_b1): New macro.
3653         (RUN_TEST_LOOP_Ff_b1): Likewise.
3654         (canonicalize_test_data): Update type.
3655         (setpayload_test_data): New array.
3656         (setpayload_test): New function.
3657         (main): Call setpayload_test.
3658         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3659         setpayloadf and setpayloadl.
3660         * manual/libm-err-tab.pl: Update comment on interfaces without
3661         ulps tabulated.
3662         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3663         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3664         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3665         Likewise.
3666         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3667         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3668         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3669         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3670         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3671         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3672         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3673         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3674         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3675         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3676         setpayload.
3677         (CFLAGS-nldbl-setpayload.c): New variable.
3678         * sysdeps/nacl/libm.abilist: Update.
3679         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3680         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3681         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3682         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3683         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3684         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3685         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3686         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3687         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3688         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3689         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3690         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3692         Likewise.
3693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3694         Likewise.
3695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3696         Likewise.
3697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3698         Likewise.
3699         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3700         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3701         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3702         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3703         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3705         Likewise.
3706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3707         Likewise.
3708         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3709         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3710         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3712 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3714         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3715         * include/unistd.h: Extend comment about __access_noerrno return
3716         semantics.
3717         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3718         (access_common): Correct typo for EACCES.
3720 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
3722         * sysdeps/tile/math-tests.h: New file.
3724         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3725         (__old_set_dataplane): Rename from set_dataplane and make a
3726         compatibility symbol.
3727         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3728         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3729         sys/dataplane.h.
3731 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
3733         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3734         script quote words in command output to log suitably for input to
3735         the shell.
3737 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
3738             Maciej W. Rozycki  <macro@imgtec.com>
3740         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3741         `.Lno_weak_fn' label.
3742         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3743         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3745 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3746             Yury Norov  <ynorov@caviumnetworks.com>
3748         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3749         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3750         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3751         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3752         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3753         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3754         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3755         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3756         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3757         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3758         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3759         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3760         (sysdep_routines): Remove oldgetrlimit64.
3761         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3762         (sysdep_routines): Likewise.
3763         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3764         (sysdep_routines): Likewise.
3765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3766         [$(subdir) = resource] (sysdep_routines): Likewise.
3767         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3768         [$(subdir) = resource] (sysdep_routines): Likewise.
3769         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3770         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3771         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3772         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3773         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3774         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3775         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3776         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3777         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3778         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3779         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3780         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3781         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3782         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3783         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3784         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3785         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3786         setrlimit and getrlimit.
3787         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3788         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3789         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3792         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3793         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3794         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3795         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3796         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3797         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3798         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3799         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3800         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3801         (__old_getrlimit64): Add compatibility symbol.
3802         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3804 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
3806         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3807         newly built gmp, mpfr and mpc.
3809         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3811 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3813         * conform/Makefile (linknamespace-libs): Rename to
3814         linknamespace-libs-thr.
3815         (linknamespace-libs-posix): New variable.
3816         (linknamespace-libs-xsi): Likewise.
3817         (linknamespace-libs-XPG3): Include libcrypt.a.
3818         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3819         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3820         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3821         (linknamespace-libs-XOPEN2K): Likewise.
3822         (linknamespace-libs-XOPEN2K8): Likewise.
3823         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3825         [BZ #20829]
3826         * stdio-common/Versions (__snprintf): Add to version
3827         GLIBC_PRIVATE.
3828         * include/stdio.h (__snprintf): Use libc_hidden_proto.
3829         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3830         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3831         of snprintf.
3832         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3834 2016-11-16  Zack Weinberg  <zackw@panix.com>
3836         * string/string.h: Remove obsolete comment stating that
3837         strcoll_l and strxfrm_l have not yet been standardized.
3839 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3841         * hurd/hurd.h (__hurd_fail_noerrno): New function.
3842         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3843         __access_noerrno.
3844         * io/access.c (__access_noerrno): New function.
3845         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3846         (hurd_fail_seterrno): Likewise.
3847         (access_common): Likewise.
3848         (__access_noerrno): Likewise.
3849         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3850         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3851         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3852         macro.
3854 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3856         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3857         Only declare fpregs if [__SH_FPU_ANY__].
3859 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
3861         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3862         Make code unconditional.
3863         [!(__SH4__ || __SH4A__)]: Remove conditional code.
3865 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
3867         * manual/sysinfo.texi (S_APPEND): Delete.
3868         (S_IMMUTABLE): Likewise.
3870 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
3871             Magnus Granberg  <zorry@gentoo.org>
3872             Mike Frysinger  <vapier@gentoo.org>
3874         [BZ #20662]
3875         * configure.ac (libc_cv_predef_stack_protector): Also check for
3876         __stack_chk_fail_local symbols.
3877         * configure: Regenerated.
3879 2016-11-15  Florian Weimer  <fweimer@redhat.com>
3881         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3882         (libc_hidden_def): Remove redefinition.
3883         (__sigsetjmp): Add hidden definition.
3884         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3885         (libc_hidden_def): Remove redefinition.
3886         (__sigsetjmp): Add hidden definition.
3888 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
3890         * scripts/build-many-glibcs.py (os.path): Do not import.
3891         (Context): Inherit explicitly from object.  Remove blank line
3892         between class and docstring.
3893         (Config): Likewise.
3894         (Glibc): Likewise.
3895         (Command): Likewise.
3896         (CommandList): Likewise.
3897         (Context.write_files): Store chmod mode in a variable.
3899         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3900         LIBC_SLIBDIR_RTLDDIR for tilegx32.
3901         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3903 2016-11-14  Zack Weinberg  <zackw@panix.com>
3905         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3906         creating or re-creating it.
3908         * string/bits/string2.h: Fix typo in comment.
3910 2016-11-14  Zack Weinberg  <zackw@panix.com>
3912         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3913         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3914         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3915         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3916         of redirected function names.
3918         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3919         as well.  Document that MESSAGE must be a single string literal.
3921 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
3923         * scripts/build-many-glibcs.py: New file.
3925         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3926         (do_test): Disable -Wmaybe-uninitialized around uses of
3927         except_mask.
3929         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3931 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
3933         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3934         (atomic_store_release): Provide tilepro-specific implementations.
3936 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
3938         * math/math.h (__MATH_TG): New macro.
3939         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3940         [__USE_ISOC99] (signbit): Likewise.
3941         [__USE_ISOC99] (isfinite): Likewise.
3942         [__USE_ISOC99] (isnan): Likewise.
3943         [__USE_ISOC99] (isinf): Likewise.
3944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3945         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3947         __MATH_TG and __MATH_EVAL_FMT2.
3948         * sysdeps/generic/math_private.h (fabs_tg): Define using
3949         __MATH_TG.
3950         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3951         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3952         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3953         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3954         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3955         macro.
3956         (__iscanonical): Likewise.
3957         (iscanonical): Define using __MATH_TG.
3959 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3961         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3962         guards.
3964         * sysdeps/unix/sysv/linux/access.c: New file.
3965         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3967 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
3969         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3970         and __WORDSIZE32_PTRDIFF_LONG.
3972 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3974         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3976 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3978         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3979         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3980         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3981         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3982         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3984         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3985         * sysdeps/unix/sysv/linux/truncate.c: New file.
3986         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3987         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3988         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3989         Remove.
3990         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3991         Likewise.
3993         * posix/tst-truncate-common.c: New file.
3994         * posix/tst-truncate.c: Use tst-truncate-common.c.
3995         * posix/tst-truncate64.c: Likewise and add LFS tests.
3996         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3997         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3998         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3999         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
4000         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
4001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4002         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
4003         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
4004         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
4005         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4006         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
4007         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
4008         Remove.
4009         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
4010         Likewise.
4012 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
4014         [BZ #20790]
4015         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
4016         to MAXLINESIZE.
4017         * sunrpc/bug20790.x: New file.
4018         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
4019         variable.
4020         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
4021         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
4023         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
4025         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
4027         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4028         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
4029         calloc, realloc, free, memalign and __libc_memalign rather than
4030         making them optional.
4032         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4033         for libc.so.
4035 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4037         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4038         ptw-lseek64.
4039         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4040         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
4041         Likewise.
4042         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4043         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4044         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4045         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4046         * sysdeps/unix/sysv/linux/lseek.c: New file.
4047         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4048         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4049         __libc_lseek64 from auto-generation.
4050         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4051         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4053 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4055         * nptl/tst-basic1.c (tf, do_test): Use write_message.
4056         * nptl/tst-cleanup1.c (do_test): Likewise.
4057         * nptl/tst-cleanup3.c (do_test): Likewise.
4058         * nptl/tst-key1.c (do_test): Likewise.
4059         * nptl/tst-key2.c (tf, do_test): Likewise.
4060         * nptl/tst-key3.c (tf, do_test): Likewise.
4061         * nptl/tst-stdio1.c (do_test): Likewise.
4062         * nptl/tst-stdio2.c (do_test): Likewise.
4064         * nptl/tst-kill3.c (handler): Use write_message in place of write.
4065         * nptl/tst-kill6.c (handler): Likewise.
4066         * nptl/tst-tls2.c (CB): Likewise.
4067         * nptl/tst-tls3.c (CB): Likewise.
4069 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
4071         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4073 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
4074             Steve Ellcey  <sellcey@caviumnetworks.com>
4076         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4077           __ASSUME_ST_INO_64_BIT as 0
4078         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4079         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4080           over the code where __ASSUME_ST_INO_64_BIT is used.
4081         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4082         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4083         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4085 2016-11-07  Florian Weimer  <fweimer@redhat.com>
4087         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4088         Document ABI exposure of the __kind offset.
4089         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4090         Mention reason for the __kind offset exposure in the ABI.
4091         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4092         Likewise.
4093         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4094         Likewise.
4095         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4096         Likewise.
4097         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4098         (struct __pthread_mutex_s): Likewise.
4099         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4100         Likewise.
4101         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4102         Likewise.
4103         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4104         Likewise.
4105         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4106         Likewise.
4107         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4108         Likewise.
4109         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4110         Likewise.
4111         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4112         (struct __pthread_mutex_s): Likewise.
4113         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4114         (struct __pthread_mutex_s): Likewise.
4115         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4116         Likewise.
4118 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
4120         * test-skeleton.c: Document do_test usage.
4122 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
4124         * iconv/gconv.h (__gconv_info): Define __data element using a
4125         zero-length array.
4127 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
4129         * math/test-tgmath2.c: Split up test function.
4131 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4133         * Rules (tests-expected): New variable, depending on
4134         $(run-built-tests).
4135         (tests): Pass $(tests-expected) to merge-test-results.sh, not
4136         $(tests).
4138         * Rules [$(run-built-tests) = no] (tests): Do not depend on
4139         $(tests-unsupported).
4141 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4143         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4144         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
4146 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4148         [BZ #20768]
4149         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4150         __fegetenv instead of fegetenv.
4152         [BZ #14139]
4153         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4154         (find_files): Obtain platform name from libm-test-ulps-name and
4155         store in %pplatforms.
4156         (canonicalize_platform): Remove.
4157         (print_platforms): Use $pplatforms directly.
4158         (by_platforms): Do not allow for platforms missing from
4159         %pplatforms.
4160         * sysdeps/aarch64/libm-test-ulps-name: New file.
4161         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4162         * sysdeps/arm/libm-test-ulps-name: Likewise.
4163         * sysdeps/generic/libm-test-ulps-name: Likewise.
4164         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4165         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4166         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4167         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4168         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4169         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4170         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4171         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4172         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4173         * sysdeps/nios2/libm-test-ulps-name: Likewise.
4174         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4175         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4176         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4177         * sysdeps/sh/libm-test-ulps-name: Likewise.
4178         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4179         * sysdeps/tile/libm-test-ulps-name: Likewise.
4180         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4182         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4184         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4185         (test-xfail-check-execstack): New variable.
4187         * sysdeps/mips/localplt.data: New file.
4189 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
4190             Steve Ellcey  <sellcey@caviumnetworks.com>
4192         * bits/wordsize.h: Add documentation.
4193         * sysdeps/aarch64/bits/wordsize.h : New file
4194         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4195         definitions.
4196         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4197         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4198         with #if instead of #ifdef.
4199         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4200         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4201         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4202         Add or change defines.
4203         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4204         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4205         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4206         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4207         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4208         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4209         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4210         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4211         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4212         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4213         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4214         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4215         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4216         * sysdeps/x86/bits/wordsize.h: Likewise.
4218 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
4219             Kevin Petit  <kevin.petit@arm.com>
4221         * sysdeps/aarch64/memchr.S (__memchr): New file.
4223 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4225         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4227 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
4229         [BZ #19398]
4230         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4231         $(linknamespace-symlists-tests).
4233 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
4235         * time/tst-strptime2.c: Ignore -Wformat-length warning.
4237 2016-11-02  Florian Weimer  <fweimer@redhat.com>
4238             Carlos O'Donell  <carlos@redhat.com>
4240         [Bug #20729]
4241         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4242         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
4243         for -Os related change.
4245 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
4247         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4249 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
4251         [BZ #19673]
4252         * manual/math.texi (Exponents and Logarithms): Correct description
4253         of clog10.
4255 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
4257         [Bz #20729]
4258         * locale/weight.h: Include libc-internal.h.
4259         * locale/weightwc.h: Likewise.
4260         * nptl/nptl_dbP.h: Likewise.
4262 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
4264         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4265         when it is MACH_PORT_NULL.
4267 2016-10-31  Andreas Schwab  <schwab@suse.de>
4269         [BZ #20707]
4270         * posix/glob.c (glob): Initialize pglob before checking for
4271         GLOB_BRACE.  Don't call glob recursively if pattern contains no
4272         valid brace expression despite GLOB_BRACE.
4273         * posix/globtest.sh: Test it.
4275 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4277         [BZ #20729]
4278         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4279         Define.
4280         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4281         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4282         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4283         for seq2.back_us and seq1.back_us only for -Os compiles.
4284         * locale/weightwc.h (findix): Likewise.
4285         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4286         DB_GET_FIELD_ADDRESS only for -Os compiles.
4287         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4288         for slen only for -Os compiles.
4289         * string/strcoll_l.c (get_next_seq): Ignore
4290         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4291         for -Os compiles.
4293         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4294         * include/crypt.h: New file.
4296 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4298         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4299         from test-skeleton.c.
4300         (statclass): Replace calls to write with calls to write_message.
4302 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4304         * math/math.h
4305         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4306         New macro.
4307         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4308         Likewise.
4309         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4310         Likewise.
4311         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4312         SNANL.
4313         * math/test-double.h (snan_value_MACRO): New macro.
4314         * math/test-float.h (snan_value_MACRO): Likewise.
4315         * math/test-ldouble.h (snan_value_MACRO): Likewise.
4316         * math/libm-test.inc (issignaling_test_data): Add tests of
4317         snan_value_MACRO.
4319 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4321         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4322         behavior when eliding a lock not held by the current thread.
4323         * sysdeps/powerpc/nptl/elide.h: Likewise.
4325 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4327         [BZ #20728]
4328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4329         branch to _exit() by a function call.
4331 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4333         * malloc/malloc.c: Update chunk layout comments.
4334         (chunk_main_arena): Update comment.
4336 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4338         * crypt/sha256.c, crypt/sha256-block.c,
4339         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4340         sha256_process_block to __sha256_process_block.
4341         * crypt/sha512.c, crypt/sha512-block.c,
4342         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4343         sha512_process_block to __sha512_process_block.
4345 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4347         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4349         * math/test-nan-overflow.c: Include stdlib.h for malloc.
4351 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
4353         [BZ #20019]
4354         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4355         definition in unrelocated shared library.
4356         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4358 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4360         [BZ #20729]
4361         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4362         * sysdeps/unix/sysv/linux/i386/Makefile
4363         (uses-6-syscall-arguments): Define.
4364         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4365         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4366         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4367         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4368         Likewise.
4369         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4370         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4371         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4372         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4373         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4374         (CFLAGS-fallocate64.os): Likewise.
4375         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4376         (CFLAGS-pthread_rwlock_timedrdlock.os)
4377         (CFLAGS-pthread_rwlock_timedwrlock.o)
4378         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4379         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4380         (CFLAGS-sem_timedwait.os): Likewise.
4382 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4384         * elf/tst-linkall-static.c: New file.
4385         * elf/Makefile (tests-static): Add tst-linkall-static.
4386         (tst-linkall-static): Link against static libraries.
4388 2016-10-27  Florian Weimer  <fweimer@redhat.com>
4390         * malloc/malloc.c (sysmalloc): Initialize previous size field of
4391         mmaped chunks.
4393 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4395         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4396         members to mchunk_prev_size, mchunk_size.
4397         (chunk_main_arena): Reverse sense and rename from
4398         chunk_non_main_arena.
4399         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4400         mchunk_size instead of size.
4401         (set_non_main_arena): Define.
4402         (chunksize): Use chunksize_nomask instead of direct member access.
4403         (chunksize_nomask): Define.
4404         (next_chunk): Use chunksize instead of direct member access.
4405         (prev_size, set_prev_size): Define.
4406         (prev_chunk): Use prev_size instead of direct member access.
4407         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4408         (inuse_bit_at_offset, set_inuse_bit_at_offset)
4409         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4410         (mchunk_prev_size, mchunk_size): Poison tokens.
4411         (unlink): Use chunksize_nomask, prev_size accessors.
4412         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4413         (do_check_free_chunk): Use prev_size accessor.
4414         (sysmalloc): Use set_prev_size, set_head accessors.
4415         (munmap_chunk, mremap_chunk): Use prev_size accessor.
4416         (__libc_free): Use chunksize_nomask accessor.
4417         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4418         chunk_main_arena accessors.
4419         (_int_free): Use chunksize_nomask, prev_size accessors.
4420         (malloc_consolidate): Use chunksize, prev_size accessors.
4421         (_int_realloc): Use chunksize_nomask accessor.
4422         (_int_memalign): Use set_prev_size accessor.
4423         (__malloc_info): Use chunksize_nomask accessor.
4424         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4425         accessors.
4426         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4427         (heap_trim): Use chunksize_nomask, prev_size accessors.
4429 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4431         [BZ #19380]
4432         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4433         for inexact results.
4434         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4435         of inexact result where mpfr_subnormalize is the only inexact
4436         step.
4437         * stdlib/tst-strtod-round-data.h: Regenerated.
4438         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4439         Define to 0.
4440         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4442 2016-10-27  David S. Miller  <davem@davemloft.net>
4444         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4446 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4448         * malloc/malloc.c (do_set_mallopt_check): New function.
4449         (do_set_mmap_threshold): Likewise.
4450         (do_set_mmaps_max): Likewise.
4451         (do_set_top_pad): Likewise.
4452         (do_set_perturb_byte): Likewise.
4453         (do_set_trim_threshold): Likewise.
4454         (do_set_arena_max): Likewise.
4455         (do_set_arena_test): Likewise.
4456         (__libc_mallopt): Use them.
4458 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
4460         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4461         (canonicalize): New declaration.
4462         * math/Versions (canonicalize): New libm symbol at version
4463         GLIBC_2.25.
4464         (canonicalizef): Likewise.
4465         (canonicalizel): Likewise.
4466         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4467         * math/s_canonicalize_template.c: New file.
4468         * math/libm-test.inc: Update comment on functions tested and
4469         testing of NaN payloads.
4470         (TEST_NAN_PAYLOAD): New macro.
4471         (NO_TEST_INLINE): Update value.
4472         (XFAIL_TEST): Likewise.
4473         (ERRNO_UNCHANGED): Likewise.
4474         (ERRNO_EDOM): Likewise.
4475         (ERRNO_ERANGE): Likewise.
4476         (IGNORE_RESULT): Likewise.
4477         (NON_FINITE): Likewise.
4478         (TEST_SNAN): Likewise.
4479         (NO_TEST_MATHVEC): Likewise.
4480         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4481         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4482         (struct test_Ffp_b1_data): New type.
4483         (RUN_TEST_Ffp_b1): New macro.
4484         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4485         (canonicalize_test_data): New array.
4486         (canonicalize_test): New function.
4487         (main): Call canonicalize_test.
4488         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4489         canonicalizef and canonicalizel.
4490         * manual/libm-err-tab.pl: Update comment on interfaces without
4491         ulps tabulated.
4492         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4493         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4494         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4495         canonicalize.
4496         (CFLAGS-nldbl-canonicalize.c): New variable.
4497         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4498         to ...
4499         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4500         ... here.
4501         (do_test): Also test canonicalizel.
4502         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4503         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4504         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4505         file.
4506         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4507         Use libm_hidden_def.
4508         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4509         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4510         (do_test): Also test canonicalizel.
4511         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4512         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4513         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4514         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4515         libm_hidden_def.
4516         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4517         macro.
4518         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4519         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4520         * sysdeps/nacl/libm.abilist: Update.
4521         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4522         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4523         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4524         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4525         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4526         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4527         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4528         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4529         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4530         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4531         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4532         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4534         Likewise.
4535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4536         Likewise.
4537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4538         Likewise.
4539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4540         Likewise.
4541         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4542         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4543         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4544         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4545         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4547         Likewise.
4548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4549         Likewise.
4550         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4551         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4552         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4554         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4555         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4556         getpayload.
4557         (CFLAGS-nldbl-getpayload.c): New variable.
4559 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4561         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
4562         integer from the format string.
4564 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4566         [BZ #19473]
4567         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
4568         declarations.
4569         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
4570         weak aliases.
4571         * malloc/hooks.c (__malloc_get_state): Remove definition.
4572         (malloc_get_state): New stub implementation as
4573         compatibility symbol.
4574         (malloc_set_state): Rename from __malloc_set_state.  Turn into
4575         compat symbol.
4576         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
4577         malloc_set_state.
4578         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4580 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4582         * iconvdata/iso646.c (enum variant): Drop illegal_var.
4583         (names): Turn into concatenation of strings.
4584         (gconv_init): Adapt iteration over names.
4586 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4588         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4589         make const.
4590         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4591         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4592         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4593         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4594         character in sbconv.
4595         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4596         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4597         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4599 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4601         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4603         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4604         (M_TRIM_THRESHOLD): Likewise.
4606         * manual/memory.texi (M_ARENA_TEST): Add documentation.
4607         (M_ARENA_MAX): Likewise.
4608         * malloc/malloc.c: Remove obsolete comment.
4610         * manual/memory.texi: Add environment variable alternatives to
4611         setting mallopt parameters.
4613 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
4615         * include/atomic.h
4616         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4617         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4619 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4621         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4622         * stdlib/tst-strfrom.h: New file.
4623         * stdlib/tst-strfrom.c: New file.
4624         * stdlib/tst-strfrom-locale.c: New file.
4626         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4627         * stdlib/bug-strtod2.c: Likewise.
4628         * stdlib/tst-strtod-round-skeleton.c: Likewise.
4629         * stdlib/tst-strtod6.c: Likewise.
4630         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4632 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4634         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4635         * manual/arith.texi: Document strfromd, strfromf, strfroml.
4636         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4637         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4638         * stdlib/stdlib.h (strfromd): New declaration.
4639         (strfromf): Likewise.
4640         (strfroml): Likewise.
4641         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
4642         strfrom.
4643         * stdlib/strfromd.c: New file.
4644         * stdlib/strfromf.c: Likewise.
4645         * stdlib/strfroml.c: Likewise.
4646         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4647         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4648         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4649         * sysdeps/arm/nacl/libc.abilist: Update.
4650         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4651         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4652         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4653         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4654         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4655         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4656         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4657         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4658         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4659         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4660         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4661         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4662         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4663         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4668         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4669         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4670         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4671         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4672         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4675         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4676         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4677         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4679 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
4681         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4682         instead of cmpli.
4683         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4684         instead of cmpli.
4686 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
4688         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4689         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4690         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4691         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4692         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4693         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4695 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4697         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4698         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4699         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4700         SYSCALL_LL64_PRW.
4701         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4702         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4703         __ASSUME_PRW_DUMMY_ARG.
4704         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4705         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4706         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4707         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4708         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4709         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4711 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4713         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4715 2016-10-22  Florian Weimer  <fweimer@redhat.com>
4717         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4718         "C++", to override a potential extern "C" directive around the
4719         header file inclusion.
4721 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
4723         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4725 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4727         * sysdeps/powerpc/fpu/fenv_private.h:
4728         (_FPU_MASK_ALL): Rename to...
4729         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4730         XE FPSCR bits.
4732         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4734         (_FPU_MASK_ROUNDING): Rename to...
4735         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4736         NI bits.
4738         (_FPU_MASK_EXCEPT_ROUND): Rename to...
4739         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4740         bits and rounding bits.
4742         (__libc_feholdbits_ppc): New inline function to mask, set,
4743         and pontentially clear FSPCR bits, and change MSR[FE] bits.
4744         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4745         (libc_feholdexcept_setround_ppc): Likewise.
4747         (__libc_femergeenv_ppc): New function to dynamically mask both
4748         old and new FP environments and merge.
4749         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4750         (libc_feresetround_ppc): Likewise.
4751         (libc_feupdateenv_test_ppc): Likewise.
4752         (libc_feupdateenv_ppc): Likewise.
4754         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4755         of ISA RN bits, and update macro names.
4756         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4757         effectively the same as the previously mentioned function.
4759         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4760         usage with fe_resetround_ppc.
4762         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4763         to be used.
4764         (libc_feholdexcept_setround_ctxf): Likewise.
4765         (libc_feholdexcept_setround_ctxl): Likewise.
4767 2016-10-21  Florian Weimer  <fweimer@redhat.com>
4769         [BZ #20715]
4770         * math/math.h [__cplusplus] (iszero): Define as function template.
4771         * math/Makefile [CXX] (tests): Add test-math-iszero.
4772         (CFLAGS-test-math-iszero.cc): Set.
4773         * math/test-math-iszero.cc: New file.
4775 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
4777         [BZ #20660]
4778         * sysdeps/arm/e_sqrt.c: New file.
4779         * sysdeps/arm/e_sqrtf.c: Likewise.
4781 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
4783         [BZ #20718]
4784         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4785         not use floating-point comparisons to test sign.
4786         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4787         Likewise.
4789         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4790         (getpayload): New declaration.
4791         * math/Versions (getpayload): New libm symbol at version
4792         GLIBC_2.25.
4793         (getpayloadf): Likewise.
4794         (getpayloadl): Likewise.
4795         * math/Makefile (libm-calls): Add s_getpayloadF.
4796         * math/libm-test.inc: Include <nan-high-order-bit.h>.
4797         (struct test_f_f_data): Add comment.
4798         (RUN_TEST_fp_f): New macro.
4799         (RUN_TEST_LOOP_fp_f): Likewise.
4800         (getpayload_test_data): New array.
4801         (getpayload_test): New function.
4802         (main): Call getpayload_test.
4803         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4804         descriptor.
4805         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4806         getpayloadf and getpayloadl.
4807         * manual/libm-err-tab.pl: Update comment on interfaces without
4808         ulps tabulated.
4809         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4810         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4811         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4812         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4813         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4814         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4815         * sysdeps/nacl/libm.abilist: Update.
4816         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4817         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4818         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4819         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4821         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4823         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4824         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4825         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4826         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4827         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4829         Likewise.
4830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4831         Likewise.
4832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4833         Likewise.
4834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4835         Likewise.
4836         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4837         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4838         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4839         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4842         Likewise.
4843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4844         Likewise.
4845         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4846         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4847         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4849 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4851         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4852         tst-fallocate{64}.
4853         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4854         on syscall return.
4856 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
4858         [BZ #20689]
4859         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4860         usable.
4862 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
4864         * sysdeps/generic/nan-high-order-bit.h: New file.
4865         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4866         * sysdeps/mips/nan-high-order-bit.h: Likewise.
4867         * sysdeps/hppa/math_private.h: Remove file.
4868         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4869         not define here.
4870         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4871         <nan-high-order-bit.h>.
4872         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4873         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4874         <nan-high-order-bit.h>.
4875         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4876         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4877         <nan-high-order-bit.h>.
4878         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4879         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4880         <nan-high-order-bit.h>.
4881         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4882         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4883         <nan-high-order-bit.h>.
4884         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4885         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4886         <nan-high-order-bit.h>.
4887         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4888         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4889         <nan-high-order-bit.h>.
4890         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4891         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4892         <nan-high-order-bit.h>.
4893         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4894         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4895         <nan-high-order-bit.h>.
4896         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4897         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4898         <nan-high-order-bit.h>.
4899         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4900         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4901         <nan-high-order-bit.h>.
4902         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4903         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4904         <nan-high-order-bit.h>.
4905         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4906         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4907         <nan-high-order-bit.h>.
4908         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4909         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4910         <nan-high-order-bit.h>.
4911         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4912         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4913         <nan-high-order-bit.h>.
4914         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4915         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4916         <nan-high-order-bit.h>.
4917         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4918         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4919         <nan-high-order-bit.h>.
4920         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4921         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4922         <nan-high-order-bit.h>.
4923         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4925 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4927         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4929 2016-09-22  John David Anglin  <dave.anglin@bell.net>
4931         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4932         abort-instr.h.
4933         (EFAULT): Remove conditional define.
4934         (ENOSYS): Likewise.
4935         (atomic_compare_and_exchange_val_acq): Use instruction nullification
4936         instead of conditional branch instructions.
4938 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
4940         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4941         (totalordermag): New declaration.
4942         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4943         New macro.
4944         * math/Versions (totalordermag): New libm symbol at version
4945         GLIBC_2.25.
4946         (totalordermagf): Likewise.
4947         (totalordermagl): Likewise.
4948         * math/Makefile (libm-calls): Add s_totalordermagF.
4949         * math/libm-test.inc (totalordermag_test_data): New array.
4950         (totalordermag_test): New function.
4951         (main): Call totalordermag_test.
4952         * math/test-tgmath.c (NCALLS): Increase to 125.
4953         (F(compile_test)): Call totalordermag.
4954         (F(totalordermag)): New function.
4955         * manual/arith.texi (FP Comparison Functions): Document
4956         totalordermag, totalordermagf and totalordermagl.
4957         * manual/libm-err-tab.pl: Update comment on interfaces without
4958         ulps tabulated.
4959         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4960         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4961         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4962         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4963         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4964         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4965         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4966         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4967         totalordermag.
4968         (CFLAGS-nldbl-totalordermag.c): New variable.
4969         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4970         (do_test): Also test totalordermagl.
4971         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4972         Likewise.
4973         * sysdeps/nacl/libm.abilist: Update.
4974         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4975         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4976         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4977         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4978         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4979         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4980         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4981         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4982         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4983         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4984         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4985         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4987         Likewise.
4988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4989         Likewise.
4990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4991         Likewise.
4992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4993         Likewise.
4994         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4995         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4996         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4997         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4998         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5000         Likewise.
5001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5002         Likewise.
5003         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5004         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5005         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5007 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
5009         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
5010         boolean.
5012 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
5014         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
5015         raising FE_INVALID with feraisexcept in case where part of
5016         argument is infinite, subtract that part of argument from itself.
5017         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
5018         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
5019         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5021 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
5023         * math/libm-test.inc (totalorder_test_data): Add more tests.
5025 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5027         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5028         Undefine weak_alias and add a comment why mips64 require
5029         versioning.
5031 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
5033         [BZ #20647]
5034         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5035         maximum CPUID level is less than 2.
5037 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
5039         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5040         (totalorder): New declaration.
5041         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5042         New macro.
5043         * math/Versions (totalorder): New libm symbol at version
5044         GLIBC_2.25.
5045         (totalorderf): Likewise.
5046         (totalorderl): Likewise.
5047         * math/Makefile (libm-calls): Add s_totalorderF.
5048         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5049         string.
5050         * math/libm-test.inc (PAYLOAD_DIG): New macro.
5051         (qnan_value_pl): Likewise.
5052         (snan_value_pl): Likewise.
5053         (qnan_value): Define using qnan_value_pl.
5054         (snan_value): Define using snan_value_pl.
5055         (struct test_ff_i_data): Add comment about which tests use this
5056         structure.
5057         (RUN_TEST_ff_b): New macro.
5058         (RUN_TEST_LOOP_ff_b): Likewise.
5059         (totalorder_test_data): New array.
5060         (totalorder_test): New function.
5061         (main): Call totalorder_test.
5062         * math/test-tgmath.c (NCALLS): Increase to 122.
5063         (F(compile_test)): Call totalorder.
5064         (F(totalorder)): New function.
5065         * manual/arith.texi (FP Comparison Functions): Document
5066         totalorder, totalorderf and totalorderl.
5067         * manual/libm-err-tab.pl: Update comment on interfaces without
5068         ulps tabulated.
5069         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5070         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5071         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5072         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5073         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5074         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5075         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5076         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5077         totalorder.
5078         (CFLAGS-nldbl-totalorder.c): New variable.
5079         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5080         file.
5081         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5082         Add test-totalorderl-ldbl-128ibm.
5083         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5084         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5085         test-totalorderl-ldbl-96.
5086         * sysdeps/nacl/libm.abilist: Update.
5087         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5088         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5089         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5090         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5091         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5092         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5093         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5094         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5095         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5096         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5097         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5098         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5100         Likewise.
5101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5102         Likewise.
5103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5104         Likewise.
5105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5106         Likewise.
5107         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5108         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5109         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5110         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5111         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5113         Likewise.
5114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5115         Likewise.
5116         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5117         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5118         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5120 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5122         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5123         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5124         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5125         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5126         remove ENOSYS implementation.
5127         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5128         Consolidate all Linux implementations.
5130 2016-10-11  Florian Weimer  <fweimer@redhat.com>
5132         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5133         * resolv/herror.c (herror): Cast away const-ness.
5134         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5135         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5137 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
5139         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5140         instead of M_NAN + M_NAN.
5141         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5143 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5145         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5146         unused variable 'p'.
5148 2016-10-09  Alan Modra  <amodra@gmail.com>
5149             Andreas Schwab  <schwab@linux-m68k.org>
5151         [BZ #20554]
5152         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5153         [PIC && !SHARED]: Set up PIC register for PLT call.
5155 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
5157         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5158         conditional on value of [__FLT_EVAL_METHOD__].
5159         * math/test-iseqsig-excess-precision.c: New file.
5160         * math/Makefile (tests): Add test-iseqsig-excess-precision.
5162 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5164         * math/s_iseqsig_template.c: Include math-private.h.
5166         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5167         * posix/tst-posix_fadvise.c: New file.
5168         * posix/tst-posix_fadvise64.c: Likewise.
5169         * posix/tst-posix_fadvise-common.c: Likewise.
5170         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5171         (__ASSUME_FADVISE64_64_6ARG): Define.
5172         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5173         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5174         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5175         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5176         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5177         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5178         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5179         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5180         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5181         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5182         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5183         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5186         Likewise.
5187         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5188         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5189         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5190         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5191         Alias to __posix_fadvise64_l32.
5192         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5193         Add compat definition to posix_fadvise64.
5194         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5195         Add versioned definition to posix_fadvise64.
5196         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5197         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5198         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5199         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5200         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5202         * io/Makefile (tests): Add tst-posix_fallocate and
5203         tst-posix_fallocate64.
5204         * io/tst-posix_fallocate-common.c: New file.
5205         * io/tst-posix_fallocate.c: Likewise.
5206         * io/tst-posix_fallocate64.c: Likewise.
5207         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5208         file.
5209         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5210         Likewise.
5211         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5212         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5213         Likewise.
5214         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5215         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5216         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5217         SYSCALL_LL to pass both offset and len arguments.
5218         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5219         Likewise.
5220         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5221         __libc_pwrite64 alias used by posix_fallocate64.
5223         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5224         tst-fallocate64.
5225         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5226         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5227         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5228         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5229         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5230         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5231         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5232         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5233         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5234         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5235         macro on offset argument.
5236         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5237         SYSCALL_LL64 on offset argument.
5239         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5240         tst-fallocate64.
5241         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5242         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5243         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5244         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5245         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5246         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5247         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5248         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5249         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5250         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5251         macro on offset argument.
5252         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5253         SYSCALL_LL64 on offset argument.
5254         * test-skeleton.c (FAIL_RET): Add macro.
5255         (FAIL_EXIT): Likewise.
5256         (FAIL_EXIT1): Likewise.
5257         (_FAIL): Likewise.
5259 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5261         [BZ #20629]
5262         resolv: Remove RES_USEBSTRING and its implementation.
5263         * resolv/resolv.h (RES_USEBSTRING): Remove.
5264         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5265         (digitvalue, encode_bitstring, decode_bitstring): Remove.
5266         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5267         (labellen): Remove extended label types support.
5268         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5269         * resolv/res_init.c (res_setoptions): Likewise.
5270         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5272 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5274         resolv: Remove RES_NOIP6DOTINT and its implementation.
5275         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5276         (RES_NOIP6DOTINT): Remove.
5277         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5278         handling.
5279         * resolv/res_debug.c (p_option): Likewise.
5280         * resolv/res_init.c (res_setoptions): Likewise.
5281         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5283 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5285         resolv: Deprecate unimplemented flags.
5286         * misc/sys/cdefs.h (__glibc_macro_warning1)
5287         (__glibc_macro_warning): Define.
5288         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5289         (RES_KEEPTSIG): Mark as deprecated.
5290         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5291         RES_NOCHECKNAME, RES_KEEPTSIG.
5292         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5294 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5296         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5297         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5298         Use strong_alias to create symbols for glibc verison 2.19.
5300 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5302         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5304 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5306         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5308 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5310         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5312 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5314         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5315         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5316         in header for using it as type for ifunc function because __GI_* symbols
5317         for ppc32 do not target the ifunc symbols.
5318         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5320 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5322         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5323         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5324         libc_ifunc_hidden_def.
5325         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5326         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5327         Redirect ifunced function in header for using it as type of ifunc'ed
5328         function. Redefine libc_hidden_def to use fallback non ifunc'ed
5329         function for __GI_* symbol.
5330         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5331         * include/libc-symbols.h
5332         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5334 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5336         [BZ #20478]
5337         * sysdeps/s390/multiarch/ifunc-resolve.h
5338         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5339         to create ifunc symbols.
5340         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5341         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5342         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5343         for using it as type for ifunc function.
5344         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5345         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5346         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5347         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5348         * sysdeps/s390/multiarch/strcat.c: Likewise.
5349         * sysdeps/s390/multiarch/strchr.c: Likewise.
5350         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5351         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5352         * sysdeps/s390/multiarch/strcspn.c: Likewise.
5353         * sysdeps/s390/multiarch/strlen.c: Likewise.
5354         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5355         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5356         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5357         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5358         * sysdeps/s390/multiarch/strrchr.c: Likewise.
5359         * sysdeps/s390/multiarch/strspn.c: Likewise.
5360         * sysdeps/s390/multiarch/wcschr.c: Likewise.
5361         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5362         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5363         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5364         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5365         * sysdeps/s390/multiarch/wmemset.c: Likewise.
5366         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5367         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5368         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5369         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5370         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5371         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5373 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5375         * include/libc-symbols.h (__ifunc_resolver):
5376         New macro is used by __ifunc* macros.
5377         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5378         depending on HAVE_GCC_IFUNC.
5379         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5380         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5382         Redirect ifunced function in header for using as type for ifunc function.
5383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5387         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5388         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5389         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5390         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5391         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5392         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5393         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5394         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5395         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5396         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5402         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5403         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5404         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5405         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5406         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5407         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5408         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5409         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5410         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5411         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5412         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5413         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5414         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5415         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5417         Add libc_hidden_def() and use libc_ifunc_hidden() macro
5418         instead of libc_ifunc() macro.
5419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5420         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5422 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5424         * config.h.in (HAVE_GCC_IFUNC): New undef.
5425         * configure.ac: Add check if gcc supports attribute ifunc feature.
5426         * configure: Regenerated.
5427         * manual/install.texi: Add recommendation for gcc with
5428         indirect-function support.
5429         * INSTALL: Regenerated.
5431 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
5433         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5434         macro.
5435         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5436         (__iseqsig): New declaration.
5437         * math/s_iseqsig_template.c: New file.
5438         * math/Versions (__iseqsigf): New libm symbol at version
5439         GLIBC_2.25.
5440         (__iseqsig): Likewise.
5441         (__iseqsigl): Likewise.
5442         * math/libm-test.inc (iseqsig_test_data): New array.
5443         (iseqsig_test): New function.
5444         (main): Call iseqsig_test.
5445         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5446         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5447         * manual/libm-err-tab.pl: Update comment on interfaces without
5448         ulps tabulated.
5449         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5450         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5451         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5452         * sysdeps/nacl/libm.abilist: Update.
5453         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5454         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5455         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5456         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5457         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5458         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5459         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5460         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5461         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5462         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5463         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5464         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5466         Likewise.
5467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5468         Likewise.
5469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5470         Likewise.
5471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5472         Likewise.
5473         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5474         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5475         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5476         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5477         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5479         Likewise.
5480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5481         Likewise.
5482         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5483         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5484         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5486 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5488         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5489         do_sincos_2, sloww, sloww1): Update comments.
5491         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5492         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5494         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5495         K boolean and rename it.
5496         (__sin): Adjust.
5497         (__cos): Adjust.
5499 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
5500             Siddhesh Poyarekar  <siddhesh@sourceware.org>
5502         * manual/nss.texi: Fix typos in the manual.
5504 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
5506         * manual/contrib.texi: Fix typos in the manual.
5508         * manual/maint.texi: Fix typos in the manual.
5510         * manual/install.texi: Fix typos in the manual.
5511         * INSTALL: Regenerated.
5513         * manual/lang.texi: Fix typos in the manual.
5515         * manual/probes.texi: Fix typos in the manual.
5517         * manual/threads.texi: Fix typos in the manual.
5519         * manual/debug.texi: Fix typos in the manual.
5521         * manual/crypt.texi: Fix typos in the manual.
5523         * manual/conf.texi: Fix typos in the manual.
5525         * manual/sysinfo.texi: Fix typos in the manual.
5527         * manual/users.texi: Fix typos in the manual.
5529         * manual/job.texi: Fix typos in the manual.
5531         * manual/process.texi: Fix typos in the manual.
5533         * manual/argp.texi: Fix typos in the manual.
5534         * manual/getopt.texi: Likewise.
5535         * manual/startup.texi: Likewise.
5537         * manual/signal.texi: Fix typos in the manual.
5539         * manual/setjmp.texi: Fix typos in the manual.
5541         * manual/resource.texi: Fix typos in the manual.
5543         * manual/time.texi: Fix typos in the manual.
5545         * manual/arith.texi: Fix typos in the manual.
5547         * manual/math.texi: Fix typos in the manual.
5549         * manual/syslog.texi: Fix typos in the manual.
5551         * manual/terminal.texi: Fix typos in the manual.
5553         * manual/socket.texi: Fix typos in the manual.
5555         * manual/filesys.texi: Fix typos in the manual.
5557         * manual/llio.texi: Fix typos in the manual.
5559         * manual/stdio.text: Fix typos in the manual.
5561 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5563         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
5564         instead of K1.
5566         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
5567         SHIFT_QUADRANT and make it bool.
5568         (do_sincos_2): Likewise.
5569         (sloww): Likewise.
5570         (sloww1): Likewise.
5571         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
5572         (__cos): Likewise.
5574 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5576         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5578 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
5580         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5581         Define to __WORDSIZE, not conditional on [LONG_MAX ==
5582         0x7fffffffL].
5583         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5585 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5587         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5588         inline by __inline__.
5589         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5590         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5591         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5592         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5593         sigset_t from signal.h.
5594         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5595         which is already required.
5597 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5599         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5601 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
5603         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5604         (struct tcp_repair_window): New type.
5606 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5608         * libio/tst-memstream3.c: Include string.h.
5610 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5612         [BZ #18241]
5613         [BZ #20181]
5614         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5615         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5616         write position is at the end the buffer.
5617         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5618         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5619         (_IO_str_seekoff): Set correct offset from negative displacement and
5620         set EINVAL for invalid ones.
5621         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5622         buffer length.
5623         (_IO_wstr_switch_to_get_mode): New function.
5624         (_IO_wstr_seekoff): Set correct offset from negative displacement and
5625         set EINVAL for invalid ones.
5626         * libio/tst-memstream3.c: New file.
5627         * libio/tst-wmemstream3.c: Likewise.
5628         * manual/examples/memstrm.c: Remove warning when priting size_t.
5630 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5632         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5633         macro to use __builtin_fma.
5634         * sysdeps/x86_64/fpu/dla.h: Remove file.
5636         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5637         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5638         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5640 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
5642         [BZ #20292]
5643         * elf/Makefile (routines): Add dl-addr-obj.
5644         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5645         tst-_dl_addr_inside_object.
5646         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5647         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5648         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5649         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5650         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5651         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5652         * elf/dl-open.c: Likewise.
5653         * elf/dl-addr-obj.c: New file.
5654         * elf/tst-_dl_addr_inside_object.c: New file.
5656 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5658         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5659         <bits/iscanonical.h>.
5660         * bits/iscanonical.h: New file.
5661         * math/s_iscanonicall.c: Likewise.
5662         * math/Versions (__iscanonicall): New libm symbol at version
5663         GLIBC_2.25.
5664         * math/libm-test.inc (iscanonical_test_data): New array.
5665         (iscanonical_test): New function.
5666         (main): Call iscanonical_test.
5667         * math/Makefile (headers): Add bits/iscanonical.h.
5668         (type-ldouble-routines): Add s_iscanonicall.
5669         * manual/arith.texi (Floating Point Classes): Document
5670         iscanonical.
5671         * manual/libm-err-tab.pl: Update comment on interfaces without
5672         ulps tabulated.
5673         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5674         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5675         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5676         Likewise.
5677         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5678         test-iscanonical-ldbl-128ibm.
5679         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5680         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5681         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5682         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5683         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5684         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5685         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5687         Likewise.
5688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5689         Likewise.
5690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5691         Likewise.
5692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5693         Likewise.
5694         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5695         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5697 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5699         * string/bits/string3.h: Remove C++ style comments.
5701 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5703         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5704         instead of ternary condition.
5705         (do_sincos_2): Likewise.
5706         (__sin): Likewise.
5707         (__cos): Likewise.
5708         (slow): Likewise.
5709         (sloww): Likewise.
5710         (sloww1): Likewise.
5711         (bsloww): Likewise.
5712         (bsloww1): Likewise.
5714         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5715         instead of ternary condition.
5716         (do_sin_slow): Likewise.
5717         (do_sincos_1): Likewise.
5718         (do_sincos_2): Likewise.
5719         (__cos): Likewise.
5720         (sloww): Likewise.
5721         (sloww1): Likewise.
5722         (sloww2): Likewise.
5723         (bsloww): Likewise.
5724         (bsloww1): Likewise.
5725         (bsloww2): Likewise.
5727         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5728         check from here...
5729         (slow2): ... and here...
5730         (__sin): ... to here.
5732 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
5734         * math/math.h
5735         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5736         Cast argument to its own type.
5737         * math/test-iszero-excess-precision.c: New file.
5738         * math/Makefile (tests): Add test-iszero-excess-precision.
5739         (CFLAGS-test-iszero-excess-precision.c): New variable.
5741 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
5743         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5744         field, add err field.
5745         (__spawni_child): Report error through err member instead of pipe.
5746         (__spawnix): Likewise.
5748 2016-09-28  Zack Weinberg  <zackw@panix.com>
5750         * scripts/check-installed-headers.sh: Generalize treatment of
5751         sys/elf.h to all target architectures.
5753         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5754         deleted typedef ucontext_t.
5756 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5758         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5759         (__INTERNAL_SYSCALL1): Likewise.
5760         (__INTERNAL_SYSCALL2): Likewise.
5761         (__INTERNAL_SYSCALL3): Likewise.
5762         (__INTERNAL_SYSCALL4): Likewise.
5763         (__INTERNAL_SYSCALL5): Likewise.
5764         (__INTERNAL_SYSCALL6): Likewise.
5765         (__INTERNAL_SYSCALL7): Likewise.
5766         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5767         (__INTERNAL_SYSCALL_NARGS): Likewise.
5768         (__INTERNAL_SYSCALL_DISP): Likewise.
5769         (INTERNAL_SYSCALL_CALL): Likewise.
5770         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5771         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5772         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5773         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5774         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5775         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5776         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5777         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5778         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5779         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5780         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5781         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5782         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5784 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
5786         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5787         macro.
5788         * math/libm-test.inc (iszero_test_data): New array.
5789         (iszero_test): New function.
5790         (main): Call iszero_test.
5791         * manual/arith.texi (Floating Point Classes): Document iszero.
5792         * manual/libm-err-tab.pl: Update comment on interfaces without
5793         ulps tabulated.
5795 2016-09-23  Zack Weinberg  <zackw@panix.com>
5797         * scripts/check-installed-headers.sh: New script.
5798         * Rules: In each directory that defines header files to be installed,
5799         run check-installed-headers.sh on them as a special test.
5800         * Makefile: Likewise for the headers installed at top level.
5802         * include/aliases.h, include/alloca.h, include/argz.h
5803         * include/arpa/nameser.h, include/arpa/nameser_compat.h
5804         * include/elf.h, include/envz.h, include/err.h
5805         * include/execinfo.h, include/fpu_control.h, include/getopt.h
5806         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5807         * include/link.h, include/malloc.h, include/mcheck.h
5808         * include/mntent.h, include/netinet/ether.h
5809         * include/nss.h, include/obstack.h, include/printf.h
5810         * include/pty.h, include/resolv.h, include/rpc/auth.h
5811         * include/rpc/auth_des.h, include/rpc/auth_unix.h
5812         * include/rpc/clnt.h, include/rpc/des_crypt.h
5813         * include/rpc/key_prot.h, include/rpc/netdb.h
5814         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5815         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5816         * include/rpc/rpc_msg.h, include/rpc/svc.h
5817         * include/rpc/svc_auth.h, include/rpc/xdr.h
5818         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5819         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5820         * include/rpcsvc/ypupd.h, include/shadow.h
5821         * include/stdio_ext.h, include/sys/epoll.h
5822         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5823         * include/sys/prctl.h, include/sys/profil.h
5824         * include/sys/statfs.h, include/sys/sysctl.h
5825         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5826         * sysdeps/arm/nacl/include/bits/setjmp.h
5827         * sysdeps/mips/include/sys/asm.h
5828         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5829         * sysdeps/unix/sysv/linux/include/sys/timex.h
5830         * sysdeps/x86/fpu/include/bits/fenv.h:
5831         Add #ifndef _ISOMAC guard around internal declarations.
5832         Add multiple-inclusion guard if not already present.
5834 2016-09-23  Zack Weinberg  <zackw@panix.com>
5836         * sysdeps/generic/sys/ucontext.h
5837         * sysdeps/arm/sys/ucontext.h
5838         * sysdeps/i386/sys/ucontext.h
5839         * sysdeps/m68k/sys/ucontext.h
5840         * sysdeps/mips/sys/ucontext.h
5841         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5842         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5843         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5844         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5845         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5846         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5847         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5848         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5849         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5850         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5851         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5852         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5853         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5854         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5855         Include both bits/sigcontext.h and bits/sigstack.h.
5856         Fix grammar error in comment, if present.
5858         * bits/sigstack.h
5859         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5860         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5861         * sysdeps/unix/sysv/linux/bits/sigstack.h
5862         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5863         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5864         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5865         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5866         * bits/sigcontext.h
5867         * sysdeps/mach/hurd/i386/bits/sigcontext.h
5868         * sysdeps/unix/sysv/linux/bits/sigcontext.h
5869         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5870         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5871         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
5872         as well as signal.h, if this was not already allowed.  Request
5873         definition of size_t if necessary.  Minimize semantically-null
5874         differences across files.
5876 2016-09-23  Zack Weinberg  <zackw@panix.com>
5878         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5879         Remove all logic conditional on __need macros.  Move all the
5880         conditionally defined types to their own headers...
5881         * time/bits/types/clock_t.h: Define clock_t here.
5882         * time/bits/types/clockid_t.h: Define clockid_t here.
5883         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5884         * time/bits/types/struct_timespec.h: Define struct timespec here.
5885         * time/bits/types/struct_timeval.h: Define struct timeval here.
5886         * time/bits/types/struct_tm.h: Define struct tm here.
5887         * time/bits/types/time_t.h: Define time_t here.
5888         * time/bits/types/timer_t.h: Define timer_t here.
5889         * time/Makefile: Install the new headers.
5891         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5892         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5893         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5894         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5895         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5896         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5897         * sysdeps/unix/sysv/linux/bits/resource.h
5898         * sysdeps/unix/sysv/linux/bits/timex.h
5899         * sysdeps/unix/sysv/linux/mips/bits/resource.h
5900         * sysdeps/unix/sysv/linux/net/ppp_defs.h
5901         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5902         * sysdeps/unix/sysv/linux/sys/acct.h
5903         * sysdeps/unix/sysv/linux/sys/timerfd.h
5904         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5905         * time/sys/time.h, time/sys/timeb.h
5906         Use the new bits/types headers.
5908         * include/time.h: Remove __need logic.
5909         * include/bits/time.h
5910         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5911         * include/bits/types/time_t.h, include/bits/types/timer_t.h
5912         * include/bits/types/struct_itimerspec.h
5913         * include/bits/types/struct_timespec.h
5914         * include/bits/types/struct_timeval.h
5915         * include/bits/types/struct_tm.h:
5916         New wrapper headers.
5918 2016-09-23  Zack Weinberg  <zackw@panix.com>
5920         * sysdeps/mach/hurd/net/if_ppp.h
5921         * sysdeps/unix/sysv/linux/net/if_ppp.h:
5922         Only define struct ifpppstatsreq and struct ifpppcstatsreq
5923         if __USE_MISC is defined, to ensure struct ifreq is declared.
5925         * inet/netinet/ether.h: Condition all function prototypes
5926         on __USE_MISC, to ensure struct ether_addr is declared.
5928         * socket/bits/types/struct_osockaddr.h: New header.
5929         * include/bits/types/struct_osockaddr.h: New wrapper.
5930         * socket/Makefile: Install the new header.
5931         * socket/sys/socket.h, inet/protocols/talkd.h:
5932         Refer to bits/types/struct_osockaddr.h for the definition of
5933         struct osockaddr.
5935 2016-09-23  Zack Weinberg  <zackw@panix.com>
5937         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5938         * inet/protocols/routed.h, inet/protocols/talkd.h
5939         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5940         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5941         * sysdeps/generic/netinet/if_ether.h
5942         * sysdeps/generic/netinet/in_systm.h
5943         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5944         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5945         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5946         * sysdeps/mach/hurd/net/if_arp.h
5947         * sysdeps/mach/hurd/net/if_ppp.h
5948         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5949         * sysdeps/unix/sysv/linux/bits/in.h
5950         * sysdeps/unix/sysv/linux/net/ethernet.h
5951         * sysdeps/unix/sysv/linux/net/if_arp.h
5952         * sysdeps/unix/sysv/linux/net/if_ppp.h
5953         * sysdeps/unix/sysv/linux/net/if_shaper.h
5954         * sysdeps/unix/sysv/linux/net/route.h
5955         * sysdeps/unix/sysv/linux/netinet/if_ether.h
5956         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5957         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5958         * sysdeps/unix/sysv/linux/netipx/ipx.h
5959         * sysdeps/unix/sysv/linux/sys/acct.h
5960         * include/arpa/nameser.h, include/resolv.h:
5961         Change all uses of u_char to unsigned char,
5962         u_short and ushort to unsigned short, u_int and uint to unsigned int,
5963         u_long and ulong to unsigned long, u_int8_t to uint8_t,
5964         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5965         and u_int64_t and u_quad_t to uint64_t.
5967         * mach/sys/reboot.h: Remove two casts of integer literals
5968         to the types they already have.
5970         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5971         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5972         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5973         from referring to 'unsigned char' to 'uint8_t' for consistency with
5974         the macro definition below.
5976         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5977         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5978         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5979         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5980         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5981         * sysdeps/unix/sysv/linux/sys/acct.h
5982         * include/arpa/nameser.h, include/resolv.h:
5983         Fix indentation disrupted by mechanical edits.
5985         * inet/protocols/talkd.h, resolv/arpa/nameser.h
5986         * sysdeps/generic/netinet/in_systm.h
5987         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5988         * sysdeps/gnu/netinet/udp.h
5989         * sysdeps/unix/sysv/linux/net/ethernet.h
5990         * sysdeps/unix/sysv/linux/net/if_arp.h
5991         * sysdeps/unix/sysv/linux/net/if_ppp.h
5992         * sysdeps/unix/sysv/linux/net/if_shaper.h
5993         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5994         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5995         * sysdeps/unix/sysv/linux/netipx/ipx.h
5996         * sysdeps/unix/sysv/linux/sys/acct.h
5997         Include stdint.h for uintNN_t definitions.
5998         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
6000 2016-09-23  Zack Weinberg  <zackw@panix.com>
6002         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
6003         * sysdeps/unix/sysv/linux/netrose/rose.h:
6004         Include sys/socket.h and netax25/ax25.h.
6006         * inet/netinet/icmp6.h, inet/netinet/ip6.h
6007         * resolv/arpa/nameser_compat.h:
6008         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
6010         * sysdeps/unix/sysv/linux/sys/quota.h:
6011         Use __caddr_t instead of caddr_t.
6012         * sysdeps/unix/sysv/linux/sys/timerfd.h:
6013         Use __clockid_t instead of clockid_t.
6015         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
6017         * argp/argp.h: Check whether _LIBC is defined before expanding it.
6018         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
6019         expanding it.
6021         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
6022         Define __glibc_c99_flexarr_available to 1 when the compiler
6023         supports C99-compatible flexible array members, 0 otherwise.
6024         * sysdeps/unix/sysv/linux/bits/socket.h
6025         * sysdeps/mach/hurd/bits/socket.h
6026         * bits/socket.h: Use __glibc_c99_flexarr_available in
6027         definitions of struct cmsghdr and CMSG_DATA.
6029 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6031         * manual/nss.texi (NSS Modules Interface): Adjust function return
6032         type to enum nss_status.  Document errnop argument.  Clarify
6033         h_errnop semantics.  Fix cross-reference formatting.
6034         (NSS Module Function Internals): Mention that *errnop needs to be
6035         set on failure, but not to zero.
6037 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6039         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6040         (get_random_name): New functions.
6041         (check_wrapper_flags_mode): Use linkat to give the new file a name
6042         determined by get_random_name.
6043         (do_test): Add calls to test open64 and openat64.
6045 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6047         * test-skeleton.c: Remove #include <stdarg.h>.
6049 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
6051         [BZ #19826]
6052         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6053         initialization of static TLS entries.
6054         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6055         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6057 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6059         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6060         _hurd_malloc_fork_prepare.
6061         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6062         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6063         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6064         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6065         (_hurd_fork_child_hook): Drop malloc_fork_child.
6066         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6067         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6068         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6069         after locking locks (notably hurd_dtable_lock). Call
6070         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6071         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6072         __malloc_fork_unlock_child.
6073         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6075 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
6077         * soft-fp/extendhftf2.c: New.
6078         * soft-fp/fixhfti.c: Likewise.
6079         * soft-fp/fixunshfti.c: Likewise.
6080         * soft-fp/floattihf.c: Likewise.
6081         * soft-fp/floatuntihf.c: Likewise.
6082         * soft-fp/half.h: Likewise.
6083         * soft-fp/trunctfhf2.c: Likewise.
6085 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
6087         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6088         macro.
6089         * math/libm-test.inc (issubnormal_test_data): New array.
6090         (issubnormal_test): New function.
6091         * manual/arith.texi (Floating Point Classes): Document
6092         issubnormal.
6093         * manual/libm-err-tab.pl: Update comment on interfaces without
6094         ulps tabulated.
6096         * sysdeps/generic/stdint.h: Define
6097         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6098         <bits/libc-header-start.h> instead of including <features.h>.
6099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6105         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6106         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6108         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6110         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6111         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6112         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6113         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6114         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6115         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6116         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6117         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6118         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6119         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6120         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6121         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6122         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6123         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6124         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6125         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6126         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6127         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6128         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6129         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6130         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6131         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6132         * manual/arith.texi (Integers): Document these macros for types
6133         specified by width properties.
6134         * manual/lang.texi (Width of Type): Document these macros for
6135         other standard typedefs.
6136         * stdlib/tst-width-stdint.c: New file.
6137         * stdlib/Makefile (tests): Add tst-width-stdint.
6139 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6141         [BZ #20016]
6142         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6143         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6144         Move ...
6145         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6146         ... here, as compatibility symbols in a new file.
6147         * resolv/Makefile (libresolv-routines): Add compat-hooks.
6148         * resolv/res_init.c (__res_vinit): Adjust member names.
6149         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6150         * resolv/resolv.h (res_sendhookact, res_send_qhook)
6151         (res_send_rhook): Remove.
6152         (struct __res_state): Rename qhook, rhook members.
6154 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6156         malloc: Use __libc_lock wrappers.
6157         * malloc/arena.c (list_lock, free_list_lock): Define using
6158         __libc_lock_define_initialized.
6159         (arena_lock): Adjust formatting.
6160         * malloc/malloc.c (struct malloc_state): Define mutex using
6161         __libc_lock_define.
6162         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6163         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6164         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6165         (mutex_unlock, mutex_trylock): Remove.
6166         (__pthread_initialize): Remove unused macro.
6167         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6168         (mutex_unlock, mutex_trylock): Remove.
6170 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6172         [BZ #20592]
6173         Remove RR type classification macros.
6174         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6175         (ns_t_udp_p, ns_t_xfr_p): Remove.
6177 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6179         Remove misleading version information.
6180         * resolv/arpa/nameser.h (__NAMESER): Remove.
6181         * resolv/arpa/nameser_compat.h (__BIND): Remove.
6183 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6185         Remove the always-defined BIND_4_COMPAT macro.
6186         * resolv/arpa/nameser.h: Unconditionally include
6187         <arpa/nameser_compat.h>.
6188         (BIND_4_COMPAT): Remove.
6189         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6191 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6193         [BZ #20591]
6194         Remove obsolete DNSSEC support.
6195         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6196         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6197         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6198         (ns_verify_tcp, ns_verify_tcp_init): Remove.
6199         (ns_cert_types): Add comment.
6200         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6201         separately.
6202         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6203         (dst_s_dns_key_id): Remove.
6204         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6205         variables.
6207 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6209         [BZ #20524]
6210         * manual/string.texi (String/Array Comparison): Clarify the
6211         strverscmp behavior.
6213 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6215         * test-skeleton.c (xasprintf): Add function.
6216         * io/tst-open-tmpfile.c: New test.
6217         * io/Makefile (tests): Add it.
6219 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6221         Avoid running $(CXX) during build to obtain header file paths.
6222         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6223         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6224         * Makerules (cstdlib, cmath): Remove variables.  Use
6225         $(c++-cstdlib-header), $(c++-cmath-header) instead.
6226         * configure: Regenerate.
6228 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6230         * Makeconfig (all-object-suffixes): Include .op only if
6231         $(build-profile).
6233 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6235         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6236         conditionals.  Do not define PATH_MAX.
6238 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6240         * posix/Makefile (tests): Add tst-spawn3.
6241         * posix/tst-spawn3.c: New file.
6242         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6243         if it is already opened for open action.
6245         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6246         all signals when executing the clone vfork child.
6247         (SIGALL_SET): Remove macro.
6249         * nptl/Makefile (tests): Add tst-exec5.
6250         * nptl/tst-exec5.c: New file.
6251         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6252         asynchronous cancellation.
6254 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6256         * hurd/exc2signal.c: #include <hurd/signal.h>
6257         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6258         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
6259         accordingly.
6260         * mach/mach_error.c (mach_error): Fix old-style function definition.
6261         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6263 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6265         * math/Makefile (libm-calls): Remove s_nanF.
6266         (gen-libm-calls): Add s_nanF.
6268         * math/s_nan.c: Refactor into ...
6269         * math/s_nan_template.c: New file.
6271         * math/s_nanf.c: Removed.
6272         * math/s_nanl.c: Removed.
6273         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6274         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6276         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6277         (LDOUBLE_nanl_libm_version): New macro.
6279         * sysdeps/generic/math-type-macros-double.h:
6280         (M_STRTO_NAN): New macro.
6281         * sysdeps/generic/math-type-macros-float.h: Likewise.
6282         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6284         * sysdeps/generic/math-type-macros.h: Document
6285         M_STRTO_NAN.
6287 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6289         * math/s_nanf.c: Remove __nanf undef.
6290         * math/s_nan.c: Remove __nan undef.
6291         * math/s_nanl.c: Remove __nanl undef.
6293         * sysdeps/generic/math_private.h (__nan): Remove macro
6294         override.
6295         (__nanf): Likewise.
6296         (__nanl): Likewise.
6298 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6300         * math/Makefile (gen-all-calls): New variable.
6301         (generated): Replace gen-libm-calls with gen-all-calls.
6302         (gen-libm-templates.stmp): Likewise.  Also, ensure
6303         the output directory exists or is created and add
6304         dependency on the Makefile.
6305         (calls): Move s_ldexpF into gen-calls.
6306         (gen-calls): New variable.
6308         * math/s_ldexpf.c: Removed.
6309         * math/s_ldexpl.c: Removed.
6310         * math/s_ldexp.c: Refactored into ...
6311         * math/s_ldexp_template.c: New file.
6313         * sysdeps/generic/math-type-macros-double.h: Remove
6314         redundant fall-through definition of declare_mgen_alias.
6315         (declare_mgen_alias_2): New macro.
6317         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6318         New macro for function aliased to two exported symbols.
6320         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6321         new template file.
6322         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6324 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6326         * Makeconfig (all-object-suffixes): Remove .og.
6327         * Makerules (elide-routines.og): Remove.
6328         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6329         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6330         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6332 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6334         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6335         .os objects.
6337 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6339         [BZ #20615]
6340         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6341         fpu directory by non-fpu.
6342         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6343         on non-fpu directory from a fpu directory.
6345 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
6347         * include/limits.h: Define
6348         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6349         <bits/libc-header-start.h> instead of including <features.h>.
6350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6353         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6357         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6358         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6359         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6360         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6361         * manual/lang.texi (Width of Type): Document these macros.
6362         * stdlib/tst-width.c: New file.
6363         * stdlib/Makefile (tests): Add tst-width.
6365 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6367         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6368         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6370 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6372         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6373         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6374         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6376 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6378         [BZ #18243]
6379         * rt/Makefile (test): Add tst-shm-cancel.
6380         * rt/tst-shm-cancel.c: New file.
6381         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6383         [BZ #18243]
6384         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6385         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6386         definition.
6387         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6388         uncontended case.
6389         * nptl/sem_wait.c (__new_sem_wait): Likewise.
6390         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6391         (tf): Fix check for uncontended case.
6392         (do_test): Likewise.
6393         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6394         (tf): Fix check for uncontended case.
6395         (do_test): Likewise.
6396         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6397         (tf): Fix check for uncontended case.
6398         (do_test): Likewise.
6399         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6400         (tf): Fix check for uncontended case.
6401         (do_test): Likewise.
6403         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6404         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6406         [BZ #15765]
6407         * nptl/Makefile (tests): Add tst-sem16.
6408         * nptl/tst-sem16.c: New file.
6409         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6411         * nptl/sem_open.c (sem_open): Init pad value to 0.
6412         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6413         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6415 2016-09-15  Florian Weimer  <fweimer@redhat.com>
6417         [BZ #20611]
6418         * inet/Makefile (routines): Add inet6_scopeid_pton.
6419         (tests): Add tst-inet6_scopeid_pton.
6420         * inet/inet6_scopeid_pton.c: New file.
6421         * inet/net-internal.h: Likewise.
6422         * inet/tst-inet6_scopeid_pton.c: New test.
6423         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6424         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6427 2016-09-14  Florian Weimer  <fweimer@redhat.com>
6429         Remove support for compiling wrappers with PTW.
6430         * sysdeps/nptl/Makeconfig: Drop ptw- support.
6431         * nptl/Makefile (pthread-compat-wrappers): Define.
6432         (libpthread-routines): Use pthread-compat-wrappers.
6433         * sysdeps/unix/sysv/linux/alpha/Makefile
6434         (libpthread-routines, libpthread-shared-only-routines): Remove
6435         ptw- prefix.
6436         * sysdeps/s390/nptl/Makefile
6437         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6438         * sysdeps/ia64/nptl/Makefile
6439         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6440         * sysdeps/nacl/Makefile (libpthread-routines): Use
6441         pthread-compat-wrappers to filter the routines list instead of the
6442         ptw- prefix.
6444 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6446         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6447         with L() and remove explicit suffix, convert real literals
6448         which can be equivalentally substituted with integers, and
6449         transform -L(x) to L(-x).
6451         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6452         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6453         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6454         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6455         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6456         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6457         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6458         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6459         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6460         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6461         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6462         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6463         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6464         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6465         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6466         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6467         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6468         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6469         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6470         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6471         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6472         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6473         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6474         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6475         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6476         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6477         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6478         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6479         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6480         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6481         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6482         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6483         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6484         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6485         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6486         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6487         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6488         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6489         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6490         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6491         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6492         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6493         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6494         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6495         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6496         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6497         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6498         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6499         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6500         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6502 2016-09-13  Florian Weimer  <fweimer@redhat.com>
6504         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6506 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6508         * malloc/Makefile (tests): Remove individual static test names
6509         and just add all of tests-static.
6511         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6513 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
6515         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6516         file.
6518         * sysdeps/sparc/fpu/fegetmode.c: New file.
6519         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6521         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6522         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6524         * sysdeps/s390/fpu/fegetmode.c: New file.
6525         * sysdeps/s390/fpu/fesetmode.c: Likewise.
6527         * sysdeps/powerpc/fpu/fegetmode.c: New file.
6528         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6529         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6530         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6531         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6532         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6534         * sysdeps/mips/fpu/fegetmode.c: New file.
6535         * sysdeps/mips/fpu/fesetmode.c: Likewise.
6537         * sysdeps/m68k/fpu/fegetmode.c: New file.
6538         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6540         * sysdeps/ia64/fpu/fegetmode.c: New file.
6541         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
6543         * sysdeps/hppa/fpu/fegetmode.c: New file.
6544         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
6546         * sysdeps/arm/fegetmode.c: New file.
6547         * sysdeps/arm/fesetmode.c: Likewise.
6549         * sysdeps/alpha/fpu/fegetmode.c: New file.
6550         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
6552         * sysdeps/aarch64/fpu/fegetmode.c: New file.
6553         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
6555         * math/fegetmode.c: New file.
6556         * math/fesetmode.c: Likewise.
6557         * sysdeps/i386/fpu/fegetmode.c: Likewise.
6558         * sysdeps/i386/fpu/fesetmode.c: Likewise.
6559         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
6560         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
6561         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
6562         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
6563         declaration.
6564         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
6565         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
6566         typedef.
6567         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6568         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6569         (femode_t): New typedef.
6570         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6571         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6572         (femode_t): New typedef.
6573         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6574         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6575         (femode_t): New typedef.
6576         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6577         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6578         (femode_t): New typedef.
6579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6580         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6581         (femode_t): New typedef.
6582         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6583         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6584         (femode_t): New typedef.
6585         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6586         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6587         (femode_t): New typedef.
6588         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6589         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6590         (femode_t): New typedef.
6591         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6592         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6593         (femode_t): New typedef.
6594         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6595         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6596         (femode_t): New typedef.
6597         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6598         declaration.
6599         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6600         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6601         (femode_t): New typedef.
6602         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6603         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6604         (femode_t): New typedef.
6605         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6606         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6607         (femode_t): New typedef.
6608         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6609         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6610         (femode_t): New typedef.
6611         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6612         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6613         (femode_t): New typedef.
6614         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6615         * manual/arith.texi (FE_DFL_MODE): Document macro.
6616         (fegetmode): Document function.
6617         (fesetmode): Likewise.
6618         * math/Versions (fegetmode): New libm symbol at version
6619         GLIBC_2.25.
6620         (fesetmode): Likewise.
6621         * math/Makefile (libm-support): Add fegetmode and fesetmode.
6622         (tests): Add test-femode and test-femode-traps.
6623         * math/test-femode-traps.c: New file.
6624         * math/test-femode.c: Likewise.
6625         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6626         alias for __fe_dfl_env.
6627         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6628         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6629         (__fe_dfl_mode): Likewise.
6630         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6631         version GLIBC_2.25.
6632         * sysdeps/nacl/libm.abilist: Update.
6633         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6634         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6635         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6636         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6637         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6638         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6639         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6640         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6641         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6642         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6643         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6644         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6646         Likewise.
6647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6648         Likewise.
6649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6650         Likewise.
6651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6652         Likewise.
6653         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6654         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6655         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6656         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6657         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6659         Likewise.
6660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6661         Likewise.
6662         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6663         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6664         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6666 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6668         [BZ #20495]
6669         [BZ #20508]
6670         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6671         processors, set Use_dl_runtime_resolve_slow and set
6672         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6673         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6674         New.
6675         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6676         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6677         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6678         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6679         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6680         if Use_dl_runtime_resolve_opt is set.  Use
6681         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6682         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6683         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
6684         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6685         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6686         New.
6687         (_dl_runtime_resolve_opt): Likewise.
6688         (_dl_runtime_profile): Define only if _dl_runtime_profile is
6689         defined.
6691 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6693         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6694         __libc_memalign with "+ RELA R_390_GLOB_DAT".
6696 2016-09-06  Florian Weimer  <fweimer@redhat.com>
6698         Convert malloc to __libc_lock.  Automated part, using this Perl
6699         s/// command:
6700           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6701             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6702         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6703         conversion.
6705 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
6707         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6708         (linknamespace-symlists-tests): Likewise.
6709         (linknamespace-header-tests): Likewise.
6711 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
6713         [BZ #19810]
6714         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6715         * elf/tst-noload.c: New test case.
6716         * elf/Makefile (tests): Add tst-noload.
6718 2016-09-02  Roland McGrath  <roland@hack.frob.com>
6720         * sysdeps/nacl/dup.c: Add libc_hidden_def.
6722         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6723         not any more.
6725         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6727 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6729         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6730         (do_cos_slow): Likewise.
6731         (do_sin): Likewise.
6732         (do_sin_slow): Likewise.
6733         (slow): Likewise.
6734         (slow1): Likewise.
6735         (slow2): Likewise.
6736         (sloww): Likewise.
6737         (sloww1): Likewise.
6738         (sloww2): Likewise.
6739         (bsloww): Likewise.
6740         (bsloww1): Likewise.
6741         (bsloww2): Likewise.
6742         (cslow2): Likewise.
6744         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6746         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6747         arguments.  Consolidate input partitioning from callers here.
6748         (do_cos_slow): Likewise.
6749         (do_sin): Likewise.
6750         (do_sin_slow): Likewise.
6751         (do_sincos_1): Remove the no longer necessary input partitioning.
6752         (do_sincos_2): Likewise.
6753         (__sin): Likewise.
6754         (__cos): Likewise.
6755         (slow1): Likewise.
6756         (slow2): Likewise.
6757         (sloww1): Likewise.
6758         (sloww2): Likewise.
6759         (bsloww1): Likewise.
6760         (bsloww2): Likewise.
6761         (cslow2): Likewise.
6763 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6765         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6766         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
6767         outside of allocated array.
6769 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6771         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6772         instead of MB_CUR_MAX to avoid variable-length array.
6774 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6776         * math/Makefile (libm-calls): Remove k_rem_pio2F.
6777         (type-double-routines): Add k_rem_pio2.
6778         (type-float-routines): Add k_rem_pio2f.
6780         * sysdeps/generic/math_private.h:
6781         (__kernel_rem_pio2l): Removed.
6783         * math/k_rem_pio2l.c: Removed.
6784         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6785         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6786         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6787         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6789 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6791         * math/Makefile (gen-libm-calls): Add s_fmin
6792         (libm-calls): Remove above.
6794         * math/s_fmin.c: Refactor into ...
6795         * math/s_fmin_template.c: New file.
6797         * math/s_fminf.c: Removed.
6798         * math/s_fminl.c: Removed.
6799         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6800         (LDOUBLE_fmin_libm_version): New macro.
6802         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6803         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6805 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6807         * math/Makefile: (gen-libm-calls): Add s_fmax.
6808         (libm-calls): Remove above.
6810         * math/s_fmax.c: Refactor into ...
6811         * math/s_fmax_template.c: New file.
6812         * math/s_fmaxf.c: Removed.
6813         * math/s_fmaxl.c: Removed.
6815         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6816         (LDOUBLE_fmaxl_libm_version): New macro.
6818         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6819         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6821         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6822         s_fmin.c to pick the aarch64 version of the file.
6823         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6824         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6826 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6828         * math/Makefile: (gen-libm-calls): Add s_nextdown.
6829         (libm-calls): Remove above.
6831         * math/s_nextdown.c: Refactor into ...
6832         * math/s_nextdown_template.c: New file.
6833         * math/s_nextdownf.c: Removed.
6834         * math/s_nextdownl.c: Removed.
6836         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6838 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6840         * math/Makefile (gen-libm-calls): Add s_fdim.
6841         (libm-calls): Move to above.
6843         * math/s_fdim.c: Renamed and refactored into to ...
6844         * math/s_fdim_template.c: New file.
6845         * math/s_fdiml.c: Removed.
6846         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6847         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6849         * sysdeps/generic/math-type-macros-double.h:
6850         (declare_mgen_alias): Don't declare if already declared.
6851         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6852         Likewise.
6854         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6855         (declare_mgen_alias): Don't declare if already declared.
6856         (M_LIBM_NEED_COMPAT): Likewise.
6857         (declare_mgen_libm_compat): Likewise.
6858         (LDOUBLE_fdiml_libm_version): New macro.
6860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6861         Include math/s_fdim.c now that ldbl-opt version is not needed.
6862         (declare_mgen_alias): New macro to disable aliasing.
6864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6865         (declare_mgen_alias): Likewise.
6866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6867         (declare_mgen_alias): Likewise.
6868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6869         (declare_mgen_alias): Likewise.
6870         (M_LIBM_NEED_COMPAT): Likewise.
6872 2016-09-01  Florian Weimer  <fweimer@redhat.com>
6874         [BZ #20525]
6875         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6876         Include <linux/quota.h>.
6877         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6878         and btodb.
6879         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6880         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6881         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6882         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6883         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6884         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6885         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6886         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6887         types.
6888         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6889         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6891 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6893         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6894         (gammal_positive): Fix spacing.
6895         (__ieee754_gammal_r): Likewise.
6897 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6899         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6900         (_Float128): Define as long double, always.
6901         (L): Apply long double type suffix, always.
6903         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6904         _Float128, excepting comments.
6906         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6907         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6908         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6909         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6910         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6911         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6912         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6913         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6914         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6915         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6916         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6917         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6918         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6919         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6920         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6921         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6922         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6923         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6924         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6925         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6926         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6927         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6928         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6929         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6930         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6931         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6932         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6933         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6934         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6935         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6936         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6937         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6938         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6939         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6940         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6941         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6942         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6943         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6944         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6945         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6946         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6947         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6948         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6949         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6950         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6951         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6952         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6953         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6954         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6955         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6956         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6957         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6958         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6959         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6960         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6961         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6962         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6963         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6964         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6965         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6966         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6967         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6968         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6969         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6970         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6971         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6972         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6973         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6975         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6976         _Float128, and include math_private.h.
6977         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6979         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6980         long double semantics.
6981         (_Float128): Likewise.
6982         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6983         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6984         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6985         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6987 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6989         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6990         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6991         * sysdeps/s390/configure: Regenerated.
6992         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6993         instruction for raising over-/underflow if z196 zarch is supported
6994         by default.
6995         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6997 2016-08-30  Svante Signell  <svante.signell@gmail.com>
6999         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
7000         it point to a dumb buffer for RPC to fill it.
7002 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7004         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
7005         instead of if/else.
7006         (do_sin_slow): Likewise.
7007         (do_sincos_1): Use fabs instead of if/else.
7008         (do_sincos_2): Likewise.
7009         (__sin): Likewise.
7010         (__cos): Likewise.
7011         (slow2): Likewise.
7012         (sloww): Likewise.
7013         (sloww1): Likewise.  Drop argument M.
7014         (sloww2): Use fabs instead of if/else.
7015         (bsloww): Likewise.
7016         (bsloww1): Likewise.
7017         (bsloww2): Likewise.
7019         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
7020         fall through comment.
7021         (do_sincos_1): Likewise.
7023         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
7024         Consolidate switch cases 0 and 2.
7026 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7028         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7029         (libm-calls): Remove the above.
7031         * math/s_cexp_template.c: Update using type-generic macros.
7032         * math/s_clog10_template.c: Likewise.
7033         * math/s_cpow_template.c: Likewise.
7034         * math/s_clog_template.c: Likewise.
7035         * math/s_cproj_template.c: Likewise.
7036         * math/s_csqrt_template.c: Likewise.
7038         * math/s_cexp.c: Removed.
7039         * math/s_cexpf.c: Removed.
7040         * math/s_cexpl.c: Removed.
7041         * math/s_clog10.c: Removed.
7042         * math/s_clog10f.c: Removed.
7043         * math/s_clog10l.c: Removed.
7044         * math/s_cpow.c: Removed.
7045         * math/s_cpowf.c: Removed.
7046         * math/s_cpowl.c: Removed.
7047         * math/s_clog.c: Removed.
7048         * math/s_clogf.c: Removed.
7049         * math/s_clogl.c: Removed.
7050         * math/s_cproj.c: Removed.
7051         * math/s_cprojf.c: Removed.
7052         * math/s_cprojl.c: Removed.
7053         * math/s_csqrt.c: Removed.
7054         * math/s_csqrtf.c: Removed.
7055         * math/s_csqrtl.c: Removed.
7057         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7058         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7059         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7060         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7061         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7062         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7064         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7065         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7066         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7067         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7068         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7069         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7070         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7071         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7072         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7073         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7074         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7076         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7077         version.
7079         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7080         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7081         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7082         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7084 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7086         * s_cexp_template.c: Copy of s_cexp.c.
7087         * s_clog_template.c: Copy of s_clog.c.
7088         * s_clog10_template.c: Copy of s_clog10.c.
7089         * s_cpow_template.c: Copy of s_cpow.c.
7090         * s_cproj_template.c: Copy of s_cproj.c.
7091         * s_csqrt_template.c: Copy of s_csqrt.c.
7093 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7095         [BZ #20517]
7096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7097         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7098         exported.
7100 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
7102         * math/fetestexceptflag.c: New file.
7103         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
7104         Stefan Liebler.
7105         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7106         (fetestexceptflag): New function declaration.
7107         * manual/arith.texi (fetestexceptflag): Document function.
7108         * math/Versions (fetestexceptflag): New libm symbol at version
7109         GLIBC_2.25.
7110         * math/Makefile (libm-support): Add fetestexceptflag.
7111         (tests): Add test-fetestexceptflag.
7112         * math/test-fetestexceptflag.c: New file.
7113         * sysdeps/nacl/libm.abilist: Update.
7114         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7115         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7116         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7117         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7118         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7119         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7120         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7121         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7122         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7123         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7124         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7125         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7127         Likewise.
7128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7129         Likewise.
7130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7131         Likewise.
7132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7133         Likewise.
7134         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7135         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7136         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7137         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7138         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7140         Likewise.
7141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7142         Likewise.
7143         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7144         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7145         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7147 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7149         [BZ #20432]
7150         Avoid strong references to malloc-internal symbols when linking
7151         statically, to support statically interposed mallocs.
7152         * include/libc-symbols.h (call_function_static_weak): New macro.
7153         * malloc/Makefile (tests): Add tst-interpose-nothread,
7154         tst-interpose-thread, tst-interpose-static-nothread,
7155         tst-interpose-static-thread.
7156         (tests-static): Add tst-interpose-static-nothread,
7157         tst-interpose-static-thread.
7158         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7159         tst-interpose-aux-thread.o.
7160         (test-extras): Add tst-interpose-aux-nothread,
7161         tst-interpose-aux-thread.
7162         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7163         tst-interpose-aux-nothread.o.
7164         (tst-interpose-thread, tst-interpose-static-thread): Link with
7165         tst-interpose-aux-thread.o and libthread.
7166         * malloc/tst-interpose-aux-nothread.c: New file.
7167         * malloc/tst-interpose-aux-thread.c: Likewise.
7168         * malloc/tst-interpose-aux.c: Likewise.
7169         * malloc/tst-interpose-aux.h: Likewise.
7170         * malloc/tst-interpose-nothread.c: Likewise.
7171         * malloc/tst-interpose-skeleton.c: Likewise.
7172         * malloc/tst-interpose-static-nothread.c: Likewise.
7173         * malloc/tst-interpose-static-thread.c: Likewise.
7174         * malloc/tst-interpose-thread.c: Likewise.
7175         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7176         * sysdeps/mach/hurd/fork.c (__fork): Only call
7177         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7178         __malloc_fork_unlock_child if defined.
7179         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7181 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7183         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7184         timespec C99 designated initialization.
7186 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7188         [BZ #19946]
7189         Avoid expected SIGALRM signals.
7190         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7191         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7192         (xpthread_create, xpthread_detach, xpthread_join)
7193         (delayed_exit_thread, delayed_exit): New functions.
7194         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7195         (tf): Use xpthread_cond_wait.
7196         (do_test): Likewise.  Replace alarm with delayed_exit.
7197         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7198         (do_test): Call delayed_exit.  Report failure.
7199         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7200         (do_test): Call delayed_exit.
7201         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7202         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
7203         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7204         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
7205         error.
7206         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7207         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
7208         error.
7209         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7210         (do_test): Call delayed_exit.
7211         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7212         (do_test): Call delayed_exit.
7213         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7214         (do_test): Call delayed_exit instead of alarm.  Use
7215         xpthread_mutex_lock.
7216         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7217         (do_test): Call delayed_exit instead of alarm.  Use
7218         xpthread_mutex_lock.
7219         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7220         (do_test): Call delayed_exit instead of alarm.
7221         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7222         (do_test): Call delayed_exit instead of alarm.  Use
7223         xpthread_spin_lock.
7224         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7225         (do_test): Call delayed_exit instead of alarm.  Use
7226         xpthread_join.
7228 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7230         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7231         adjust CFA when allocating register save area on re-aligned
7232         stack.
7234 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7236         * string/tst-cmp.c: New test.
7237         * string/Makefile (tests): Add it.
7239 2016-08-25  Mark Wielaard  <mark@klomp.org>
7241         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7242         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
7243         (check_tree_recurse): Use newly defined accessors.
7244         (check_tree): Likewise.
7245         (maybe_split_for_insert): Likewise.
7246         (__tfind): Likewise.
7247         (__tdelete): Likewise.
7248         (trecurse): Likewise.
7249         (tdestroy_recurse): Likewise.
7250         (__tsearch): Likewise. And add asserts for malloc alignment.
7251         (__twalk): Cast root to node in case CHECK_TREE is defined.
7253 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7255         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7257 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7259         * math/Makefile (libm-gen-calls): Add
7260         catan, catanh, ctan, ctanh.
7261         (libm-calls): Remove the above.
7263         * math/s_catan_template.c: Update using type-generic macros.
7264         * math/s_catanh_template.c: Likewise.
7265         * math/s_ctan_template.c: Likewise.
7266         * math/s_ctanh_template.c: Likewise.
7268         * math/s_catanf.c: Removed.
7269         * math/s_catan.c: Removed.
7270         * math/s_catanl.c: Removed.
7271         * math/s_catanhf.c: Removed.
7272         * math/s_catanh.c: Removed.
7273         * math/s_catanhl.c: Removed.
7274         * math/s_ctanf.c: Removed.
7275         * math/s_ctan.c: Removed.
7276         * math/s_ctanl.c: Removed.
7277         * math/s_ctanhf.c: Removed.
7278         * math/s_ctanh.c: Removed.
7279         * math/s_ctanhl.c: Removed.
7281         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7282         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7283         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7284         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7285         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7286         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7288         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7289         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7290         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7291         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7293 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7295         * s_catan_template.c: Copy of s_catan.c.
7296         * s_catanh_template.c: Copy of s_catanh.c.
7297         * s_ctan_template.c: Copy of s_ctan.c.
7298         * s_ctanh_template.c: Copy of s_ctanh.c.
7300 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7302         * math/Makefile (gen-libm-calls): Move
7303         casin, casinh, csin, csinh here.
7304         (libm-calls): Remove the above.
7306         * math/s_casin_template.c: Update using type-generic macros.
7307         * math/s_casinh_template.c: Likewise.
7308         * math/s_csin_template.c: Likewise.
7309         * math/s_csinh_template.c: Likewise.
7310         * math/k_casinh_template.c: Likewise.
7312         * math/s_casinf.c: Removed.
7313         * math/s_casin.c: Removed.
7314         * math/s_casinl.c: Removed.
7315         * math/s_casinh.c: Removed.
7316         * math/s_casinhf.c: Removed.
7317         * math/s_casinhl.c: Removed.
7318         * math/s_csin.c: Removed.
7319         * math/s_csinf.c: Removed.
7320         * math/s_csinl.c: Removed.
7321         * math/s_csinh.c: Removed.
7322         * math/s_csinhf.c: Removed.
7323         * math/s_csinhl.c: Removed.
7324         * math/k_casinh.c: Removed.
7325         * math/k_casinhf.c: Removed.
7326         * math/k_casinhl.c: Removed.
7328         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7329         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7330         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7331         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7333         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7334         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7335         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7336         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7337         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7338         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7339         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7340         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7342         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7343         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7344         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7345         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7347         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7348         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7349         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7350         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7352 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7354         * s_casin_template.c: Copy of s_casin.c.
7355         * s_casinh_template.c: Copy of s_casinh.c.
7356         * s_csin_template.c: Copy of s_csin.c.
7357         * s_csinh_template.c: Copy of s_csinh.c.
7358         * k_casinh_template.c: Copy of k_casinh.c.
7360 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7362         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7364 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7366         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7367         (mul_split) Remove, rename as mul_splitl, remove
7368         redundant float.h include, and include via mul_splitl.h
7370         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7371         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7372         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7373         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7374         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7376         * math/mul_splitl.h: New file.
7378         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7379         Move into mul_split.h, and remove redundant float.h include.
7381         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7382         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7383         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7384         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7386         * math/mul_split.h: New file.
7388 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7390         * math/Makefile (libm-gen-calls): Move
7391         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7392         (libm-calls): Remove above.
7394         * math/s_cacos_template.c: Update using type-generic macros.
7395         * math/s_cacosh_template.c: Likewise.
7396         * math/s_ccos_template.c: Likewise.
7397         * math/s_ccosh_template.c: Likewise.
7399         * math/s_cacosf.c: Removed.
7400         * math/s_cacos.c: Removed.
7401         * math/s_cacosl.c: Removed.
7402         * math/s_cacoshf.c: Removed.
7403         * math/s_cacosh.c: Removed.
7404         * math/s_cacoshl.c: Removed.
7405         * math/s_ccosf.c: Removed.
7406         * math/s_ccos.c: Removed.
7407         * math/s_ccosl.c: Removed.
7408         * math/s_ccoshf.c: Removed.
7409         * math/s_ccosh.c: Removed.
7410         * math/s_ccoshl.c: Removed.
7412         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7413         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7414         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7415         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7416         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7417         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7419         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7420         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7421         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7422         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7424         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7425         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7426         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7427         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7429 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7431         * s_cacos_template.c: Copy of s_cacos.c.
7432         * s_cacosh_template.c: Copy of s_cacosh.c.
7433         * s_ccos_template.c: Copy of s_ccos.c.
7434         * s_ccosh_template.c: Copy of s_ccosh.c.
7436 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7438         * stdlib/tst-strtod-round-skeleton.c:
7439         Refactored from tst-strtod-round.c.
7441         (L_): New macro to apply literal modifier.
7442         (FNPFX): New macro to select str or wcs prefix.
7443         (CHAR): New macro to choose wchar_t or char.
7444         (STRM): New macro to choose printf for tested character type.
7446         (STRTO): New macro to choose appropriate string -> real function.
7447         (FNPFXS): Stringitized version of FNPFX.
7448         (STR): Support for above macro.
7449         (STRX): Likewise.
7451         (TEST): Update with above macros.
7452         (test): Likewise.
7453         (GEN_ONE_TEST): Likewise.
7454         (test_in_one_mode): Likewise.
7456         * stdlib/tst-strtod-round.c: New file.
7457         * wcsmbs/tst-wcstod-round.c: New file.
7459         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7460         (tst-wcstod-round): Add libm depencency for fesetround.
7462 2016-08-19  Zack Weinberg  <zackw@panix.com>
7464         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7466 2016-08-18  Torvald Riegel  <triegel@redhat.com>
7468         [BZ #20477]
7469         * resolv/res_hconf.c (do_init): Use atomic access.
7470         * resolv/res_hconf.h: Add comments.
7471         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7472         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7475 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7477         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7478         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7479         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7480         Likewise.
7482 2016-08-18  Florian Weimer  <fweimer@redhat.com>
7484         [BZ #16907]
7485         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7486         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7487         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7488         (__attribute__): Remove definition.
7490 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7492         * sysdeps/ieee754/ldbl-128/e_asinl.c:
7493         Remove unused sqrtl declaration.
7495 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7497         * math/Makefile: (gen-libm-templates.stmp): New rule.
7498         (libm-calls): Move carg conj cimag and cabs into ...
7499         (gen-libm-calls): New variable.
7500         (generated): Inform Make objects from gen-libm-calls
7501         may be generated.
7503         * sysdeps/generic/math-type-macros.h: New file.
7504         * sysdeps/generic/math-type-macros-float.h: Likewise.
7505         * sysdeps/generic/math-type-macros-double.h: Likewise.
7506         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7507         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7508         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7510         * math/cabs.c: Refactor into
7511         * math/cabs_template.c: new file.
7512         * math/cabsf.c: Removed.
7513         * math/cabsl.c: Removed.
7514         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7515         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7517         * math/carg.c: Refactor into
7518         * math/carg_template.c: new file.
7519         * math/cargf.c: Removed.
7520         * math/cargl.c: Removed.
7521         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7522         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7524         * math/conj.c: Refactor into
7525         * math/conj_template.c: new file.
7526         * math/conjf.c: Removed.
7527         * math/conjl.c: Removed.
7528         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7529         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7531         * math/cimag.c: Refactor into
7532         * math/cimag_template.c: new file.
7533         * math/cimagf.c: Removed.
7534         * math/cimagl.c: Removed.
7535         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7536         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7538         * math/cimag.c: Refactor into
7539         * math/cimag_template.c: new file.
7540         * math/cimagf.c: Removed.
7541         * math/cimagl.c: Removed.
7542         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7543         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7545 2016-08-17  Florian Weimer  <fweimer@redhat.com>
7547         Reduce time to expected nptl/tst-once5 failure.
7548         * nptl/tst-once5.cc (TIMEOUT): Define.
7550 2016-08-17  Florian Weimer  <fweimer@redhat.com>
7552         [BZ #20452]
7553         Avoid additional copies of objects in libc.a in static libraries.
7554         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
7555         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
7556         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
7557         rt-sysdep.
7558         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
7559         Add nptl-sysdep.
7560         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
7561         Add ptw-sysdep.
7562         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
7563         rt-sysdep.
7564         * sysdeps/unix/sysv/linux/alpha/Makefile
7565         (libpthread-shared-only-routines): Add ptw-sysdep,
7566         ptw-sigprocmask, ptw-rt_sigaction.
7567         * sysdeps/unix/sysv/linux/ia64/Makefile
7568         (librt-shared-only-routines): Add rt-sysdep.
7569         * sysdeps/unix/sysv/linux/i386/Makefile
7570         (libpthread-shared-only-routines): Add libc-do-syscall.
7571         * sysdeps/unix/sysv/linux/microblaze/Makefile
7572         (libpthread-shared-only-routines): Add sysdep.
7573         * sysdeps/unix/sysv/linux/powerpc/Makefile
7574         (librt-shared-only-routines): Add rt-sysdep.
7575         (libpthread-shared-only-routines): Add sysdep.
7576         * sysdeps/unix/sysv/linux/s390/Makefile
7577         (librt-shared-only-routines): Add rt-sysdep.
7578         * sysdeps/unix/sysv/linux/sparc/Makefile
7579         (librt-shared-only-routines): Add rt-sysdep.
7580         (libpthread-shared-only-routines): Add sysdep.
7581         * sysdeps/unix/sysv/linux/tile/Makefile
7582         (libpthread-shared-only-routines): Likewise.
7584 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
7586         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7587         Mask implicit bit out of unpacked value.
7588         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7589         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7590         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7592         * sysdeps/sparc/fpu/fesetexcept.c: New file.
7594         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7596         * sysdeps/s390/fpu/fesetexcept.c: New file.
7598         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7599         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7600         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7602         * sysdeps/mips/fpu/fesetexcept.c: New file.
7604         * sysdeps/m68k/fpu/fesetexcept.c: New file.
7606         * sysdeps/ia64/fpu/fesetexcept.c: New file.
7608         * sysdeps/hppa/fpu/fesetexcept.c: New file.
7610         * sysdeps/arm/fesetexcept.c: New file.
7612         * sysdeps/alpha/fpu/fesetexcept.c: New file.
7614         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7616         * math/fesetexcept.c: New file.
7617         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7618         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7619         * math/fenv.h: Define
7620         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7621         <bits/libc-header-start.h> instead of including <features.h>.
7622         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7623         declaration.
7624         * manual/arith.texi (fesetexcept): Document function.
7625         * math/Versions (fesetexcept): New libm symbol at version
7626         GLIBC_2.25.
7627         * math/Makefile (libm-support): Add fesetexcept.
7628         (tests): Add test-fesetexcept and test-fesetexcept-traps.
7629         * math/test-fesetexcept.c: New file.
7630         * math/test-fesetexcept-traps.c: Likewise.
7631         * sysdeps/nacl/libm.abilist: Update.
7632         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7633         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7634         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7635         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7636         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7637         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7638         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7639         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7640         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7641         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7642         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7643         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7645         Likewise.
7646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7647         Likewise.
7648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7649         Likewise.
7650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7651         Likewise.
7652         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7653         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7654         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7655         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7656         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7658         Likewise.
7659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7660         Likewise.
7661         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7662         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7663         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7665 2016-08-16  Florian Weimer  <fweimer@redhat.com>
7667         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7668         New.
7669         (do_test): Apply default_stack_size_in_mb if not set.
7670         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7672 2016-08-15  Andreas Schwab  <schwab@suse.de>
7674         [BZ #20435]
7675         CVE-2016-6323
7676         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7677         as .cantunwind.
7679 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
7681         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7682         comment from fraiseexcpt.c.
7684         * math/test-fexcept.c (feraiseexcept_exact): New function.
7685         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7686         (test_except): Likewise.
7688 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
7690         [BZ #20455]
7691         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7692         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7693         to be restored.
7695         * math/test-fexcept-traps.c: New file.
7696         * math/test-fexcept.c: Likewise.
7697         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7698         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7699         macro.
7700         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7701         (EXCEPTION_SET_FORCES_TRAP): Likewise.
7703 2016-08-09  Torvald Riegel  <triegel@redhat.com>
7705         * include/atomic.h (atomic_fetch_and_relaxed,
7706         atomic_fetch_and_release, atomic_fetch_or_release,
7707         atomic_fetch_xor_release): New.
7709 2016-08-06  Christian Seiler  <christian@iwakd.de>
7711         [BZ #20444]
7712         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7713         MACH_PORT_NULL.
7715 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7717         * math/s_fdim.c: Avoid alias renamed.
7718         * math/s_fdimf.c: Likewise.
7719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7720         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7721         Add s_fdimf-vis3, s_fdim-vis3.
7722         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7723         (CFLAGS-s_fdim-vis3.c): Likewise.
7724         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7725         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7727 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7730         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7731         Remove s_fdimf-vis3, s_fdim-vis3.
7732         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7733         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7740         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7741         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7743 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7745         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7746         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7747         -Wa,-Av9a -mvis.
7749 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7751         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7752         LIT() to individual constants in simple expressions
7753         after splitting on spaces.
7754         (_apply_lit): Rename replaced version, and use it to
7755         apply to what appears to be a token.
7757         * math/libm-test.inc: Fix many, many issues with
7758         spacing.
7760 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
7762         * math/math.h: Move comment about <bits/mathdef.h> definitions
7763         above inclusion of <bits/mathdef.h>.  Do not mention
7764         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7766 2016-08-05  Torvald Riegel  <triegel@redhat.com>
7768         * include/atomic.h (atomic_exchange_relaxed): New.
7770 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
7772         * math/e_scalb.c: Do not include <fenv.h>.
7773         (invalid_fn): Do calculation resulting in NaN instead of raising
7774         FE_INVALID and returning a NaN explicitly.
7775         * math/e_scalbf.c: Do not include <fenv.h>.
7776         (invalid_fn): Do calculation resulting in NaN instead of raising
7777         FE_INVALID and returning a NaN explicitly.
7778         * math/e_scalbl.c: Do not include <fenv.h>.
7779         (invalid_fn): Do calculation resulting in NaN instead of raising
7780         FE_INVALID and returning a NaN explicitly.
7782 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
7784         * po/de.po: Updated from Translation Project.
7785         * po/fi.po: Likewise.
7786         * po/sv.po: Likewise.
7788 2016-08-04  Florian Weimer  <fweimer@redhat.com>
7790         [BZ #20452]
7791         Use sysdep.o from libc.a in static libraries.
7792         * sysdeps/unix/sysv/linux/i386/Makefile
7793         (libpthread-shared-only-routines): Add sysdep.
7794         (librt-shared-only-routines): Likewise.
7796 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7798         * math/tgmath.h (nextdown): Define if
7799         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7800         (nextup): Likewise.
7802         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7803         macro.
7804         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7805         Document.
7806         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7807         Document macro.
7808         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7809         (exp10f): Likewise.
7810         (exp10l): Likewise.
7811         * math/bits/mathcalls.h (exp10): Declare if
7812         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7814         * manual/arith.texi (nextup): Fix typo in last change.
7816 2016-08-03  Zack Weinberg  <zackw@panix.com>
7818         [BZ #19239]
7819         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7820         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7821         define major, minor, and makedev to issue deprecation warnings on use.
7822         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7823         previously-activated deprecation warnings for these macros and prevent
7824         subsequent inclusions of this header from having any effect.
7825         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7826         including <sys/sysmacros.h>, and undefine it again afterward.
7828 2016-08-03  Zack Weinberg  <zackw@panix.com>
7830         * sysdeps/generic/sys/sysmacros.h: Delete file.
7831         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7832         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7833         * bits/sysmacros.h: ... here; this encoding is now the generic
7834         encoding.  Now defines only the following macros:
7835         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7836         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7837         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7839         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7840         bits/sysmacros.h and the above new macros to generate the
7841         public implementations of major, minor, and makedev.
7842         * misc/tst-makedev.c: New test.
7843         * include/sys/sysmacros.h: New wrapper.
7845         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7846         (routines): Add makedev.
7847         (tests): Add tst-makedev.
7848         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7849         gnu_dev_makedev.
7850         * posix/Makefile (headers): Remove sys/sysmacros.h.
7851         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7853         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7854         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7855         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7856         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7857         * sysdeps/unix/sysv/linux/arm/libc.abilist
7858         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7859         * sysdeps/unix/sysv/linux/i386/libc.abilist
7860         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7861         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7862         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7863         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7864         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7865         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7866         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7867         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7868         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7873         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7874         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7875         * sysdeps/unix/sysv/linux/sh/libc.abilist
7876         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7877         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7880         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7881         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7882         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7883         Add GLIBC_2.25.
7885         * include/features.h (__glibc_clang_prereq): New macro.
7886         * misc/sys/cdefs.h (__glibc_clang_has_extension)
7887         (__attribute_deprecated_msg__): New macros.
7889 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7891         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7892         macro.
7893         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7894         * manual/arith.texi (issignaling): Document as ISO from TS
7895         18661-1:2014.
7896         (nextup): Likewise.
7897         (nextupf): Likewise.
7898         (nextupl): Likewise.
7899         (nextdown): Likewise.
7900         (nextdownf): Likewise.
7901         (nextdownl): Likewise.
7902         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7903         macro.
7904         * math/math.h: Define
7905         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7906         <bits/libc-header-start.h> instead of including <features.h>.
7907         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7908         [__USE_GNU].
7909         * math/bits/mathcalls.h (nextdown): Declare if
7910         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7911         (nextup): Likewise.
7912         (__issignaling): Likewise.
7914 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7916         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7917         check, and remove __glibc_likely hint
7918         from FP_INFINITE check.
7919         * s_csinhf.c (__csinhf): Likewise.
7921         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7922         hint from FP_INFINITE check.
7923         * s_csinhl.c (__csinhl): Likewise.
7925 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7927         * math/Makefile (libm-calls): Insert F placeholder into
7928         object names.  Move w_lgamma_compat* routines into
7929         (libm-compat-calls): New variable.
7930         (libm-compat-calls-ldouble-yes): New variable.
7931         (calls): Insert F placeholder.
7932         (generated): Redefine using new type-foreach macro call.
7933         (routines): Likewise.
7935         (types): New variable to hold a list of symbolic names
7936         for each type supported by the target machine.
7937         (libm-routines): Redefine using new types variable.
7938         (type-foreach): macro to replace fooF with the
7939         appropriately suffixed foo for each types.
7941         (type-ldouble-suffix): New variable.
7942         (type-ldouble-routines): Likewise.
7943         (type-ldouble-yes): Likewise.
7944         (type-double-suffix): Likewise.
7945         (type-double-routines): Likewise.
7946         (type-float-suffix): Likewise.
7947         (type-float-routines): Likewise.
7949         (dbl-only-routines): Remove.
7950         (long-c-yes): Likewise.
7951         (long-m-routines): Likewise.
7952         (long-m-support): Likewise.
7953         (long-m-yes): Likewise.
7954         (test-longdouble-yes): Likewise.
7956         (test-float.o): Simplify by increasing the scope of the
7957         recipe which adds libm-test.stmp to the vector types.
7958         (test-ifloat.o): Likewise.
7959         (test-float-finite.o): Likewise.
7960         (test-double.o): Likewise
7961         (test-idouble.o): Likewise.
7962         (test-double-finite.o): Likewise.
7963         (test-ldouble.o): Likewise
7964         (test-ildoubl.o): Likewise.
7965         (test-ldouble-finite.o): Likewise.
7967         (libm-tests): Redefine type tests using foreach and the
7968         list of types in types.
7970         (CPPFLAGS-test-ildoubl.c): Rename to
7971         (CPPFLAGS-test-ildouble.c): New variable
7973         * math/test-ildoubl.c: Rename to
7974         * math/test-ildouble.c: New file.
7976 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7978         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7979         Use fabsl instead of fabs.
7980         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7981         Likewise.
7982         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7983         Add long double suffix to constant to ensure proper
7984         promotion to long double.
7986 2016-08-03  Tom Tromey  <tom@tromey.com>
7988         [BZ #20311]
7989         * nptl_db/Makefile (headers): Add proc_service.h.
7990         * nptl_db/proc_service.h: Add include guard.  Use
7991         __BEGIN/__END_DECLS.
7992         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7993         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7994         arguments.
7997 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7999         [BZ #17730]
8000         Avoid using memalign for TCB allocations.
8001         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
8002         (_dl_allocate_tls_storage): Use malloc and manual alignment.
8003         Avoid alignment gap in the TLS_DTV_AT_TP case.
8004         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
8005         determine the pointer to free.
8006         * nptl/tst-tls3-malloc.c: New test.
8007         * nptl/Makefile (tests): Add it.
8008         (tst-tls3-malloc): Link with libdl, libpthread.
8009         (LDFLAGS-tst-tls3-malloc): Set.
8010         (tst-tls3-malloc.out): Depend on DSO used in test.
8012 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8014         [BZ #17730]
8015         Avoid using memalign for TLS allocations.
8016         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
8017         is_static member with to_free member.
8018         (union dtv): Use struct dtv_pointer.
8019         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
8020         dtv_pointer instead of is_static.
8021         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
8022         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
8023         instead of val.
8024         (allocate_dtv_entry): New function.
8025         (allocate_and_init): Return struct dtv_pointer.  Call
8026         allocate_dtv_entry instead of __libc_memalign.
8027         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8028         instead of val.
8029         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8030         instead of is_static.  Adjust call to allocate_and_init.
8031         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8032         struct dtv_pointer instead of val.
8034 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8036         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8037         (MALLOC_ALIGN_MASK): Move ...
8038         * malloc/malloc-internal.h: ... to here.
8039         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8041 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8043         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8044         (UDP_ENCAP_GTP1U): Likewise.
8046         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8047         (PF_MAX): Update value.
8048         (AF_QIPCRTR): New macro.
8050 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
8052         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8053         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8054         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8055         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8056         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8057         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8058         s_truncf-vis3, s_trunc-vis3.
8059         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8060         (CFLAGS-s_ceil-vis3.c): Likewise.
8061         (CFLAGS-s_floorf-vis3.c): Likewise.
8062         (CFLAGS-s_floor-vis3.c): Likewise.
8063         (CFLAGS-s_truncf-vis3.c): Likewise.
8064         (CFLAGS-s_trunc-vis3.c): Likewise.
8065         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8066         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8067         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8071         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8072         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8073         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8074         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8075         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8076         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8078 2016-08-02  David S. Miller  <davem@davemloft.net>
8080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8081         (__nearbyint_vis3): Don't check for sNaN before float register is
8082         loaded with the incoming argument.
8083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8084         (__nearbyintf_vis3): Likewise.
8085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8086         Likewise.
8087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8088         Likewise.
8090         * string/test-strncmp.c (do_test_limit): Make sure the test data
8091         stream is aligned as required for the type "CHAR".
8092         (do_test): Likewise.
8094 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
8096         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8097         by beq instructions jumping to the end of the function.
8098         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8099         clobber list. Use "i" constraint instead of "X".
8100         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8101         of "X".
8103 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
8105         * bits/libc-header-start.h: New file.
8106         * Makefile (headers): Add bits/libc-header-start.h.
8107         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8108         (__GLIBC_USE): New macro.
8109         * libio/stdio.h: Define
8110         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8111         <bits/libc-header-start.h> instead of including <features.h>.
8112         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8113         (open_memstream): Likewise.
8114         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8115         (__asprintf): Likewise.
8116         (asprintf): Likewise.
8117         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8118         (getdelim): Likewise.
8119         (getline): Likewise.
8120         * string/string.h: Define
8121         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8122         <bits/libc-header-start.h> instead of including <features.h>.
8123         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8124         (strndup): Likewise.
8125         * wcsmbs/wchar.h: Define
8126         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8127         <bits/libc-header-start.h> instead of including <features.h>.
8128         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8129         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8131 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8133         Support linking against compatibility symbols, for use in tests.
8134         * include/libc-symbols.h (symbol_version_reference): New macro.
8135         (symbol_version): Use it.
8136         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8137         (compat_symbol): Use compat_symbol_reference.
8138         (compat_symbol_1, compat_symbol_2): Remove.
8139         (compat_symbol_reference, compat_symbol_reference_1)
8140         (compat_symbol_reference_2): New macro.  Use
8141         symbol_version_reference.
8143 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8145         [BZ #19469]
8146         * malloc/Makefile (CPPFLAGS): Compile tests with
8147         -DTEST_NO_MALLOPT.
8148         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8150 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
8152         [BZ #20033]
8153         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8154         finite version.
8155         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8156         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8157         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8158         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8159         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8160         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8161         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8162         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8163         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8164         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8165         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8166         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8167         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8168         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8169         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8170         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8171         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8172         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8173         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8174         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8175         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8176         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8177         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8178         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8179         in zero power.
8181 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8183         [BZ #20370]
8184         * malloc/arena.c (get_free_list): Update comment.  Assert that
8185         arenas on the free list have no attached threads.
8186         (remove_from_free_list): New function.
8187         (reused_arena): Call it.
8189 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
8191         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8192         when it is a NaN.
8193         [_IEEE_FP_INEXACT] Remove.
8194         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8195         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8196         when it is a NaN.
8197         [_IEEE_FP_INEXACT] Remove.
8198         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8199         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8200         when it is a NaN.
8201         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8202         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8203         when its absolute value is greater than 0x1.0p52.
8204         [_IEEE_FP_INEXACT] Remove.
8205         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8206         when its absolute value is greater than 0x1.0p23.
8207         [_IEEE_FP_INEXACT] Remove.
8209 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
8211         * version.h (RELEASE): Set to "development"
8212         (VERSION): Set to 2.24.90.
8213         * NEWS: Add 2.25 section.
8215         * version.h (RELEASE): Set to "stable"
8216         (VERSION): Set to 2.24.
8217         * include/features.h (__GLIBC_MINOR__): Set to 24.
8219         * NEWS: Add 2.24 fixed bugs.
8220         * po/libc.pot: Regenerate.
8222 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
8224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8225         [$(subdir) = math] (libm-sysdep_routines): Remove.
8226         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8227         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8228         s_truncf-vis3, s_trunc-vis3.
8229         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8231         file.
8232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8253         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8258         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8261         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8265         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8266         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8267         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8268         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8269         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8270         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8271         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8272         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8273         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8274         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8276 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
8278         [BZ #20384]
8279         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8280         test-double-libmvec-sincos-avx-main.o,
8281         test-double-libmvec-sincos-avx2-main.o,
8282         test-double-libmvec-sincos-main.o,
8283         test-float-libmvec-sincosf-avx-main.o,
8284         test-float-libmvec-sincosf-avx2-main.o and
8285         test-float-libmvec-sincosf-main.o.
8286         test-float-libmvec-sincosf-avx512-main.o.
8287         ($(objpfx)test-double-libmvec-sincos): Also link with
8288         $(objpfx)test-double-libmvec-sincos-main.o.
8289         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8290         $(objpfx)test-double-libmvec-sincos-avx-main.o.
8291         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8292         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8293         ($(objpfx)test-float-libmvec-sincosf): Also link with
8294         $(objpfx)test-float-libmvec-sincosf-main.o.
8295         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8296         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8297         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8298         test-double-libmvec-sincos-avx512-main.o and
8299         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8300         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8301         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8302         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8303         (CFLAGS-test-double-libmvec-sincos.c): Removed.
8304         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8305         (CFLAGS-test-double-libmvec-sincos-main.c): New.
8306         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8307         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8308         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8309         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8310         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8311         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8312         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8313         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8314         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8315         -DREQUIRE_AVX2.
8316         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8317         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8318         -DREQUIRE_AVX512F.
8319         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8320         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8321         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8322         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8323         file.
8324         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8325         Likewise.
8326         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8327         Likewise.
8328         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8329         Likewise.
8330         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8331         Likewise.
8332         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8333         Likewise.
8334         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8335         Likewise.
8336         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8337         Likewise.
8339 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
8341         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8343 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
8345         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8346         and typo in a comment about AT_HWCAP entry.
8348 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8350         * sysdeps/aarch64/libm-test-ulps: Updated.
8352 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8354         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8355         of r13 as it is not restored in mvcle case.
8357 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
8359         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8360         Rename "ret" to "__ret".
8361         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8362         inline_syscall5, inline_syscall6): Likewise.
8364 2016-07-19   Will Newton  <will.newton@gmail.com>
8366         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8367         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8368         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8369         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8370         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8372 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
8374         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8375         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8376         -mfpmath=387 with $(rtld-CFLAGS).
8377         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8378         $(rtld-CFLAGS).
8380 2016-07-18   Ross Burton  <ross.burton@intel.com>
8381              Khem Raj  <raj.khem@gmail.com>
8383         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8384         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8385         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8386         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8387         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8388         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8389         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8390         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8391         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8392         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8393         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8394         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8395         R_METAG_TLS_DTPOFF): New.
8397 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8398             Matt Clay  <mclay@lycos.com>
8400         [BZ #20357]
8401         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8402         to call __mpsin/__mpcos and to negate values.
8403         * math/auto-libm-test-in: Add test.
8404         * math/auto-libm-test-out: Regenerate.
8406 2016-07-18  Zack Weinberg  <zackw@panix.com>
8408         * grp/Makefile: Don't install the internal header grp-merge.h.
8410 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8412         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8414 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8416         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8418 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8420         [BZ #15368]
8421         * sysdeps/unix/sysv/linux/nptl-signals.h
8422         (__nptl_clear_internal_signals): New function.
8423         (__libc_signal_block_all): Likewise.
8424         (__libc_signal_block_app): Likewise.
8425         (__libc_signal_restore_set): Likewise.
8426         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8427         implementation.
8428         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8429         the cached pid/tid value in pthread structure.
8431 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
8433         [BZ #20347]
8434         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8436 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8438         [BZ #20348]
8439         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8440         preadv64, pwrite64 and pwritev64.
8442 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8444         [BZ #20350]
8445         * posix/tst-preadwrite.c: Renamed to ...
8446         * posix/tst-preadwrite-common.c: This.
8447         (PREAD): Removed.
8448         (PWRITE): Likewise.
8449         (STRINGIFY): Likewise.
8450         (STRINGIFY2): Likewise.
8451         (do_prepare): Make it static and remove function arguments.
8452         (do_test): Likewise.
8453         (PREPARE): Updated.
8454         (TEST_FUNCTION): New.
8455         (name): Make it static.
8456         (fd): Likewise.
8457         (do_prepare): Use create_temp_file.
8458         (do_test): Renamed to ...
8459         (do_test_with_offset): This.  Make it static and accept offset.
8460         Properly check return value of PWRITE and PREAD.  Return bytes
8461         read.  Don't close fd nor unlink name.
8462         * posix/tst-preadwrite.c: Rewrite.
8463         * posix/tst-preadwrite64.c: Likewise.
8465 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8467         [BZ #20309]
8468         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8469         -mtls-dialect=gnu2 works.
8470         * configure: Regenerated.
8471         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8472         (tests): Add tst-gnu2-tls1.
8473         (modules-names): Add tst-gnu2-tls1mod.
8474         ($(objpfx)tst-gnu2-tls1): New.
8475         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8476         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8477         * elf/tst-gnu2-tls1.c: New file.
8478         * elf/tst-gnu2-tls1mod.c: Likewise.
8479         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8480         bytes for push in the PLT entry to align the stack.
8482 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8484         [BZ #20349]
8485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8487 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8489         [BZ #18707]
8490         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8491         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8493 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8495         * sysdeps/unix/sysv/linux/sysdep.h
8496         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8497         guards.
8498         * misc/tst-preadvwritev-common.c: New file.
8499         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8500         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8501         a check for files larger than 2GB.
8503         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8504         (__ASSUME_OFF_DIFF_OFF64): Remove define.
8505         * sysdeps/unix/sysv/linux/pread.c
8506         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8507         __OFF_T_MATCHES_OFF64_T.
8508         * sysdeps/unix/sysv/linux/pread64.c
8509         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8510         * sysdeps/unix/sysv/linux/preadv.c
8511         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8512         * sysdeps/unix/sysv/linux/preadv64.c
8513         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8514         * sysdeps/unix/sysv/linux/pwrite.c
8515         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8516         * sysdeps/unix/sysv/linux/pwrite64.c
8517         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8518         * sysdeps/unix/sysv/linux/pwritev.c
8519         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8520         * sysdeps/unix/sysv/linux/pwritev64.c
8521         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8523 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
8525         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8526         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8528 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
8530         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8532 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
8534         [BZ #20240]
8535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8536         (CFLAGS-s_modf-ppc32.c): New variable.
8537         (CFLAGS-s_modff-ppc32.c): Likewise.
8538         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8539         (CFLAGS-s_modf-ppc64.c): Likewise.
8540         (CFLAGS-s_modff-ppc64.c): Likewise.
8542 2016-07-07  Andreas Schwab  <schwab@suse.de>
8544         [BZ #20263]
8545         * nptl/tst-robust10.c: New test.
8546         * nptl/Makefile (tests): Add tst-robust10.
8548 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
8550         [BZ #20263]
8551         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
8553 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8555         * sysdeps/s390/linkmap.h (struct link_map_machine):
8556         Remove member gotplt and add member jmprel.
8557         * sysdeps/s390/s390-32/dl-machine.h
8558         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
8559         instead of gotplt with &got[3].
8560         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
8561         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8563 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
8565         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
8567 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8569         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
8570         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
8571         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8572         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
8573         * libio/vtables.c (_IO_vtable_check)
8574         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8575         * libio/libioP.h (IO_set_accept_foreign_vtables)
8576         [!PTR_MANGLE]: Do not call PTR_MANGLE.
8578 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
8580         [BZ #20314]
8581         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8582         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8583         $(common-objpfx)cmath.
8584         ($(common-objpfx)cstdlib): New target.
8585         ($(common-objpfx)cmath): Likewise.
8587 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
8589         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8591 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8593         [BZ #20327]
8594         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8595         are not part of the string.
8597 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8599         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8600         * nptl/tst-cancel4-common.h (fifoname): New variable.
8601         (fifofd): Likewise.
8602         (cl_fifo): New function.
8603         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8604         SIGINT.
8605         (tf_open): Add early cancel test.
8607 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
8609         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8611 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
8613         * sysdeps/generic/ldsodefs.h
8614         (dl_symbol_visibility_binds_local_p): New inline function.
8615         * elf/dl-addr.c (determine_info): Treat hidden and internal
8616         symbols as local.
8617         * elf/dl-lookup.c (do_lookup_x): Likewise.
8618         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8620 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
8622         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8623         invalid exception for a sNaN input.
8624         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8625         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8626         (__nearbyint_vis3): Likewise
8627         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8628         (__nearbyintf_vis3): Likewise
8629         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8630         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8631         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8632         Likewise.
8633         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8634         Likewise.
8636 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
8638         [BZ #20139]
8639         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8640         (HAVE_AVX512DQ_ASM_SUPPORT): This.
8641         * sysdeps/x86_64/configure.ac: Require assembler from binutils
8642         2.24 or above.
8643         (HAVE_AVX512_ASM_SUPPORT): Removed.
8644         (HAVE_AVX512DQ_ASM_SUPPORT): New.
8645         * sysdeps/x86_64/configure: Regenerated.
8646         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8647         check unconditional.
8648         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8649         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8650         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8651         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8652         Likewise.
8653         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8654         Likewise.
8655         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8656         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8657         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8658         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8659         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8660         Likewise.
8661         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8662         Likewise.
8663         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8664         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8665         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8666         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8667         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8668         Likewise.
8669         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8670         Likewise.
8671         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8672         Likewise.
8673         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8674         Likewise.
8675         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8676         Likewise.
8677         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8678         Likewise.
8679         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8680         Likewise.
8681         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8682         Likewise.
8683         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8684         Likewise.
8685         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8686         Likewise.
8687         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8688         Likewise.
8690 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
8692         [BZ #20024]
8693         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8694         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8695         of this implementation of vector function.
8696         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8697         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8698         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8699         Likewise.
8700         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8701         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8702         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8703         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8704         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8705         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8706         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8707         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8708         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8709         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8710         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8711         for testing vector sincos with fixed ABI.
8712         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8713         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8714         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8715         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8716         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8717         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8718         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8719         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8720         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8721         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8722         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8723         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8724         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8725         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8726         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8727         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8729 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8731         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8733 2016-06-30  Anton Blanchard  <anton@samba.org>
8735         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8736         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8737         s_sinf-ppc64.
8738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8741         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8743 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8746         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8747         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8748         e_expf-ppc64.
8749         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8750         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8751         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8752         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8754 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
8756         [BZ #20277]
8757         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8758         when SHARED is defined.
8760 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
8762         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8763         (index_arch_Prefer_ERMS): Likewise.
8764         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8765         __memcpy_erms for Prefer_ERMS.
8766         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8767         (__memmove_erms): Enabled for libc.a.
8768         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8769         __memmove_erms or Prefer_ERMS.
8770         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8771         __mempcpy_erms for Prefer_ERMS.
8772         * sysdeps/x86_64/multiarch/memset.S (memset): Return
8773         __memset_erms for Prefer_ERMS.
8775 2016-06-30  Andreas Schwab  <schwab@suse.de>
8777         [BZ #20262]
8778         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8779         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
8780         of memory.
8782 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
8784         [BZ #18645]
8785         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8786         (test-extras): Add tst-cleanupx4aux.
8787         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
8788         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8789         tst-cleanupx4aux.o.
8790         * nptl/tst-cleanupx4aux.c: New file.
8792 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8794         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8796 2016-06-29  Andreas Schwab  <schwab@suse.de>
8798         [BZ #20260]
8799         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8800         address before the beginning of the string as an integer to avoid
8801         array-bounds warning.
8803 2016-06-28  Richard Henderson  <rth@redhat.com>
8805         * elf/elf.h (EM_BPF): New.
8806         (EM_NUM): Update.
8807         (R_BPF_NONE, R_BPF_MAP_FD): New.
8809         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8810         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8811         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8812         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8813         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8814         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8815         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8816         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8817         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8818         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8819         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8820         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8821         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8822         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8823         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8824         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8825         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8826         (EM_NUM): Update.
8828 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
8830         [BZ #18960]
8831         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8832         Set _nl_current_LC_CATEGORY_used to two instead of one.
8834 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
8836         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8837         (do_test): ... this.
8838         (TEST_FUNCTION): New macro.
8839          Include test-skeleton.c.
8840         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8841         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8843 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
8845         [BZ #15479]
8846         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8847         floating-point environment rather than just control word.
8848         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8849         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8850         floating-point environment, with "invalid" exceptions merged in,
8851         rather than just control word.
8852         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8853         * math/libm-test.inc (trunc_test_data): Do not allow spurious
8854         "inexact" exceptions.
8856         [BZ #15479]
8857         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8858         floating-point environment rather than just control word.
8859         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8860         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8861         floating-point environment, with "invalid" exceptions merged in,
8862         rather than just control word.
8863         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8864         * math/libm-test.inc (floor_test_data): Do not allow spurious
8865         "inexact" exceptions.
8867         [BZ #15479]
8868         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8869         floating-point environment rather than just control word.
8870         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8871         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8872         floating-point environment, with "invalid" exceptions merged in,
8873         rather than just control word.
8874         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8875         * math/libm-test.inc (ceil_test_data): Do not allow spurious
8876         "inexact" exceptions.
8878 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
8880         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8881         __libc_vfork.
8882         (__vfork) [IS_IN (libc)]: Remove alias.
8883         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8884         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8885         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8887 2016-06-24  Torvald Riegel  <triegel@redhat.com>
8889         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8890         of atomic_compare_and_exchange_bool_rel.
8891         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8892         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8893         catomic_compare_and_exchange_bool_rel): Remove.
8894         * sysdeps/aarch64/atomic-machine.h
8895         (atomic_compare_and_exchange_bool_rel): Likewise.
8896         * sysdeps/alpha/atomic-machine.h
8897         (atomic_compare_and_exchange_bool_rel): Likewise.
8898         * sysdeps/arm/atomic-machine.h
8899         (atomic_compare_and_exchange_bool_rel): Likewise.
8900         * sysdeps/mips/atomic-machine.h
8901         (atomic_compare_and_exchange_bool_rel): Likewise.
8902         * sysdeps/microblaze/atomic-machine.h
8903         ( __arch_compare_and_exchange_bool_8_rel,
8904         __arch_compare_and_exchange_bool_16_rel): Likewise.
8905         * sysdeps/powerpc/atomic-machine.h
8906         ( __arch_compare_and_exchange_bool_8_rel,
8907         __arch_compare_and_exchange_bool_16_rel): Likewise.
8908         * sysdeps/powerpc/powerpc32/atomic-machine.h
8909         ( __arch_compare_and_exchange_bool_32_rel,
8910         __arch_compare_and_exchange_bool_64_rel): Likewise.
8911         * sysdeps/powerpc/powerpc64/atomic-machine.h
8912         ( __arch_compare_and_exchange_bool_32_rel,
8913         __arch_compare_and_exchange_bool_64_rel): Likewise.
8914         * sysdeps/tile/atomic-machine.h
8915         (atomic_compare_and_exchange_bool_rel): Likewise.
8917 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
8919         [BZ #20296]
8920         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8921         when either argument is a NaN.
8922         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8923         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8925         * math/libm-test.inc (snan_value_ld): New macro.
8926         (isgreater_test_data): Add sNaN tests.
8927         (isgreaterequal_test_data): Likewise.
8928         (isless_test_data): Likewise.
8929         (islessequal_test_data): Likewise.
8930         (islessgreater_test_data): Likewise.
8931         (isunordered_test_data): Likewise.
8932         (nextafter_test_data): Likewise.
8933         (nexttoward_test_data): Likewise.
8934         (remainder_test_data): Likewise.
8935         (remquo_test_data): Likewise.
8936         (significand_test_data): Likewise.
8937         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8939 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8941         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8942         environment macros are defined.
8943         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8945 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8947         [BZ #20191]
8948         Implement vtable verification in libio.
8949         * Makerules (shlib.lds): Place __libc_IO_vtables section.
8950         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8951         * debug/vdprintf_chk.c (__vdprintf_chk): Call
8952         _IO_new_file_init_internal instead of _IO_file_init.
8953         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8954         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8955         * libio/Makefile (routines): Add vtables.
8956         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8957         (_IO_init): Remove, not for internal use.
8958         (_IO_init_internal): Declare, internal replacement for _IO_init.
8959         (_IO_file_init): Remove, not for internal use.
8960         (_IO_new_file_init): Remove, not for internal use.
8961         (_IO_new_file_init_internal): Declare, internal replacement for
8962         _IO_new_file_init.
8963         (_IO_old_file_init): Remove, not for internal use.
8964         (_IO_old_file_init_internal): Declare, internal replacement for
8965         _IO_old_file_init.
8966         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8967         internal use.
8968         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8969         Declare.
8970         (libio_vtable): New macro.
8971         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8972         functions.
8973         * libio/fileops.c (_IO_new_file_init_internal): Rename from
8974         _IO_new_file_init.
8975         (_IO_new_file_init): New externally visible wrapper which disables
8976         vtable verification.
8977         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8978         Define as vtables.
8979         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8980         (_IO_init): New externally visible wrapper which disables
8981         vtable verification.
8982         * libio/iofdopen.c (_IO_new_fdopen): Call
8983         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
8984         comment.
8985         * libio/iofopen.c (__fopen_internal): Call
8986         _IO_new_file_init_internal instead of _IO_file_init.
8987         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8988         Define as vtables.
8989         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8990         _IO_new_file_init_internal instead of _IO_file_init.
8991         * libio/iopopen.c (_IO_new_popen): Likewise.
8992         (_IO_proc_jumps): Define as vtable.
8993         * libio/iovdprintf.c (_IO_vdprintf): Call
8994         _IO_new_file_init_internal instead of _IO_file_init.
8995         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8996         (__open_memstream): Call _IO_init_internal instead of _IO_init.
8997         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8998         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8999         _IO_old_file_init.
9000         (_IO_old_file_init): New externally visible wrapper which disables
9001         vtable verification.
9002         (_IO_old_file_jumps): Define as vtable.
9003         * libio/oldiofdopen.c (_IO_old_fdopen): Call
9004         _IO_old_file_init_internal instead of _IO_old_file_init.
9005         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9006         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9007         (_IO_old_proc_jumps): Define as vtable.
9008         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
9009         Define as vtables.
9010         * libio/vtables.c: New file.
9011         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
9012         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
9013         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
9014         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
9015         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
9016         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
9017         instead of _IO_init.
9019 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9021         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
9023 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9025         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
9026         potentially unused.
9028 2016-06-22  Florian Weimer  <fweimer@redhat.com>
9030         * test-skeleton.c (write_message): New function.
9031         * malloc/tst-mallocfork2.c (write_message): Remove.
9032         * debug/tst-longjmp_chk2.c (write_indented): New function.
9033         (write_message): Remove.
9034         (stackoverflow_handler): Call write_indented.
9036 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
9038         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9039         "inexact" exceptions after fnstenv.
9040         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9041         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9042         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9044 2015-06-22  Zack Weinberg  <zackw@panix.com>
9046         * sysdeps/generic/bits/hwcap.h: Moved to ...
9047         * bits/hwcap.h: Here.
9049 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
9051         * sysdeps/aarch64/memcpy.S (memcpy):
9052         Further tuning for performance.
9054 2016-06-21  Florian Weimer  <fweimer@redhat.com>
9056         [BZ #20284]
9057         * malloc/arena.c (reused_arena): Do not return NULL if we start
9058         out with a non-corrupted arena.
9060 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9062         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9063         * misc/tst-preadvwritev.c: New file.
9064         * misc/tst-preadvwritev64.c: Likewise.
9065         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9066         usage.
9067         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9068         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9069         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9070         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9072 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
9074         [BZ #19654]
9075         * sysdeps/x86_64/fpu/Makefile: Added new tests.
9076         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9077         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9078         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9079         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9080         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9081         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9082         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9083         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9084         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9085         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9086         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9087         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9088         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9089         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9090         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9091         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9092         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9093         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9094         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9095         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9096         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9097         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9098         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9099         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9100         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9102 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9104         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9105         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9107 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9109         * sysdeps/aarch64/memcpy.S (memcpy):
9110         Rewrite of optimized memcpy and memmove.
9111         * sysdeps/aarch64/memmove.S (memmove): Remove
9112         memmove code (merged into memcpy.S).
9114 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9116         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9117         * sysdeps/generic/dl-dtv.h: New file.
9118         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9119         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9120         (dtv_t): Remove.
9121         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9122         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9123         (dtv_t): Remove.
9124         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9125         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9126         (dtv_t): Remove.
9127         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9128         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9129         (dtv_t): Remove.
9130         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9131         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9132         (dtv_t): Remove.
9133         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9134         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9135         (dtv_t): Remove.
9136         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9137         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9138         (dtv_t): Remove.
9139         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9140         (dtv_t): Remove.
9141         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9142         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9143         (dtv_t): Remove.
9144         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9145         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9146         (dtv_t): Remove.
9147         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9148         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9149         (dtv_t): Remove.
9150         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9151         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9152         (dtv_t): Remove.
9153         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9154         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9155         (dtv_t): Remove.
9156         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9157         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9158         (dtv_t): Remove.
9159         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9160         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9161         (dtv_t): Remove.
9162         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9163         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9164         (dtv_t): Remove.
9166 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9168         Revert symbol poisoning of  __malloc_initialize_hook.
9169         * include/stdc-predef.h (__malloc_initialize_hook): Remove
9170         poisoning.
9171         * malloc/Makefile: Remove un-poisoning.
9172         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9173         instead of old__malloc_initialize_hook.
9174         * malloc/malloc-hooks.h: Likewise.
9175         * malloc/malloc.c: Likewise.
9176         * malloc/mcheck-init.c: Likewise.
9178 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
9180         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9182 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
9184         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9185         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9186         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9187         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9189 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9191         * NEWS: Mention addition of nextup and nextdown.
9192         * manual/arith.texi: Document nextup and nextdown.
9193         * manual/libm-err-tab.pl: Add nextup and nextdown.
9194         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9195         * math/Versions (libm): Add GLIBC_2.24.
9196         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9197         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9198         Add new test.
9199         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9200         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9201         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9202         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9203         (nextup_test_data): Likewise.
9204         (nextdown_test_data): Likewise.
9205         * math/s_nextdown.c: New file.
9206         * math/s_nextdownf.c: Likewise.
9207         * math/s_nextdownl.c: Likewise.
9208         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9209         F(nextup): New function.
9210         F(nextdown): Likewise.
9211         * math/tgmath.h: Add nextup and nextdown.
9212         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9213         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9214         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9215         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9216         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9217         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9218         Add nextup and nextdown.
9219         (CFLAGS-nldbl-nextup.c): New variable.
9220         (CFLAGS-nldbl-nextdown.c): Likewise.
9221         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9222         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9223         * sysdeps/nacl/libm.abilist: Update.
9224         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9225         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9226         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9227         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9228         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9229         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9230         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9231         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9232         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9233         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9234         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9235         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9238         Likewise.
9239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9241         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9242         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9243         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9244         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9245         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9248         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9249         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9250         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9251         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9253 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9255         * manual/pattern.texi: Fix typos & grammar errors.
9257 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9259         * manual/search.texi: Fix typos & grammar errors.
9261 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9263         * manual/message.texi: Fix typos & grammar errors.
9265 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
9267         * manual/contrib.texi: Fix spelling typos.
9268         * manual/crypt.texi: Likewise.
9269         * manual/filesys.texi: Likewise.
9270         * manual/locale.texi: Likewise.
9271         * manual/message.texi: Likewise.
9272         * manual/nss.texi: Likewise.
9273         * manual/string.texi: Likewise.
9275 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9277         * manual/locale.texi: Fix typos & grammar errors.
9279 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9281         * manual/charset.texi: Fix typos & grammar errors.
9283 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9285         * manual/string.texi: Fix typos.
9287 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9289         * manual/ctype.texi: Fix typos.
9291 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9293         * manual/memory.texi: Fix various typos & grammar errors.
9295 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
9297         [BZ #20255]
9298         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
9299         * math/libm-test.inc (fdim_test_data): Add another test.
9301         [BZ #6796]
9302         [BZ #20255]
9303         [BZ #20256]
9304         * math/s_fdim.c: Include <math_private.h>.
9305         (__fdim): Use math_narrow_eval on result.
9306         * math/s_fdimf.c: Include <math_private.h>.
9307         (__fdimf): Use math_narrow_eval on result.
9308         * sysdeps/i386/fpu/s_fdim.S: Remove file.
9309         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9310         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9311         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9312         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9313         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9314         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9315         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9316         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9317         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9318         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9319         * math/libm-test.inc (fdim_test_data): Expect errno setting on
9320         overflow.  Add sNaN tests.
9322         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9323         fpclassify.
9324         * math/s_fdimf.c (__fdimf): Likewise.
9325         * math/s_fdiml.c (__fdiml): Likewise.
9327 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9329         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9330         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9332         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9333         ifunc'ed strcasecmp/strncasecmp.
9334         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9335         [EALIGN]: Removed.
9336         [END]: Likewise.
9337         [__strcasecmp]: Define instead of the above to control symbol name.
9338         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9339         for __strcasecmp_power8.
9340         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9341         for __strncasecmp_power8.
9342         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9343         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9344         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9345         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9346         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9347         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9349 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
9351         [BZ #20252]
9352         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9353         arguments when second argument is a NaN.
9354         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9355         qNaN tests.
9357         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9358         (conj_test_data): Likewise.
9359         (copysign_test_data): Likewise.
9360         (creal_test_data): Likewise.
9361         (fma_test_data): Likewise.
9362         (fmod_test_data): Likewise.
9364         [BZ #20250]
9365         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9366         itself.
9367         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9368         zero input to itself.
9369         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9370         Likewise.
9371         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9372         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9373         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9374         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9375         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9377 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9379         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9380         * nptl/tst-cancel4-common.c: New file.
9381         * nptl/tst-cancel4-common.h: Likewise.
9382         * nptl/tst-cancel4.c: Move common definitions to
9383         tst-cancel4-common.{c,h} file.
9384         * nptl/tst-cancel4_1.c: New test.
9385         * nptl/tst-cancel4_2.c: New test.
9387 2016-06-13  Florian Weimer  <fweimer@redhat.com>
9389         [BZ #20248]
9390         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9391         (write_message): New function.
9392         (stackoverflow_handler): Call it instead of printf, to avoid
9393         excessive stack usage by printf.
9394         (do_test): Restore SIGSEGV, SIGBUS default handlers.
9396 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9398         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9399         (prio_inherit_missing): Remove define.
9400         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9401         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9402         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9403         Likewise.
9404         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9405         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9406         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9407         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9408         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9409         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9411 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9413         [BZ #19670]
9414         [BZ #19672]
9416         * io/test-lfs.c (do_prepare): Use xmalloc.
9417         * io/tst-fcntl.c (do_prepare): Likewise.
9418         * libio/tst-fopenloc.c (do_bz17916): Likewise.
9419         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9420         * login/tst-utmp.c (do_prepare): Likewise.
9421         * posix/tst-exec.c (do_prepare): Likewise.
9422         * posix/tst-pathconf.c (prepare): Likewise.
9423         * posix/tst-spawn.c (do_prepare): Likewise.
9424         * posix/tst-truncate.c (do_prepare): Likewise.
9425         * rt/tst-aio.c (do_prepare): Likewise.
9426         * rt/tst-aio64.c (do_prepare): Likewise.
9428 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9430         [BZ #20237]
9431         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9432         (get*ent): Set entidx to NULL during initialization.  If entidx is
9433         NULL, start iteration from the beginning.
9435 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9437         * malloc/malloc.c (musable): Return correct size for dumped fake
9438         mmapped chunk.
9440 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9442         [BZ #20222]
9443         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9444         (_IO_cookie_write): Likewise.
9445         (_IO_cookie_seek): Likewise.
9446         (_IO_cookie_close): Likewise.
9447         (_IO_old_cookie_seek): Likewise.
9448         (set_callbacks): New function.
9449         (_IO_cookie_init): Call set_callbacks to copy callbacks.
9451 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
9453         * locale/programs/localedef.c (oldstyle_tables): Remove.
9454         * locale/programs/localedef.h (oldstyle_tables): Likewise.
9456 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
9458         [BZ #20240]
9459         * math/Makefile (CFLAGS-s_modf.c): New variable.
9460         (CFLAGS-s_modff.c): Likewise.
9461         (CFLAGS-s_modfl.c): Likewise.
9462         * math/libm-test.inc (modf_test_data): Add sNaN tests.
9464 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
9466         [BZ #20215]
9467         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9468         [!__GNUC_PREREQ (3,2)]: Likewise.
9470 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9472         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9473         (msghdr.msg_controllen): Likewise.
9474         (cmsghdr.cmsg_len): Likewise.
9475         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9476         ptw-oldsendmsg.
9477         (CFLAGS-oldrecvmsg.c): Remove rule.
9478         (CFLAGS-oldsendmsg.c): Likewise.
9479         (CFLAGS-recvmsg.c): Add rule.
9480         (CFLAGS-sendmsg.c): Likewise.
9481         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9482         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9483         (CFLAGS-recvmsg.c): Remove rule.
9484         (CFLAGS-sendmsg.c): Likewise.
9485         (CFLAGS-oldrecvmsg.c): Likewise.
9486         (CFLAGS-oldsendmsg.c): Likewise.
9487         (CFLAGS-recvmmsg.c): Likewise.
9488         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9489         to kernel defined interfaces.
9490         (msghdr.msg_controllen): Likewise.
9491         (cmsghdr.cmsg_len): Likewise.
9492         (msghdr.__glibc_reserved1): Remove member.
9493         (msghdr.__glibc_reserved2): Likewise.
9494         (cmsghdr.__glibc_reserved1): Likewise.
9495         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9496         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9497         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9498         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9499         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9500         version.
9501         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9502         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9503         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9504         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9505         Remove recvmsg and sendmsg.
9506         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9507         Likewise.
9508         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9509         Likewise.
9510         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9511         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9512         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9513         Likewise.
9514         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9515         Likewise.
9516         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9517         [libc] (GLIBC_2.24): Likewise.
9518         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9519         Likewise.
9520         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9521         Likewise.
9522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9523         [libc] (GLIBC_2.24): Likewise.
9524         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9525         Likewise.
9526         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9527         Likewise.
9528         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9529         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9530         Likewise.
9531         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9532         Likewise.
9533         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9534         Likewise.
9535         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9536         Likewise.
9537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9538         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9539         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9540         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
9541         version for {recv,send,recm,sendm}msg.
9542         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9543         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9544         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9545         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9546         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9547         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9548         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9549         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9550         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9551         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9552         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9553         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9555         Likewise.
9556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9557         Likewise.
9558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9560         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9561         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9562         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9563         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9564         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9565         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9568         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9569         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9570         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9572 2016-06-10  Florian Weimer  <fweimer@redhat.com>
9574         [BZ #19564]
9575         Remove __malloc_initialize_hook from the API.
9576         * malloc/malloc.h (__malloc_initialize_hook): Remove.
9577         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
9578         #pragma GCC poison.
9579         * malloc/malloc-hooks.h: New file.
9580         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9581         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9582         (old__malloc_initialize_hook): Rename from
9583         __malloc_initialize_hook to evade poisoning.  Turn into compat
9584         symbol.
9585         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9586         __malloc_initialize_hook.
9587         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9588         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9589         * manual/memory.texi (Hooks for Malloc): Remove
9590         __malloc_initialize_hook.  Adjust hook example.
9592 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
9594         [BZ #20235]
9595         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9596         itself.
9597         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9598         * math/libm-test.inc (log2_test_data): Add sNaN tests.
9600         [BZ #20234]
9601         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9602         infinity or NaN input to itself.
9604         [BZ #20233]
9605         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9606         to itself.
9608         [BZ #20232]
9609         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9610         itself.
9612 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9614         * sysdeps/x86_64/start.S (_start): Always indirect branch to
9615         __libc_start_main via GOT.
9617 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9619         * sysdeps/x86_64/memcopy.h: New file.
9620         * sysdeps/x86_64/wordcopy.c: Likewise.
9622 2016-06-09  Florian Weimer  <fweimer@redhat.com>
9624         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9625         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9626         <cstdlib>.
9627         (optimization_barrier): New.
9628         (do_test): Use it.  Call quick_exit in the global namespace.
9629         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9630         instead of <cstdlib>, <thread>.
9631         (optimization_barrier): New.
9632         (non_main_thread): Adjust declaration.  Call optimization_barrier.
9633         Call quick_exit in the global namespace.
9634         (do_test): Call optimization_barrier.  Use pthread_create,
9635         pthread_join instead of std::thread.
9637 2016-06-09  Andreas Schwab  <schwab@suse.de>
9639         [BZ #19755]
9640         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9641         new entries in auto-propagate mode.
9642         * nscd/grpcache.c (cache_addgr): Likewise.
9644 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9646         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9647         New functions.
9648         (add_temp_file): Use them.
9650 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
9652         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9654 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
9656         [BZ #20229]
9657         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9658         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9659         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9661         [BZ #20228]
9662         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9663         itself.
9664         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9665         * math/libm-test.inc (log10_test_data): Add sNaN tests.
9667         [BZ #20227]
9668         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9669         itself.
9670         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9671         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9672         * math/libm-test.inc (log_test_data): Add sNaN tests.
9674         [BZ #20226]
9675         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9676         itself.
9677         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9678         * math/libm-test.inc (exp_test_data): Add sNaN tests.
9679         (exp10_test_data): Likewise.
9680         (expm1_test_data): Likewise.
9682         [BZ #20225]
9683         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9684         itself.
9685         * math/s_ldexpf.c (__ldexpf): Likewise.
9686         * math/s_ldexpl.c (__ldexpl): Likewise.
9687         * math/w_scalbln.c (__w_scalbln): Likewise.
9688         * math/w_scalblnf.c (__w_scalblnf): Likewise.
9689         * math/w_scalblnl.c (__w_scalblnl): Likewise.
9690         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9691         (scalbln_test_data): Likewise.
9693         [BZ #20224]
9694         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9695         argument to itself.
9696         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9698 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9700         [BZ #19776]
9701         * sysdeps/x86_64/memcpy.S: Make it dummy.
9702         * sysdeps/x86_64/mempcpy.S: Likewise.
9703         * sysdeps/x86_64/memmove.S: New file.
9704         * sysdeps/x86_64/memmove_chk.S: Likewise.
9705         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9706         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9707         * sysdeps/x86_64/memmove.c: Removed.
9708         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9709         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9710         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9711         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9712         Likewise.
9713         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9714         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9715         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9716         memcpy-sse2-unaligned, memmove-avx-unaligned,
9717         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9718         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9719         (__libc_ifunc_impl_list): Replace
9720         __memmove_chk_avx512_unaligned_2 with
9721         __memmove_chk_avx512_unaligned.  Remove
9722         __memmove_chk_avx_unaligned_2.  Replace
9723         __memmove_chk_sse2_unaligned_2 with
9724         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
9725         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
9726         with __memmove_avx512_unaligned.  Replace
9727         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9728         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
9729         with __memcpy_chk_avx512_unaligned.  Remove
9730         __memcpy_chk_avx_unaligned_2.  Replace
9731         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9732         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
9733         Replace __memcpy_avx512_unaligned_2 with
9734         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
9735         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
9736         with __mempcpy_chk_avx512_unaligned.  Remove
9737         __mempcpy_chk_avx_unaligned_2.  Replace
9738         __mempcpy_chk_sse2_unaligned_2 with
9739         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
9740         Replace __mempcpy_avx512_unaligned_2 with
9741         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
9742         Replace __mempcpy_sse2_unaligned_2 with
9743         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
9744         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9745         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9746         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9747         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
9748         (ENTRY): Removed.
9749         (END): Likewise.
9750         (ENTRY_CHK): Likewise.
9751         (libc_hidden_builtin_def): Likewise.
9752         Don't include ../memcpy.S.
9753         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9754         __memcpy_chk_avx512_unaligned_erms and
9755         __memcpy_chk_avx512_unaligned.  Use
9756         __memcpy_chk_avx_unaligned_erms and
9757         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9758         Default to __memcpy_chk_sse2_unaligned.
9759         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9760         Change function suffix from unaligned_2 to unaligned.
9761         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9762         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9763         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9764         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
9765         (ENTRY): Removed.
9766         (END): Likewise.
9767         (ENTRY_CHK): Likewise.
9768         (libc_hidden_builtin_def): Likewise.
9769         Don't include ../mempcpy.S.
9770         (mempcpy): New.  Add a weak alias.
9771         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9772         __mempcpy_chk_avx512_unaligned_erms and
9773         __mempcpy_chk_avx512_unaligned.  Use
9774         __mempcpy_chk_avx_unaligned_erms and
9775         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9776         Default to __mempcpy_chk_sse2_unaligned.
9778 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9780         [BZ #19881]
9781         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9782         into ...
9783         * sysdeps/x86_64/memset.S: This.
9784         (__bzero): Removed.
9785         (__memset_tail): Likewise.
9786         (__memset_chk): Likewise.
9787         (memset): Likewise.
9788         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9789         defined.
9790         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9791         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9792         (__memset_zero_constant_len_parameter): Check SHARED instead of
9793         PIC.
9794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9795         memset-avx2 and memset-sse2-unaligned-erms.
9796         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9797         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9798         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9799         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9800         (__bzero): Enabled.
9801         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9802         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9803         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
9804         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
9805         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9806         (memset): Removed.
9807         (__memset_chk): Likewise.
9808         (MEMSET_SYMBOL): New.
9809         (libc_hidden_builtin_def): Replace __memset_sse2 with
9810         __memset_sse2_unaligned.
9811         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9812         __memset_chk_sse2 and __memset_chk_avx2 with
9813         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9814         Use __memset_chk_sse2_unaligned_erms or
9815         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
9816         __memset_chk_avx512_unaligned_erms and
9817         __memset_chk_avx512_unaligned.
9819 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9821         * math/gen-auto-libm-test.c (fp_format_desc): remove
9822         suffix member.
9823         (output_generic_value): Remove usage of suffix member,
9824         and the resulting unuse of the fp_format argument.
9825         (output_for_one_input_case): Remove unused fp_format
9826         parameter.
9828         * math/auto-libm-test-out: Regenerate.
9830         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9831         usage with TEST_COND_ibm128.
9832         (TEST_COND_flt_32): Remove.
9833         (TEST_COND_dbl_64): Remove.
9834         (TEST_COND_ldbl_96_intel): Remove.
9835         (TEST_COND_ldbl_96_m68k): Remove.
9836         (TEST_COND_ldbl_128): Remove.
9838 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9840         * auto-libm-test-in:
9841         Replace flt-32 usage with binary32.
9842         Replace dbl-64 usage with binary64.
9843         Replace ldbl-intel-96 usage with intel96.
9844         Replace ldbl-m68k-96 usage with m68k96.
9845         Replace ldbl-128ibm usage with ibm128.
9846         Replace ldbl-128 usage with binary128.
9848         * auto-libm-test-out: Regenerate.
9850 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9852         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9853         (parse_ulps): Dynamically generate type name matching
9854         string from all_floats.
9855         (get_ulps): Generate the ulps as an array instead.
9856         (output_ulps): Dynamically compose the type based
9857         on the number of supported formats, and print
9858         the indices as type specific helper macros.
9860         * math/libm-test.inc: Remove comment about CHOOSE.
9861         (ulp_data): Generate the type in libm-test-ulps.h.
9862         (ULP_IDX): New macro.
9863         (find_ulps): Update usage of max_ulp.
9865         * math/test-double-vlen2.h (CHOOSE): Remove.
9866         * math/test-double-vlen4.h (CHOOSE): Likewise.
9867         * math/test-double-vlen8.h (CHOOSE): Likewise.
9868         * math/test-float.c (CHOOSE): Likewise.
9869         * math/test-float-finite.c (CHOOSE): Likewise.
9870         * math/test-double.c (CHOOSE): Likewise.
9871         * math/test-double-finite.c (CHOOSE): Likewise.
9872         * math/test-idouble.c (CHOOSE): Likewise.
9873         * math/test-ifloat.c (CHOOSE): Likewise.
9874         * math/test-ildoubl.c (CHOOSE): Likewise.
9875         * math/test-ldouble-finite.c (CHOOSE): Likewise.
9876         * math/test-ldouble.c (CHOOSE): Likewise.
9878         * math/test-float.h (TEST_FLOAT): Remove.
9879         * math/test-double.h (TEST_DOUBLE): Likewise.
9880         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9882 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9884         * math/gen-libm-test.pl: (apply_lit): New subroutine.
9885         (parse_args): Strip C suffix from floating point literals
9886         typed with 'f' and wrap them with LIT().
9888         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9889         (test_ff_f_data_nexttoward): Rename to
9890         (test_fj_f_data): New struct.
9891         (nexttoward_test_data): Relabel tests as
9892         TEST_fj_f instead of TEST_ff_f.
9894 2016-06-08  Florian Weimer  <fweimer@redhat.com>
9896         Emacs bug 23726.
9897         * malloc/malloc.c (dumped_main_arena_start): Update comment.
9898         (__libc_realloc): Correct size computation for dumped fake mmapped
9899         chunks.
9901 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
9903         [BZ #20219]
9904         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9905         to itself.
9906         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9908         [BZ #20218]
9909         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9910         to itself.
9911         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9913 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
9915         [BZ #20195]
9916         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9917         check to ...
9918         (init_cpu_features): Here.
9920 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
9922         [BZ #20214]
9923         * sysdeps/unix/sysv/linux/bits/in.h
9924         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9925          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9926         Define to 1.
9927         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9928          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9929         Define to 0.
9930         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9931         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9933 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
9935         [BZ #20198]
9936         * stdlib/Makefile (tests): Add tst-quick_exit, and
9937         tst-thread-quick_exit.
9938         [ifeq ($(have-cxx-thread_local),yes)]
9939         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9940         (CFLAGS-tst-thread-quick_exit.o): Likewise.
9941         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9942         (LDLIBS-tst-thread-quick_exit): Likewise.
9943         [ifneq ($(have-cxx-thread_local),yes)]
9944         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9945         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9946         If run_dtors is true call __call_tls_dtors.
9947         (exit): Call __run_exit_handlers with run_dtors set to true.
9948         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9949         definition.
9950         * stdlib/quick_exit.c (quick_exit): Remove function.
9951         (__new_quick_exit): New function.
9952         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9953         function.
9954         * stdlib/tst-quick_exit.cc: New file.
9955         * stdlib/tst-thread-quick_exit.cc: New file.
9956         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9957         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9958         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9959         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9960         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9961         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9962         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9963         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9964         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9965         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9966         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9967         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9968         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9969         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9970         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9971         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9976         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9977         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9978         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9979         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9980         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9983         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9984         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9985         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9987 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
9989         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9990         a typo in comments.
9992 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9994         [BZ #20213]
9995         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9996         argument to itself.
9997         * math/libm-test.inc (asin_test_data): Add sNaN tests.
9999 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10001         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
10002         required flags.
10003         (CFLAGS-pwritev64.c): Likewise.
10004         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
10005         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10006         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
10007         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10008         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
10009         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
10010         syscall from auto-generation.
10011         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
10012         [WORDSIZE == 64] (pwritev64): Remove macro.
10013         [!PWRITEV] (PWRITEV): Likewise.
10014         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10015         [!PWRITEV] (PWRITE): Likewise.
10016         [!PWRITEV] (OFF_T): Likewise.
10017         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10018         (LO_HI_LONG): Remove macro.
10019         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
10020         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
10021         (PWRITEV): Remove macro.
10022         (PWRITEV_REPLACEMENTE): Likewise.
10023         (PWRITE): Likewise.
10024         (OFF_T): Likewise.
10025         (pwritev64): New function.
10026         * nptl/tst-cancel4.c (tf_writev): Add test.
10028         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10029         required flags.
10030         (CFLAGS-preadv64.c): Likewise.
10031         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10032         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10033         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10034         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10035         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10036         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10037         syscall from auto-generation.
10038         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10039         [WORDSIZE == 64] (preadv64): Remove macro.
10040         [!PREADV] (PREADV): Likewise.
10041         [!PREADV] (PREADV_REPLACEMENT): Likewise.
10042         [!PREADV] (PREAD): Likewise.
10043         [!PREADV] (OFF_T): Likewise.
10044         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10045         (LO_HI_LONG): Remove macro.
10046         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10047         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10048         (PREADV): Remove macro.
10049         (PREADV_REPLACEMENTE): Likewise.
10050         (PREAD): Likewise.
10051         (OFF_T): Likewise.
10052         (preadv64): New function.
10053         * nptl/tst-cancel4.c (tf_preadv): Add test.
10055 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
10057         [BZ #20212]
10058         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10059         argument to itself.
10060         * math/libm-test.inc (acos_test_data): Add sNaN tests.
10062 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10064         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10065         New symbol defined as libc_hidden_def.
10066         (strcasestr): Became a weak alias to __strcasestr.
10067         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10068         according to multi-arch support.  Move __stpncpy hidden
10069         definition from here to...
10070         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
10071         symbol stpncpy.
10072         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10073         libc_hidden_builtin_def.
10074         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10075         memset symbol to use when multi-arch support is available.
10077 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10079         * dlfcn/tst-rec-dlopen.c: Include string.h.
10081 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10083         * manual/install.texi: Remove mention of --without-tls
10084         * INSTALL: Regenerate.
10086 2016-06-05  Florian Weimer  <fweimer@redhat.com>
10088         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10089         Remove.
10090         (call_function, interposed_malloc_called): New variables.
10091         (malloc): New function.
10092         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
10093         and clear call_function as needed.
10095 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
10097         * include/wchar.h (__wmemset): Use __typeof.
10099 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
10101         * include/wchar.h (__wmemset): Declare function without typeof.
10103 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
10105         [BZ #20205]
10106         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10107         exponent when incrementing negative subnormal with low mantissa
10108         word zero.
10109         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10110         Add another test.
10112 2016-06-03  Florian Weimer  <fweimer@redhat.com>
10114         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10115         __wmemset instead of wmemset.
10117 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
10119         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10120         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10121         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10122         __USE_KERNEL_IPV6_DEFS to 0.
10123         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10124         Update comment.
10126 2016-06-01  Florian Weimer  <fweimer@redhat.com>
10128         [BZ #19861]
10129         Do not use IFUNC resolver with potentially unrelocated symbol.
10130         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10131         (DEFINE_FORK): Remove macro and inline definition.
10132         (fork_alias): Renamed from fork_ifunc.
10133         (__fork_alias): Renamed from __fork_ifunc.
10135 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
10137         [BZ 19653]
10138         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10139         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10141 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10143         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10144         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10145         i386-linux-gnu).
10146         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10147         Set to no.
10148         * sysdeps/mach/hurd/configure: Refresh.
10150 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10152         [BZ #20178]
10153         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10154         on failure instead of exit.
10156 2016-05-30  Roland McGrath  <roland@hack.frob.com>
10158         [BZ #3629]
10159         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10160         of POSIX.1-2008.
10162 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10164         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10165           Use PLT entry for calling _hurd_self_sigstate.
10167 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
10169         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10170         available logical processors with SMT level type sharing L2
10171         cache for Intel processors.
10173 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10175         [BZ #20160]
10176         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10177         argument to itself before returning the result.
10178         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10179         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10180         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10181         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10182         Likewise.
10183         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10184         Likewise.
10185         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10186         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10187         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10188         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10189         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10190         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10192         [BZ #20160]
10193         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10194         argument to itself before returning the result.
10195         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10196         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10197         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10198         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10199         Likewise.
10200         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10201         Likewise.
10202         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10203         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10204         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10205         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10206         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10207         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10209 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10211         * libm-test.inc: Replace usage of M_El with
10212         (lit_e): New macro.
10214 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10216         * libm-test.inc: Replace usage of M_PI_4l with
10217         (lit_pi_4_d): New macro.
10219 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10221         * libm-test.inc: Replace usage of M_PIl with
10222         (lit_pi): New macro.
10224 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10226         * libm-test.inc: Replace usage of M_PI2l with
10227         (lit_pi_2_d): New macro.
10229         * math/test-double.h (LITM): New macro.
10230         * math/test-float.h (LITM): Likewise.
10231         * math/test-ldouble.h (LITM): Likewise.
10233 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10235         * libm-test.inc (M_PI_34l): Rename to
10236         (lit_pi_3_m_4_d): New Macro.
10237         (M_PI_34_LOG10El): Rename to
10238         (lit_pi_3_m_4_ln10_m_d): New Macro.
10239         (M_PI2_LOG10El): Rename to
10240         (lit_pi_2_ln10_m_d):  New Macro.
10241         (M_PI4_LOG10El): Rename to
10242         (lit_pi_4_ln10_m_d):  New Macro.
10243         (M_PI_LOG10El): Rename to
10244         (lit_pi_ln10_d):  New Macro.
10246 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10248         [BZ #20157]
10249         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10250         determine whether to negate low half if [_ARCH_PPCGR], and integer
10251         comparison otherwise.
10252         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10253         determine whether to negate low half.
10255         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10256         (NO_TEST_INLINE_DOUBLE): Likewise.
10257         (TEST_COND_x86_64): Likewise.
10258         (TEST_COND_x86): Likewise.
10259         (M_PI_6l): Likewise.
10261 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10263         * math/libm-test.inc:
10264         (TEST_FLOAT): Change usage to TEST_COND_binary32.
10265         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10266         (TEST_LDOUBLE): Update usage to evaluate as true if
10267         the guarded tests match the property being tested.
10268         (LDBL_MAX_EXP): Change to MAX_EXP.
10269         (LDBL_MIN_EXP): Change to MIN_EXP.
10270         (LDBL_MANT_DIG): Change to MANT_DIG, except for
10271         nexttoward tests.
10273 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10275         * math/libm-test.inc:
10276         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10277         (TYPE_MIN): Likewise.
10278         (TYPE_TRUE_MIN): Likewise.
10279         (TYPE_MAX): Likewise.
10280         (MIN_EXP): Likewise.
10281         (MAX_EXP): Likewise.
10282         (MANT_DIG): Likewise.
10284         (FSTR_MAX): New macro.
10285         (__CONCATX): Likewise.
10286         (QTYPE_STR): Likewise.
10287         (TEST_COND_binary32): Likewise.
10288         (TEST_COND_binary64): Likewise.
10289         (TEST_COND_binary128): Likewise.
10290         (TEST_COND_ibm128): Likewise.
10291         (TEST_COND_intel96): Likewise.
10292         (TEST_COND_m68k96): Likewise.
10294         (TEST_COND_flt_32): Redefine as equivalent format test macro.
10295         (TEST_COND_dbl_64): Likewise.
10296         (TEST_COND_ldbl_96_intel): Likewise.
10297         (TEST_COND_ldbl_96_m68k): Likewise.
10298         (TEST_COND_ldbl_128): Likewise.
10299         (TEST_COND_ldbl_128ibm): Likewise.
10301         (plus_zero): Redefine using LIT macro.
10302         (minus_zero): Likewise.
10303         (plus_infty): Redefine as (INF).
10304         (minux_infty): Redefine as (-INF).
10305         (max_value): Redefine as TYPE_MAX.
10306         (min_value): Redefine as TYPE_MIN.
10307         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10309         (print_float): Refactor to use snprintf to convert FLOAT values
10310         to string. This brings it closer to dropin replacement of strtof
10311         for the TS 18661 defined types.
10312         (update_stats): Likewise.
10313         (print_complex_function_ulps): Likewise.
10314         (print_max_error): Likewise.
10315         (print_complex_max_error): Likewise.
10316         (check_float_internal): Likewise.
10318         * math/test-float.h (PREFIX): New macro.
10319         (LIT): Likewise.
10320         (TYPE_STR): Likewise.
10321         (FTOSTR): Likewise.
10323         * math/test-double.h (PREFIX): New macro.
10324         (LIT): Likewise.
10325         (TYPE_STR): Likewise.
10326         (FTOSTR): Likewise.
10328         * math/test-ldouble.h (PREFIX): New macro.
10329         (LIT): Likewise.
10330         (TYPE_STR): Likewise.
10331         (FTOSTR): Likewise.
10333 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10335         [BZ #20156]
10336         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10337         to itself when zero or not finite.
10338         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10339         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10340         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10341         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10343 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
10345         [BZ #20153]
10346         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10347         x * x + x for infinities and NaNs.
10349         [BZ #20151]
10350         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10351         argument to itself before returning result.
10352         (__ieee754_y0l): Likewise.
10353         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10354         (__ieee754_y1l).
10356         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10357         (atan_test_data): Likewise.
10358         (ceil_test_data): Likewise.
10359         (cos_test_data): Likewise.
10360         (cosh_test_data): Likewise.
10361         (erf_test_data): Likewise.
10362         (exp2_test_data): Likewise.
10363         (fabs_test_data): Likewise.
10364         (floor_test_data): Likewise.
10365         (ilogb_test_data): Likewise.
10366         (j0_test_data): Likewise.
10367         (j1_test_data): Likewise.
10368         (jn_test_data): Likewise.
10369         (lgamma_test_data): Likewise.
10370         (lrint_test_data): Likewise.
10371         (llrint_test_data): Likewise.
10372         (logb_test_data): Likewise.
10373         (lround_test_data): Likewise.
10374         (llround_test_data): Likewise.
10375         (nearbyint_test_data): Likewise.
10376         (rint_test_data): Likewise.
10377         (round_test_data): Likewise.
10378         (sin_test_data): Likewise.
10379         (sincos_test_data): Likewise.
10380         (sinh_test_data): Likewise.
10381         (sqrt_test_data): Likewise.
10382         (tan_test_data): Likewise.
10383         (tanh_test_data): Likewise.
10384         (tgamma_test_data): Likewise.
10385         (trunc_test_data): Likewise.
10386         (y0_test_data): Likewise.
10387         (y1_test_data): Likewise.
10388         (yn_test_data): Likewise.
10390         * math/libm-test.inc: Update comment about NaN testing.
10391         (TEST_SNAN): New macro.
10392         (snan_value): Likewise.
10393         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10394         (fpclassify_test_data): Add sNaN tests.
10395         (isfinite_test_data): Likewise.
10396         (isinf_test_data): Likewise.
10397         (isnan_test_data): Likewise.
10398         (isnormal_test_data): Likewise.
10399         (issignaling_test_data): Likewise.
10400         (signbit_test_data): Likewise.
10401         * math/gen-libm-test.pl (%beautify): Add snan_value.
10402         (show_exceptions): Add argument $test_snan.
10403         (parse_args): Handle snan_value as non-finite.  Update call to
10404         show_exceptions.
10405         * math/Makefile (libm-test-no-inline-cflags): Add
10406         -fsignaling-nans.
10408 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10410         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10411         (CFLAGS-oldsendmsg.c): Add rule.
10412         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10413         Correct recvmsg symbol name.
10414         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10415         Likewise.
10417 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10419         * sysdeps/unix/sysv/linux/Makefile
10420         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10421         oldsendmmsg.
10422         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10423         sendmmsg.
10424         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10425         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10426         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10427         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10429         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10430         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10432         Likewise.
10433         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10434         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10435         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10436         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10437         iovlen and controllen fields to adjust to POSIX specification.
10438         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10440         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10441         and change to correct expected type.
10442         (msghdr.msg_controllen): Likewise.
10443         (cmsghdr.cmsg_len): Likewise.
10444         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10445         expected POSIX assumption about the size.
10446         (msghdr.msg_controllen): Likewise.
10447         (msghdr.__glibc_reserved1): Likewise.
10448         (msghdr.__glibc_reserved2): Likewise.
10449         (cmsghdr.cmsg_len): Likewise.
10450         (cmsghdr.__glibc_reserved1): Likewise.
10451         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10452         Add ptw-oldrecvmsg and ptw-oldsendmsg.
10453         (CFLAGS-sendmsg.c): Remove rule.
10454         (CFLAGS-recvmsg.c): Likewise.
10455         (CFLAGS-oldsendmsg.c): Add rule.
10456         (CFLAGS-oldrecvmsg.c): Likewise.
10457         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10458         recvmsg and sendmsg.
10459         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10460         Likewise.
10461         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10462         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10463         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10464         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10465         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10466         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10467         Likewise.
10468         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10469         Likewise.
10470         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10471         Likewise.
10472         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10473         Likewise.
10474         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10475         Likewise.
10476         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10477         Likewise.
10478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10479         (GLIBC_2.24): Likewise.
10480         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10481         Likewise.
10482         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10483         Likewise.
10484         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10485         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10486         Likewise.
10487         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10488         Likewise.
10489         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10490         Likewise.
10491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10492         (GLIBC_2.24): Likewise.
10493         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10494         Likewise.
10495         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10496         Likewise.
10497         * sysdeps/unix/sysv/linux/Makefile
10498         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10499         (CFLAGS-sendmsg.c): Add rule.
10500         (CFLAGS-recvmsg.c): Likewise.
10501         (CFLAGS-oldsendmsg.c): Likewise.
10502         (CFLAGS-oldrecvmsg.c): Likewise.
10503         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10504         initialization.
10505         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10506         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10507         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10508         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10509         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10510         iovlen and controllen fields to adjust to POSIX specification.
10511         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10512         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10513         added recvmsg and sendmsg.
10514         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10515         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10516         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10517         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10518         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10519         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10520         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10521         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10522         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10523         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10524         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10525         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10527         Likewise.
10528         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10530         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10531         Likewise.
10532         Likewise.
10533         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10534         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10535         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10536         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10537         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10538         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10540         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10542         Likewise.
10543         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10544         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10546         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
10547         from auto-generation.
10548         (sendmsg): Likewise.
10549         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
10550         (sendmsg): Likewise.
10551         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
10552         (sendmsg): Likewise.
10553         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
10554         (sendmsg): Likewise.
10555         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
10556         (sendmsg): Likewise.
10557         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
10558         (sendmsg): Likewise.
10559         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
10560         Likewise.
10561         (sendmsg): Likewise.
10562         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
10563         (sendmsg): Likewise.
10564         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10565         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10566         Remove.
10567         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10568         Likewise.
10569         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10570         Undefine.
10571         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10572         Likewise.
10573         * sysdeps/unix/sysv/linux/kernel-features.h
10574         (__ASSUME_SENDMSG_SYSCALL): Define.
10575         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10576         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10577         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10578         Remove.
10579         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10580         Likewise.
10581         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10582         Undefine.
10583         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10584         Likewise.
10585         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10586         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10587         Remove.
10588         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10589         Likewise.
10590         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10591         Undefine.
10592         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10593         Likewise.
10594         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10595         (__ASSUME_SENDMSG_SYSCALL): Undefine.
10596         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10597         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10598         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10599         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10600         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10601         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10602         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10604 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10606         * stdlib/gen-tst-strtod-round.c: Add backslash to
10607         compile command in comment.
10608         (printfp): Remove the literal suffix, and define an infinite
10609         value as INF to avoid expansion clash with INFINITY.
10610         (round_str): Remove the literal suffix.
10611         (round_for_all): Likewise, remove the now duplicate ldbl-64
10612         entry, and remove some magic constants.
10614         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10615         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
10616         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10617         (_CONCAT): New macro.
10618         (CONCAT): Likewise.
10619         (CHOOSE_ld): Likewise.
10620         (CHOOSE_f): Likewise.
10621         (CHOOSE_d): Likewise.
10622         (FTYPE_MEMBER): Likewise.
10623         (BOOL_MEMBER): Likewise.
10624         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10625         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10626         (_XNTRY): Likewise.
10627         (XNTRY): Likewise.
10628         (_ENTRY): Likewise.
10629         (ENTRY): Likewise.
10630         (test_exactness): Generate members via macro.
10631         (test_results): Likewise.
10632         (test): Update members.
10633         (TEST): Redefine using new macros.
10634         (INF): New macro.
10635         (fetestmodes): New structure.
10636         (do_test): Refactor to be type generic.
10637         (test_in_one_mode): Refactor duplicate code into
10638         (GEN_ONE_TEST): New macro.
10640         * stdlib/tst-strtod-round-data.h: Regenerate.
10642         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10643         Extend to pass additional arbitrary parameters to
10644         generators.
10646 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
10648         [BZ #15479]
10649         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10650         floating-point state after first floating-point operation on
10651         input.  Restore full floating-point state instead of just rounding
10652         mode.
10653         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10654         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10655         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10656         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10657         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10659         [BZ #15479]
10660         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10661         floating-point state after first floating-point operation on
10662         input.  Restore full floating-point state instead of just rounding
10663         mode.
10664         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10665         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10666         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10667         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10668         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10670 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10672         [BZ #19727]
10673         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10674         valid high surrogate.
10675         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10676         of an utf16 surrogate.
10677         * iconv/gconv_simple.c (BODY): Likewise.
10678         * iconvdata/bug-iconv12.c: New file.
10679         * iconvdata/Makefile (tests): Add bug-iconv12.
10681 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10683         [BZ #19726]
10684         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10685         outptrp in case of an illegal input.
10686         * iconv/tst-iconv6.c: New file.
10687         * iconv/Makefile (tests): Add tst-iconv6.
10689 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10691         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10692         an error in case of a value in range of an utf16 low surrogate.
10694 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10696         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10697         an error in case of a value in range of an utf16 low surrogate.
10699 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10701         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10702         Move to ...
10703         * sysdeps/s390/Makefile: ... here.
10704         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10705         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10706         (BRANCH_ON_COUNT): New define.
10707         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10708         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10709         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10710         run on s390-32, too.
10711         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10712         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10713         run on s390-32, too.
10714         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10715         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10716         run on s390-32, too.
10718 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10720         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10721         etf3eh or new vector loop-variant.
10723 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10725         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10726         etf3eh or new vector loop-variant.
10728 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10730         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10731         or new vector loop-variant.
10733 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10735         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10736         Rename to TR_LOOP and usage of tr instead of troo instruction.
10738 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10740         * sysdeps/s390/multiarch/gconv_simple.c: New File.
10741         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10743 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10745         * sysdeps/s390/multiarch/8bit-generic.c: New File.
10746         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10747         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10748         New override define.
10749         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10751 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10753         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10754         * sysdeps/s390/configure.ac: Add test for S390 vector register
10755         support in gcc.
10756         * sysdeps/s390/configure: Regenerated.
10758 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10760         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10761         Install file from $(objpfx)gconv-modules.
10762         ($(objpfx)gconv-modules): Concatenate architecture specific file
10763         in variable sysdeps-gconv-modules and gconv-modules in src dir.
10764         * sysdeps/s390/gconv-modules: New file.
10765         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10766         Deleted.
10767         ($(objpfx)gconv-modules-s390): Deleted.
10768         (sysdeps-gconv-modules): New variable.
10770 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10772         [BZ #15479]
10773         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10774         of immediate operand to rounding instruction.
10775         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10776         Likewise.
10777         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10778         Likewise.
10779         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10780         Likewise.
10782 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10784         * math/libm-test.inc (MIN_EXP): Directly define as
10785         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10787 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10789         * math/libm-test.inc (MANT_DIG): Directly define as
10790         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10792 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10794         * stdlib/gen-tst-strtod-round.c (main):
10795           Change usage to more closely match the generated
10796           output.  Add usage and compilation instructions.
10797           (string_to_fp): Add and use FILE* parameter as
10798           output target.
10799           (print_fp): Likewise.
10800           (round_str): Likewise.
10801           (round_for_all): Likewise.
10802         * stdlib/tst-strtod-round.c (tests): Move into
10803         * stdlib/tst-strtod-round-data.h: New file.
10805 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10807         [BZ #15479]
10808         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10809         (__round): Do not force "inexact" exception.
10810         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10811         variable.
10812         (__round): Do not force "inexact" exception.
10813         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10814         (__roundf): Do not force "inexact" exception.
10815         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10816         (__roundl): Do not force "inexact" exception.
10817         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10818         (__roundl): Do not force "inexact" exception.
10819         * math/libm-test.inc (round_test_data): Do not allow spurious
10820         "inexact" exceptions.
10822         [BZ #15479]
10823         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10824         exception in comment.
10825         (huge): Remove variable.
10826         (__floor): Do not force "inexact" exception.
10827         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10828         "inexact" exception in comment.
10829         (huge): Remove variable.
10830         (__floor): Do not force "inexact" exception.
10831         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10832         exception in comment.
10833         (huge): Remove variable.
10834         (__floorf): Do not force "inexact" exception.
10835         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10836         exception in comment.
10837         (huge): Remove variable.
10838         (__floorl): Do not force "inexact" exception.
10840         [BZ #15479]
10841         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10842         exception in comment.
10843         (huge): Remove variable.
10844         (__ceil): Do not force "inexact" exception.
10845         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10846         "inexact" exception in comment.
10847         (huge): Remove variable.
10848         (__ceil): Do not force "inexact" exception.
10849         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10850         (__ceilf): Do not force "inexact" exception.
10851         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10852         exception in comment.
10853         (huge): Remove variable.
10854         (__ceill): Do not force "inexact" exception.
10856 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10858         * config.h.in (BIND_NOW): New.
10859         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
10860         * configure: Regenerated.
10861         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10862         indirect branch via the GOT slot.
10864 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10866         [BZ #19765]
10867         * sysdeps/s390/mempcpy.S: New File.
10868         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10869         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10870         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10871         Add mempcpy variants.
10872         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10873         (memcpy): Adjust to be usable from mempcpy entry point.
10874         (__memcpy_mvcle): Likewise.
10875         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10876         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10877         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10878         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10879         (__memcpy_z10): Likewise.
10880         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10882 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10884         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10885         Remove __GI_ symbol.
10886         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10887         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10888         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10889         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10890         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10891         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10893 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10895         * sysdeps/s390/s390-64/memcpy.S (memcpy):
10896         Use cghi instead of chi to compare 64bit value.
10898 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10900         * sysdeps/s390/s390-32/memcpy.S (memcpy):
10901         Jump to 1MB check before executing mvc-loop.
10903 2016-05-24  Florian Weimer  <fweimer@redhat.com>
10905         [BZ #6527]
10906         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10907         unconditionally.
10908         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10910 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10912         * stdlib/tst-strtod6.c (do_test): Use new type generic
10913         invocation of the test function.
10914         (test): Refactor into ...
10915         (TEST_STRTOD): New macro base function.
10917 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10919         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10920         (TEST_STRTOD): New macro.
10921         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10923 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10925         * stdlib/tst-strtod6.c (do_test): Use new type generic
10926         invocation of the test function.
10927         (test): Refactor into ...
10928         (TEST_STRTOD): New macro base function.
10930 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10932         CVE-2016-4429
10933         [BZ #20112]
10934         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10935         payload.
10937 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10939         [BZ #20111]
10940         * bits/sockaddr.h (_SS_SIZE): Define.
10941         * bits/socket.h (_SS_SIZE): Remove.
10942         (_SS_PADSIZE): Adjust to account for all padding.
10943         (struct sockaddr_storage): Update comment.  Avoid implicit
10944         padding.
10945         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10946         (_SS_PADSIZE): Adjust to account for all padding.
10947         (struct sockaddr_storage): Update comment.  Avoid implicit
10948         padding.
10949         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10950         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10951         (_SS_PADSIZE): Adjust to account for all padding.
10952         (struct sockaddr_storage): Update comment.  Avoid implicit
10953         padding.
10954         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10955         __SS_SIZE is 126 in this version.
10956         * inet/tst-sockaddr.c: New file.
10957         * inet/Makefile (tests): Add tst-sockaddr.c
10958         (tst-sockaddr.c): Compile with non-strict aliasing.
10960 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
10962         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10963         [XPG3 || XPG4].
10964         (NL_ARGMAX): Also expect for [XPG3].
10965         (NL_LANGMAX): Likewise.
10966         (NL_MSGMAX): Likewise.
10967         (NL_NMAX): Likewise.
10968         (NL_SETMAX): Likewise.
10969         (NL_TEXTMAX): Likewise.
10970         (NZERO): Likewise.
10971         (TMP_MAX): Likewise.
10972         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10973         variable.
10975         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10976         (PF_MAX): Update value.
10977         (AF_KCM): New macro.
10978         (SOL_NETBEUI): Likewise.
10979         (SOL_LLC): Likewise.
10980         (SOL_DCCP): Likewise.
10981         (SOL_NETLINK): Likewise.
10982         (SOL_TIPC): Likewise.
10983         (SOL_RXRPC): Likewise.
10984         (SOL_PPPOL2TP): Likewise.
10985         (SOL_BLUETOOTH): Likewise.
10986         (SOL_PNPIPE): Likewise.
10987         (SOL_RDS): Likewise.
10988         (SOL_IUCV): Likewise.
10989         (SOL_CAIF): Likewise.
10990         (SOL_ALG): Likewise.
10991         (SOL_NFC): Likewise.
10992         (SOL_KCM): Likewise.
10993         (MSG_BATCH): New enum value and macro.
10995 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
10997         [BZ #18185]
10998         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10999         sharing L2 cache to 2 for Knights Landing.
11001 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
11003         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
11004         (FTW_DP): Do not expect for [XPG3 || XPG4].
11005         (FTW_SL): Do not expect for [XPG3].
11006         (FTW_SLN): Likewise.
11007         (FTW_PHYS): Likewise.
11008         (FTW_MOUNT): Likewise.
11009         (FTW_DEPTH): Likewise.
11010         (FTW_CHDIR): Likewise.
11011         (nftw): Likewise.
11012         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
11013         variable.
11015 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
11017         * manual/errno.texi: Fix various typos & grammar errors.
11019 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
11021         * manual/intro.texi: Fix duplicated typo.
11023 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
11025         [BZ #13304]
11026         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11027         <float.h>, <math_private.h> and <stdlib.h>.
11028         (add_split): New function.
11029         (mul_split): Likewise.
11030         (ext_val): New typedef.
11031         (store_ext_val): New function.
11032         (mul_ext_val): New function.
11033         (compare): New function.
11034         (add_split_ext): New function.
11035         (__fmal): After checking for Inf, NaN and zero, compute result as
11036         an exact sum of scaled double values in round-to-nearest before
11037         adding those up and adjusting for other rounding modes.
11038         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11039         tests of fma.
11040         * math/auto-libm-test-out: Regenerated.
11042 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11044         [BZ #20119]
11045         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11046         processor level type mask for CPUID with EAX == 11.
11048 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11050         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11051         logical threads if the HTT bit is 0.
11052         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11053         (index_cpu_HTT): Likewise.
11054         (reg_HTT): Likewise.
11056 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11058         [BZ #20115]
11059         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11060         Remove alignments on jump targets.
11062 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
11064         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11065         (getpwent): Likewise.
11066         (setpwent): Likewise.
11067         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11068         variable.
11070         * conform/data/search.h-data (insque): Do not expect for [XPG3].
11071         (remque): Likewise.
11072         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11073         variable.
11075 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
11077         * math/libm-test.inc: Update comment not to refer to signs of NaNs
11078         not being tested.
11080 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11082         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11083         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
11084         call.
11085         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11086         (__condvar_cleanup1): Likewise.
11088 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11090         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11091         New
11092         (__pthread_unwind): Renamed to ...
11093         (PTHREAD_UNWIND): This.
11094         (__pthread_enable_asynccancel): Replace
11095         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11097 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
11099         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11100         (CLONE_NEWCGROUP): New macro.
11102         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11103         (Q_GETNEXTQUOTA): New macro.
11105 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11107         [BZ #19907]
11108         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11109         buffer updated by the previous run.
11110         * string/test-memcpy.c (do_one_test): Likewise.
11111         * benchtests/bench-memmove.c (do_one_test): Add a comment.
11112         * string/test-memmove.c (do_one_test): Likewise.
11114 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
11116         [BZ #20094]
11117         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11118         not [__USE_XOPEN].
11119         (unlockpt): Likewise.
11120         (ptsname): Likewise.
11121         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11122         variable.
11124         [BZ #20076]
11125         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11126         instead of [__USE_UNIX98].
11127         (S_ISSOCK): Likewise.
11128         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11129         variable.
11131         [BZ #20074]
11132         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11133         [__USE_POSIX].
11134         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11135         variable.
11137         [BZ #20051]
11138         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11139         (ttyslot): Do not declare.
11140         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11141         (ttyslot): New prototype.
11142         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11143         variable.
11144         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11146 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11148         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11150 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11152         Fix race condition in tst-mallocfork2, use fewer resources.
11153         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11154         to current process group.
11155         (signal_sender): Yield in the non-sleeping case.
11157 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
11159         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11160         (ecvt): Likewise.
11161         (fcvt): Likewise.
11162         (gcvt): Likewise.
11163         (getsubopt): Likewise.
11164         (grantpt): Likewise.
11165         (initstate): Likewise.
11166         (l64a): Likewise.
11167         (mktemp): Likewise.
11168         (mkstemp): Likewise.
11169         (ptsname): Likewise.
11170         (random): Likewise.
11171         (realpath): Likewise.
11172         (setstate): Likewise.
11173         (srandom): Likewise.
11174         (ttyslot): Likewise.
11175         (unlockpt): Likewise.
11176         (valloc): Likewise.
11178         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11179         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11180         variable.
11182 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11184         [BZ #20072]
11185         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11186         init_cpu_features only if SHARED is defined.
11187         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11189 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11191         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11192         non-inclusive caches on Intel processors.
11194 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11196         * malloc/malloc.c (dumped_main_arena_start)
11197         (dumped_main_arena_end): New variables.
11198         (DUMPED_MAIN_ARENA_CHUNK): New macro.
11199         (do_check_chunk): Skip dumped fake mmapped chunks.
11200         (munmap_chunk): Likewise.
11201         (__libc_free): Do not adjust statistics for fake mmapped chunks.
11202         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
11203         mmapped chunks.
11204         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11205         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
11206         and dumped_main_arena_end to cover the dumped heap.
11208 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
11210         * conform/data/time.h-data (getdate_err): Do not expect for
11211         [XPG3].
11212         (getdate): Likewise.
11213         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11214         variable.
11216         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11217         (F_ULOCK): Likewise.
11218         (F_TEST): Likewise.
11219         (F_TLOCK): Likewise.
11220         (useconds_t): Likewise.
11221         (intptr_t): Do not expect for [XPG3] or [XPG4].
11222         (brk): Do not expect for [XPG3]
11223         (fchown): Likewise.
11224         (fchdir): Likewise.
11225         (ftruncate): Likewise.
11226         (getdtablesize): Likewise.
11227         (gethostid): Likewise.
11228         (getpagesize): Likewise.
11229         (getpgid): Likewise.
11230         (getsid): Likewise.
11231         (getwd): Likewise.
11232         (lchown): Likewise.
11233         (lockf): Likewise.
11234         (readlink): Likewise.
11235         (sbrk): Likewise.
11236         (setpgrp): Likewise.
11237         (setregid): Likewise.
11238         (setreuid): Likewise.
11239         (symlink): Likewise.
11240         (sync): Likewise.
11241         (truncate): Likewise.
11242         (ualarm): Likewise.
11243         (usleep): Likewise.
11244         (vfork): Likewise.
11245         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11246         variable.
11248         [BZ #20054]
11249         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11250         not [__USE_UNIX98].
11251         * conform/data/unistd.h-data (gethostname): Do not expect for
11252         [XPG3].
11254         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11255         [!POSIX] (S_IFBLK): Likewise.
11256         [!POSIX] (S_IFCHR): Likewise.
11257         [!POSIX] (S_IFIFO): Likewise.
11258         [!POSIX] (S_IFREG): Likewise.
11259         [!POSIX] (S_IFDIR): Likewise.
11260         [!POSIX] (S_IFLNK): Likewise.
11261         [!POSIX] (S_IFSOCK): Likewise.
11262         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11263         variable.
11264         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11266 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
11268         * sysdeps/aarch64/memset.S (__memset):
11269         Rewrite of optimized memset.
11271 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11273         [BZ #19703]
11274         Partially async-signal-safe fork for single-threaded processes.
11275         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11276         variable.  Do not acquire and reset/release malloc and libio locks
11277         in single-threaded processes.
11278         * malloc/tst-mallocfork2.c: New file.
11279         * malloc/Makefile (tests): Add it.
11281 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11283         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11284         argument.  Use scratch buffer instead of extend_alloca.
11285         (gethosts): Use scratch buffer instead of extend_alloca.
11286         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
11287         extend_alloca.
11288         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11290 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
11292         [BZ #20055]
11293         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11294         instead of [__USE_UNIX98].
11295         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11296         [__USE_UNIX98].
11297         * conform/data/termios.h-data (tcgetsid): Do not expect for
11298         [XPG3].
11299         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11300         variable.
11301         (test-xfail-XPG4/termios.h/conform): Likewise.
11303 2016-05-11  Florian Weimer  <fweimer@redhat.com>
11305         Do not use mcheck in localedef.
11306         * locale/programs/localedef.c (turn_on_mcheck)
11307         (__malloc_initialize_hook): Remove.
11309 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11311         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11312         * sysdeps/s390/s390-64/Makefile: Likewise.
11314 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
11316         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11317         Remove ifunc-defines.sym.
11318         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11319         Likewise.
11320         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11321         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11322         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11323         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11324         rtld-global-offsets.sym.
11325         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11326         * sysdeps/x86/cpu-features-offsets.sym: This.
11327         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11328         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11330 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
11332         [BZ #20073]
11333         * io/sys/stat.h (fchmod): Declare for
11334         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11335         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11336         variable.
11338         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11339         [XPG3] (S_IFSOCK): Likewise.
11340         [XPG3] (S_ISVTX): Likewise.
11341         [XPG3] (S_ISLNK): Likewise.
11342         [XPG3] (S_ISSOCK): Likewise.
11343         [XPG3] (fchmod): Likewise.
11344         [XPG3] (lstat): Likewise.
11345         [XPG3] (mknod): Likewise.
11347         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11348         [XPG3].  Expect type long and XFAIL for [XPG4].
11349         (st_blocks): Likewise.
11351         [BZ #20044]
11352         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11353         (pthread_atfork): New prototype.
11354         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11355         variable.
11357         [BZ #20043]
11358         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11359         prototype.
11361 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11363         [BZ #20017]
11364         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11365         gmtime.
11367 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11369         [BZ #19994]
11370         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11371         flag in _res.options.
11373 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
11375         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11376         [XPG3 || XPG4].
11377         (blksize_t): Likewise.
11378         (clockid_t): Likewise.
11379         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11380         variable.
11381         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11383 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11385         * sysdeps/unix/sysv/linux/s390/init-first.c:
11386         Add VDSO_SYMBOL(getcpu).
11387         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11388         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11389         Add VDSO_SYMBOL(getcpu).
11390         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11391         New define HAVE_GETCPU_VSYSCALL.
11392         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11394 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
11396         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11397         instead of <sysdeps/x86_64/cacheinfo.c>.
11398         * sysdeps/x86_64/cacheinfo.c: Moved to ...
11399         * sysdeps/x86/cacheinfo.c: Here.
11401 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11403         * malloc/malloc-internal.h: Adjust header file guard.
11405 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11407         [BZ #19787]
11408         * inet/getnameinfo.c (check_sprintf_result): New function.
11409         (CHECKED_SNPRINTF): New macro.
11410         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11411         to the host buffer.
11412         (gni_host_local): Use checked_copy to copy the host name.
11413         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11414         (gni_serv_local): Use checked_copy to copy the service name.
11415         (getnameinfo): Remove unnecessary truncation of result buffers.
11417 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11419         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11420         in case of inet_ntop failure.
11422 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11424         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11425         avoid long lines.
11426         (gni_host_inet_numeric): Likewise.  Reduce scope of local
11427         variables.
11428         (gni_host_inet, gni_host_local): Add comment.
11429         (gni_host): Add comment.  Use temporary to avoid long lines.
11431 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11433         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11434         registers specifiers where general purpose registers specifiers should
11435         have been used.
11437 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11439         [BZ #19779]
11440         CVE-2016-1234
11441         Avoid copying names of directory entries.
11442         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11443         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11444         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11445         (struct readdir_result): New type.
11446         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11447         (GL_READDIR): New macros.
11448         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11449         (convert_dirent, convert_dirent64): New functions.
11450         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
11451         convert_dirent64.  Adjust references to the readdir result.
11452         * sysdeps/unix/sysv/linux/i386/glob64.c:
11453         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11454         * posix/bug-glob2.c (LONG_NAME): Define.
11455         (filesystem): Add LONG_NAME.
11456         (my_DIR): Increase the size of room_for_dirent.
11458 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
11460         [BZ #20041]
11461         * misc/sys/select.h (__need_timespec): Only define if
11462         [__USE_XOPEN2K].
11463         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11464         variable.
11465         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11466         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11467         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11469 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11470             Segher Boessenkool  <segher@gcc.gnu.org>
11472         [BZ #20004]
11473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11474         (__novec_swapcontext): Add missing load.
11476 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
11478         [BZ #20023]
11479         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11480         <time.h>.
11481         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11482         variable.
11483         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11485 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11488         flags CLONE_VM compare.
11490 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11492         [BZ #20031]
11493         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11494         completely empty.
11496 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11498         [BZ #19573]
11499         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11500         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11501         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11502         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11503         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11504         (hesiod_free_list): Mark as hidden.
11505         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11506         res_set, res_get.
11507         * hesiod/hesiod.c: Remove unnecessary forward declarations.
11508         (init, __hesiod_res_get, __hesiod_res_set): Remove.
11509         (hesiod_init): Remove obsolete res_ninit call.
11510         (hesiod_end): Do not free resolver state.  Do not invoke callback.
11511         (hesiod_bind): Do not call init.
11512         (get_txt_records): Use res_mkquery, res_send instead of
11513         res_nmkquery, res_nsend.
11514         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11515         instead of _nss_hesiod_init.
11516         (_nss_hesiod_initgroups_dyn): Likewise.
11517         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11518         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11519         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11521 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11523         * hesiod/hesiod_p.h (DEF_RHS): Remove.
11524         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11526 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11528         * hesiod/hesiod.h: Remove RCS keyword.
11529         * hesiod/hesiod_p.h: Likewise.
11531         * hesiod/hesiod.c: Likewise.
11533 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
11535         [BZ #12450]
11536         * locale/iso-639.def: Add Samogitian/sgs.
11538 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
11540         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
11542         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
11544 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
11545             Carlos O'Donell  <carlos@redhat.com>
11547         [BZ #19072]
11548         * grp/Makefile (headers): Add grp-merge.h
11549         (routines): Add grp-merge.
11550         * grp/getgrgid_r.c: Include grp-merge.h.
11551         (DEEPCOPY_FN): Define.
11552         (MERGE_FN): Define.
11553         * grp/getgrname_r.c: Include grp-merge.h.
11554         (DEEPCOPY_FN): Define.
11555         (MERGE_FN): Define.
11556         * grp/grp-merge.c: New file.
11557         * grp/grp-merge.h: New file.
11558         * include/grp-merge.h: New file.
11559         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
11560         __copy_grp@GLIBC_PRIVATE.
11561         * manual/nss.texi (Actions in the NSS configuration): Describe
11562         return, continue, and merge.
11563         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
11564         (DEEPCOPY_FN): Define.
11565         (MERGE_FN): Define.
11566         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
11567         (DEEPCOPY_FN): Define.
11568         (MERGE_FN): Define.
11569         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
11570         [!MERGE_FN]: Define __merge_einval.
11571         (CHECK_MERGE): Define.
11572         (REENTRANT_NAME): Process merge if do_merge is true.
11573         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
11574         (__nss_getent_r): Likewise.
11575         * nss/nsswitch.c (nss_parse_service_list): Likewise.
11576         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
11578 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11580         [BZ #20012]
11581         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11582         length to calculate the buffer to read.
11583         (fmemopen_write): Set the buffer position based on bytes written.
11584         (fmemopen_seek): Return EINVAL for invalid whence modes.
11586         [BZ #19957]
11587         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11588         tst-getpid2.
11589         (test): Add tst-clone2.
11590         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11591         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11592         pid/tid fields for CLONE_VM.
11593         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11594         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11595         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11596         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11597         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11598         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11599         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11600         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11602         Likewise.
11603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11604         Likewise.
11605         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11606         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11607         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11608         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11609         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11610         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11611         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11612         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11614 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11616         [BZ #19642]
11617         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11618         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11619         (gni_serv_local, gni_serv): New functions extracted from
11620         getnameinfo.
11621         (getnameinfo): Call gni_host and gni_serv to perform the
11622         processing.  Always free scratch buffer.
11624 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11626         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11627         remaining bytes in the dest string, with zeros.
11629 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11631         [BZ #20010]
11632         CVE-2016-3706
11633         * sysdeps/posix/getaddrinfo.c
11634         (convert_hostent_to_gaih_addrtuple): New function.
11635         (gethosts): Call convert_hostent_to_gaih_addrtuple.
11636         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11637         AF_INET data.
11639 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11641         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11642         callback function gl_readdir.
11643         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11644         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11645         (glob_in_dir): Remove len.  Use strdup instead of malloc and
11646         memcpy to copy the name.
11647         * manual/pattern.texi (Calling Glob): Document requirements for
11648         implementations of the gl_readdir callback function.
11649         * manual/examples/mkdirent.c: New example.
11650         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11651         per the manual guidance.
11652         * posix/tst-gnuglob.c (my_readdir): Likewise.
11654 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
11656         [BZ #20014]
11657         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11658         not [__USE_POSIX].
11659         (getchar_unlocked): Likewise.
11660         (putc_unlocked): Likewise.
11661         (putchar_unlocked): Likewise.
11662         (flockfile): Likewise.
11663         (ftrylockfile): Likewise.
11664         (funlockfile): Likewise.
11665         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11666         variable.
11667         (test-xfail-XPG4/stdio.h/conform): Likewise.
11669         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11670         Expect constant.
11671         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11672         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11673         variable.
11674         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11675         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11677         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11678         [__USE_LARGEFILE64] (off64_t): Likewise.
11679         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11680         variable.
11682 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11684         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11686 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11688         * resolv/inet_addr.c: Reindent preprocessor conditionals.
11689         * resolv/res_init.c: Likewise.
11690         * resolv/res_mkquery.c: Likewise.
11692 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11694         * resolv/res_init.c (isascii): Do not define.  Use definition in
11695         <ctype.h>.
11696         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11697         (LOG_AUTH): Remove.
11698         (SPRINTF): Remove, adjust caller.
11699         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11701 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11703         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11704         SUNSECURITY conditional.
11705         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11707 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11709         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11710         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11711         Remove BSD-related preprocessor conditionals.
11712         * conf/portability.h: Remove.
11714 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11716         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11717         * resolv/res_data.c: Likewise.
11719 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11721         * resolv/res_comp.c: Remove code conditional on __ultrix__.
11722         * resolv/res_data.c: Remove code conditional on ultrix.
11724 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11726         * resolv/res_init.c (RFC1535): Do not define.  Remove
11727         RFC1535 preprocessor conditionals.
11728         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
11729         because there configuration options which make the resolver
11730         behavior different.
11732 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11734         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
11735         RESOLVSORT preprocessor conditionals.
11736         * resolv/nss_dns/dns-host.c: Likewise.
11737         * resolv/res_init.c: Likewise.
11739 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11741         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
11742         is never defined.
11744 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11746         * inet/inet_lnaof.c: Remove SCSS keyword.
11747         * inet/inet_mkadr.c: Likewise.
11748         * inet/inet_net.c: Likewise.
11749         * inet/inet_netof.c: Likewise.
11750         * inet/rcmd.c: Likewise.
11751         * inet/rexec.c: Likewise.
11752         * inet/ruserpass.c: Likewise.
11754 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11756         * resolv/inet_addr.c: Remove _LIBC conditionals.
11757         * resolv/res_data.c: Likewise.
11758         * resolv/res_init.c: Likewise.
11759         * resolv/res_mkquery.c: Likewise.
11760         * resolv/res_libc.c: Update comment.
11761         * resolv/README: Update.
11763 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11765         * resolv/gethnamaddr.c: Remove SCSS keyword.
11766         * resolv/herror.c: Likewise.
11767         * resolv/inet_addr.c: Likewise.
11768         * resolv/inet_net_ntop.c: Likewise.
11769         * resolv/inet_net_pton.c: Likewise.
11770         * resolv/inet_neta.c: Likewise.
11771         * resolv/inet_ntop.c: Likewise.
11772         * resolv/inet_pton.c: Likewise.
11773         * resolv/ns_date.c: Remove RCS keyword.
11774         * resolv/ns_name.c: Likewise.
11775         * resolv/ns_netint.c: Likewise.
11776         * resolv/ns_parse.c: Likewise.
11777         * resolv/ns_print.c: Likewise.
11778         * resolv/ns_samedomain.c: Likewise.
11779         * resolv/ns_ttl.c: Likewise.
11780         * resolv/nsap_addr.c: Likewise.
11781         * resolv/res_comp.c: Remove SCSS and RCS keyword.
11782         * resolv/res_data.c: Remove RCS keyword.
11783         * resolv/res_debug.c: Remove SCSS and RCS keyword.
11784         * resolv/res_init.c: Likewise.
11785         * resolv/res_mkquery.c: Likewise.
11786         * resolv/res_query.c: Likewise.
11787         * resolv/res_send.c: Likewise.
11789 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11791         * conform/data/stdio.h-data (fdopen): Expect also for
11792         [XPG3 || XPG4].
11794         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11795         (fseeko): Likewise.
11796         (ftello): Likewise.
11797         (ftrylockfile): Likewise.
11798         (funlockfile): Likewise.
11799         (getc_unlocked): Likewise.
11800         (getchar_unlocked): Likewise.
11801         (putc_unlocked): Likewise.
11802         (putchar_unlocked): Likewise.
11804 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11806         [BZ #19868]
11807         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11808         DNS packet syntax checks (which were not needed before).  Skip
11809         over non-PTR records.
11811 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11813         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11814         definition.  Include <stddef.h> instead.
11816 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11818         [BZ #19831]
11819         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11820         function.
11821         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11822         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11824 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11826         [BZ #19862]
11827         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11828         (getanswer_r): Do not call syslog.
11829         (gaih_getanswer_slice): Likewise.
11830         * resolv/gethnamaddr.c (AskedForGot): Remove.
11831         (getanswer): Do not call syslog.
11832         (gethostbyaddr): Likewise.
11834 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11836         * conform/data/signal.h-data (union sigval): Expect also if
11837         [XOPEN2K].
11838         (struct sigevent): Likewise.
11839         (SIGEV_NONE): Likewise.
11840         (SIGEV_SIGNAL): Likewise.
11841         (SIGEV_THREAD): Likewise.
11842         (SIGRTMIN): Likewise.
11843         (SIGRTMAX): Likewise.
11844         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11845         variable.
11846         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11848 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11850         [BZ #19830]
11851         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11852         (gaih_getanswer_slice): Likewise.
11853         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11854         Also check for availability of RR metadata.
11856 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11858         [BZ #19825]
11859         * resolv/res_send.c (send_vc): Remove early *resplen2
11860         initialization.  Set *resplen2 on socket error.  Call
11861         close_and_return_error for other errors.
11863 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11865         * sysdeps/unix/sysv/linux/netiucv/iucv.h
11866         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11867         (SCM_IUCV_TRGCLS): New define.
11869 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11871         [BZ #20005]
11872         * libio/fmemopen.c (fmemopen_write): Update internal position after
11873         write.
11874         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11875         * stdio-common/tst-fmemopen4.c: New file..
11877 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
11879         [BZ #19996]
11880         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11881         not [__USE_XOPEN2K].
11882         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11883         variable.
11885         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11886         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11887         variable.
11889         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11890         [__USE_XOPEN2K8].
11891         [__USE_LARGEFILE64] (off64_t): Likewise.
11892         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11893         variable.
11895 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
11897         [BZ #19989]
11898         * libio/stdio.h (cuserid): Do not declare if
11899         [__USE_XOPEN2K && !__USE_GNU].
11900         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11901         variable.
11903 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11905         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11906         (sysdep_routines): Add P8 and PPC64 strcspn targets.
11907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11908         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11909         ifunc'ed strcspn.
11910         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11911         [EALIGN]: Removed.
11912         [END]: Likewise
11913         [STRSPN]: Define instead of the above to control symbol name.
11914         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11915         New file.
11916         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11917         Likewise.
11918         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11919         Likewise.
11920         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11921         Likewise.
11922         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11923         [INITIAL_MASK]: New macro.
11924         [STRCSPN]: Likewise.
11925         [UPDATE_MASK]: Likewise.
11926         [USE_AS_STRCSPN]: Likewise.
11928 2016-04-25  Florian Weimer  <fweimer@redhat.com>
11930         [BZ #19931]
11931         * stdio-common/tst-vfprintf-width-prec.c: New file.
11932         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11933         (tests-special): Add tst-vfprintf-width-prec-mem.out.
11934         (generated): Add mtrace-related files.
11935         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11936         (tst-%-mem.out): New pattern rule, replaces
11937         tst-printf-bz18872-mem.out.
11938         * stdio-common/vfprintf.c (vfprintf): When handling a precision
11939         specifier, deallocate any previously allocated work buffer.
11941 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11943         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11944         Add nop before __startcontext, add explaining comments.
11946 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
11948         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11949         any more. Notably since IPV6_PKTINFO has been reintroduced with a
11950         completely different API.
11952         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11953         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11954         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11955         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11956         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11957         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11958         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11959         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11960         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11961         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11963 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
11965         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11967 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
11969         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11970         when it is the default of 0.
11972 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11974         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
11975         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11976         (sysdep_routines): Add new strcasestr targets.
11977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11978         (__libc_ifunc_impl_list): Likewise.
11979         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11980         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11981         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11982         * sysdeps/powerpc/powerpc64/power8/Makefile:
11983         New file to add strcasestr-ppc64 to sysdep_routines.
11984         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11985         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11987 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
11989         * benchtests/Makefile (wcsmbs-benchset): Include only for
11990         native builds and runs.
11991         (LOCALES): Likewise.
11992         (bench-build): Build timing-type here instead of the bench
11993         target.  Generate locale only for native builds.
11994         * benchtests/README: Add note for cross-building.
11996         * benchtests/Makefile (bench-clean): Clean up extra-objs.
11998         * benchtests/README: Update README to include instructions on
11999         using bench-build.
12001         * Makefile.in (bench-build): New target.
12002         * Rules (PHONY): Add bench-build target.
12003         * benchtests/Makefile (bench): Depend on bench-build.
12004         (bench-build): New target.
12006 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12008         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
12009         profil_reply_port.
12010         (profile_waiter): Do not initialize profil_reply_port.
12011         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
12012         frequency instead of tick length in us.
12014 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
12016         [BZ #18712]
12017         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
12018         (__old_mempcpy_small): Likewise.
12019         (__old_strcpy_small): Likewise.
12020         (__old_stpcpy_small): Likewise.
12021         (__old_strpbrk_c2): Fix compat symbol name.
12022         (__old_strpbrk_c3): Likewise.
12023         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
12024         (__mempcpy_small): Remove.
12025         (__strcpy_small): Remove.
12026         (__stpcpy_small): Remove.
12028 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
12030         [BZ #19400]
12031         * locale/iso-639.def: Add the Talossan/tzl language.
12033 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
12035         [BZ #16983]
12036         * locale/programs/ld-address.c (address_finish): Update postal_fmt
12037         comment.  Add "ln" to strchr check on postal_fmt.
12039 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
12041         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12042         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
12043         tel_dom_fmt.
12045 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12047         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12048         (sysdep_routines): Added __strlen_power8.
12049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12050         __strlen_power8 entry.
12051         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12052         Implementation for POWER8.
12053         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12054         for __strlen_power8.
12055         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12056         Implementation for POWER8.
12058 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
12060         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12062 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
12064         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12065         Goldmont and Airmont processors.
12067 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
12069         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12070         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12071         (__STRING2_SMALL_GET32): Remove.
12072         (memset): Remove.
12073         (__memset_1): Remove.
12074         (__memset_gc): Remove.
12075         (__mempcpy): Remove.
12076         (mempcpy): Remove.
12077         (__mempcpy_args): Remove.
12078         (strchr): Remove.
12079         (strcpy): Remove.
12080         (strcpy_args): Remove.
12081         (__stpcpy_args): Remove.
12082         (__strcmp_cc): Remove.
12083         (__strcmp_gc): Remove.
12084         (strstr): Remove.
12086 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
12088         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12089         * nis/nis_call.c (nis_server_cache_add): Likewise.
12091 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12093         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12095 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12097         * malloc/arena.c (__malloc_fork_lock_parent)
12098         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12099         internal_function attribute.
12101 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
12103         * stdio-common/printf_fp.c (__printf_fp_l):
12104         Rename ___printf_fp_l to __printf_fp_l and
12105         remove strong alias. Use libc_hidden_def instead
12106         of ldbl_hidden_def macro.
12108 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12110         Remove malloc hooks from fork handler.  They are no longer needed
12111         because malloc runs right before fork, and no malloc calls from
12112         other fork handlers are not possible anymore.
12113         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12114         declarations.
12115         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12116         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12117         (atfork_recursive_cntr): Remove.
12118         (__malloc_fork_lock_parent): Do not override malloc hooks and
12119         thread_arena.
12120         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12121         thread_arena.
12122         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
12123         thread_arena instead of save_arena.
12125 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12127         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12128         (thread_atfork, thread_atfork_static): Remove.
12129         * sysdeps/mach/hurd/malloc-machine.h:
12130         (thread_atfork, thread_atfork_static): Remove.
12132 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12134         [BZ #19431]
12135         Run the malloc fork handler as late as possible to avoid deadlocks.
12136         * malloc/malloc-internal.h: New file.
12137         * malloc/malloc.c: Include it.
12138         * malloc/arena.c (ATFORK_MEM): Remove.
12139         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12140         Update comment.
12141         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12142         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12143         Remove outdated comment.
12144         (ptmalloc_init): Do not call thread_atfork.  Remove
12145         thread_atfork_static.
12146         * malloc/tst-malloc-fork-deadlock.c: New file.
12147         * Makefile (tests): Add tst-malloc-fork-deadlock.
12148         (tst-malloc-fork-deadlock): Link against libpthread.
12149         * manual/memory.texi (Aligned Memory Blocks): Update safety
12150         annotation comments.
12151         * sysdeps/nptl/fork.c (__libc_fork): Call
12152         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12153         __malloc_fork_unlock_child.
12154         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12156 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12158         [BZ #19613]
12159         Remove union wait.
12160         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12161         (w_stopsig, w_stopval): Remove.
12162         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12163         stat_loc argument.
12164         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12165         (__WAIT_STATUS_DEFN): Remove.
12166         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12167         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12168         (wait, wait3, wait4): Use int * for the stat_loc argument.
12169         * posix/wait.c (__wait): Likewise.
12170         * posix/wait3.c (__wait3): Likewise.
12171         * posix/wait4.c (__wait4): Likewise.
12172         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12173         (__WAIT_STATUS_DEFN): Remove.
12174         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12175         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12176         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12177         argument.
12178         * sysdeps/posix/wait.c (__libc_wait): Likewise.
12179         * sysdeps/posix/wait3.c (__wait3): Likewise.
12180         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12181         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12182         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12183         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12184         stat_loc argument.
12185         * manual/process.texi (BSD Wait Functions): Remove union wait.
12187 2016-04-13  Andreas Schwab  <schwab@suse.de>
12189         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12190         (test-extras): Add tst-tlsalign-vars.
12191         * math/Makefile: Wrap long lines.
12192         (libm-vec-test-wrappers): Define.
12193         (test-extras): Add $(libm-vec-test-wrappers).
12194         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12195         * nss/Makefile (extra-test-objs): Add nss_test1.os.
12196         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12197         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12198         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12199         (extra-test-objs): Add corresponding objects.
12201 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
12203         [BZ #19928]
12204         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12205         New.
12206         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12207         times of shared cache size.
12208         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12209         (VMOVNT): New.
12210         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12211         (VMOVNT): Likewise.
12212         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12213         (VMOVNT): Likewise.
12214         (VMOVU): Changed to movups for smaller code sizes.
12215         (VMOVA): Changed to movaps for smaller code sizes.
12216         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12217         comments.
12218         (PREFETCH): New.
12219         (PREFETCH_SIZE): Likewise.
12220         (PREFETCHED_LOAD_SIZE): Likewise.
12221         (PREFETCH_ONE_SET): Likewise.
12222         Rewrite to use forward and backward loops, which move 4 vector
12223         registers at a time, to support overlapping addresses and use
12224         non temporal store if size is above the threshold and there is
12225         no overlap between destination and source.
12227 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
12229         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12230         Include dl-vdso.
12231         * sysdeps/unix/sysv/linux/mips/Versions: Add
12232         __vdso_clock_gettime.
12233         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12234         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12235         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12236         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12237         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12238         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12239         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12240         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12241         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12243 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12245         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12246         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12247         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12248         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12249         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12250         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12253         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12254         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12255         syscalls generation.
12256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12257         [__NR_pwrite64] (__NR_write): Remove define.
12258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12259         [__NR_pwrite64] (__NR_write): Remove define.
12260         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12261         Remove define.
12262         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12263         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12264         Remove define.
12265         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12266         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12267         Linux implementation as base.
12268         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12270         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12271         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12272         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12273         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12276         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12277         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12278         syscall generation.
12279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12280         [__NR_pread64] (__NR_pread): Remove define.
12281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12282         [__NR_pread64] (__NR_pread): Likewise.
12283         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12284         define.
12285         (__libc_pread): Use SYSCALL_LL macro on offset argument.
12286         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12287         Remove define.
12288         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12289         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12290         Linux implementation as base.
12291         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12292         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12293         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12295         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12296         definition.
12297         (__ALIGNMENT_COUNT): Likewise.
12298         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12299         (__ALIGNMENT_COUNT): Likewise.
12300         (SYSCALL_LL): New define.
12301         (SYSCALL_LL64): Likewise.
12302         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12303         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12304         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12305         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12307         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12308         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12309         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12310         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12311         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12312         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12314 2016-04-11  Florian Weimer  <fweimer@redhat.com>
12316         [BZ #19865]
12317         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12318         original buffer before retry.
12320 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12322         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12323         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12324         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12325         GLRO(dl_auxv) list.
12326         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12327         including <ldsodefs.h>.
12328         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12330 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
12332         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12333         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12334         $(CPPFLAGS).
12336 2016-04-09  Khem Raj  <raj.khem@gmail.com>
12338         [BZ #17950]
12339         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12340         Add -mfpmath=387.
12342 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
12344         * sysdeps/i386/configure.ac: Change == to = when calling test.
12345         * sysdeps/x86_64/configure.ac: Likewise.
12346         * sysdeps/i386/configure: Regenerated.
12347         * sysdeps/x86_64/configure: Likewise.
12349 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
12351         [BZ #16137]
12352         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12353         * benchtests/bench-strcoll.c (input_files): Likewise.
12354         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12355         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12356         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12358 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
12360         [BZ #19929]
12361         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12362         [__USE_XOPEN2K8 && !__USE_GNU].
12363         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12364         variable.
12366         [BZ #19925]
12367         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12368         define if [!__USE_MISC && __USE_XOPEN2K].
12369         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12370         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12371         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12372         Likewise.
12373         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12374         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12375         variable.
12376         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12378 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12380         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12381         (sysdep_routines): Add new strspn targets.
12382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12383         (__libc_ifunc_impl_list): Add strspn.
12384         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12385         New file.
12386         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12387         Likewise.
12388         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12389         Likewise.
12390         * sysdeps/powerpc/powerpc64/power8/strspn.S:
12391         Likewise.
12393 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12395         * misc/hsearch_r.c: Include <limits.h>.
12397 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12399         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12401 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12403         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12404         (MEMCPY_SYMBOL): New.
12405         (MEMPCPY_SYMBOL): Likewise.
12406         (MEMMOVE_CHK_SYMBOL): Likewise.
12407         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12408         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12409         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
12410         Provide alias for memcpy in libc.a and ld.so.
12412 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12414         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12415         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
12416         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12417         Disabled fro now.
12418         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12419         symbols.  Properly check USE_MULTIARCH on __memset symbols.
12421 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12423         * benchtests/Makefile (string-benchset): Add memcpy-large,
12424         memmove-large and memset-large.
12425         * benchtests/bench-memcpy-large.c: New file.
12426         * benchtests/bench-memmove-large.c: Likewise.
12427         * benchtests/bench-memmove-large.c: Likewise.
12428         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12430 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12432         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12433         32-bit displacement to avoid long nop between instructions.
12435 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12437         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12438         a comment on VMOVU and VMOVA.
12440 2016-04-04  Florian Weimer  <fweimer@redhat.com>
12442         [BZ #19633]
12443         Use specified locale for number formatting in strfmon_l.
12444         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12445         (__nl_lookup_word): New inline functions.
12446         * include/printf.h (__print_fp_l): Declare.
12447         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12448         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
12449         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12450         (___printf_fp): New function.
12451         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12452         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12453         * stdlib/tst-strfmon_l.c (do_test): New test.
12454         * stdlib/Makefile (tests): Add kt.
12455         (LOCALES): Build additional locales.
12456         (tst-strfmon_l.out): Require locales.
12458 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12460         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12461         if not in libc.
12462         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12463         Likewise.
12464         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12465         Likewise.
12466         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12467         Likewise.
12469 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12471         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12472         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12473         with unaligned_erms.
12474         (__memmove_erms): Skip if source == destination.
12475         (__memmove_unaligned_erms): Don't check source == destination
12476         first.
12478 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12480         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12481         bit_arch_Fast_Copy_Backward for Intel Core proessors.
12483 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12485         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12486         * string/strspn.c (strspn): Likewise.
12488 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12490         * benchtests/bench-memset.c (do_test): Support 64-byte
12491         alignment.
12492         (test_main): Test 64-byte alignment.
12494 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12496         * benchtests/bench-memmove.c (test_main): Test 64-byte
12497         alignment.
12499 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12501         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12503 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12505         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12506         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12507         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12509         * string/strpbrk.c (strpbrk): Rewrite function.
12510         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12511         (__strpbrk_c2): Likewise.
12512         (__strpbrk_c3): Likewise.
12513         * string/string-inlines.c
12514         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12515         Likewise.
12516         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12517         Likewise.
12519         * string/strspn.c (strcspn): Rewrite function.
12520         * string/bits/string2.h (strspn): Use __builtin_strcspn.
12521         (__strspn_c1): Remove inline function.
12522         (__strspn_c2): Likewise.
12523         (__strspn_c3): Likewise.
12524         * string/string-inlines.c
12525         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12526         compatibility symbol.
12527         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12528         Likewise.
12529         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12530         Likewise.
12531         * string/string-inlines.c: Include generic version.
12533 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
12534             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12536         * string/Version (libc): Add GLIBC_2.24.
12537         * string/strcspn.c (strcspn): Rewrite function.
12538         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12539         (__strcspn_c1): Remove inline function.
12540         (__strcspn_c2): Likewise.
12541         (__strcspn_c3): Likewise.
12542         * string/string-inline.c
12543         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12544         compatibility symbol.
12545         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
12546         Likewise.
12547         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
12548         Likewise.
12549         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
12551 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12553         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12554         Use ahi instead of aghi to adjust stack pointer.
12556 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12558         [BZ #19853]
12559         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
12560         TEST to take significant digits as second parameter.
12561         [TEST]: Redefine in terms of TEST_N taking 30
12562         significant digits.
12563         (do_test): Add test case to demonstrate precision
12564         failure in the ldbl-128ibm printf.
12565         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
12566         (__mpn_extract_long_double): Carry 7 extra intermediate
12567         bits of precision to aide computing difference when
12568         signs differ.
12570 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12572         [BZ #19881]
12573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12574         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
12575         memset-avx512-unaligned-erms.
12576         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12577         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
12578         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12579         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12580         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12581         __memset_sse2_unaligned_erms, __memset_erms,
12582         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12583         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12584         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12585         file.
12586         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12587         Likewise.
12588         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12589         Likewise.
12590         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12591         Likewise.
12593 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12595         [BZ #19776]
12596         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12597         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12598         memmove-avx512-unaligned-erms.
12599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12600         (__libc_ifunc_impl_list): Test
12601         __memmove_chk_avx512_unaligned_2,
12602         __memmove_chk_avx512_unaligned_erms,
12603         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12604         __memmove_chk_sse2_unaligned_2,
12605         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12606         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12607         __memmove_avx512_unaligned_erms, __memmove_erms,
12608         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12609         __memcpy_chk_avx512_unaligned_2,
12610         __memcpy_chk_avx512_unaligned_erms,
12611         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12612         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12613         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12614         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12615         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12616         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12617         __mempcpy_chk_avx512_unaligned_erms,
12618         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12619         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12620         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12621         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12622         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12623         __mempcpy_erms.
12624         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12625         file.
12626         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12627         Likewise.
12628         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12629         Likewise.
12630         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12631         Likewise.
12633 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12635         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12636         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12637         (La_s390_64_regs): Likewise.
12638         (La_s390_32_retval): Append vector register lrv_v24.
12639         (La_s390_64_retval): Likeweise.
12640         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12641         Handle extended structs La_s390_32_regs and La_s390_32_retval.
12642         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12643         Handle extended structs La_s390_64_regs and La_s390_64_retval.
12645 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12647         [BZ #19916]
12648         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12649         to create a non-vector/vector version for _dl_runtime_resolve and
12650         _dl_runtime_profile. Move implementation to ...
12651         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12652         (_dl_runtime_resolve) Save and restore fpr/vrs.
12653         (_dl_runtime_profile) Save and restore vrs and fix some issues
12654         if _dl_call_pltexit is called.
12655         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12656         Choose the correct resolver function if running on a machine with vx.
12657         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12658         to create a non-vector/vector version for _dl_runtime_resolve and
12659         _dl_runtime_profile. Move implementation to ...
12660         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12661         (_dl_runtime_resolve) Save and restore fpr/vrs.
12662         (_dl_runtime_profile) Save and restore vrs and fix some issues
12663         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12664         Choose the correct resolver function if running on a machine with vx.
12666 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12668         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12670 2016-03-31  Florian Weimer  <fweimer@redhat.com>
12672         [BZ #19509]
12673         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12674         skip_map != NULL.
12675         * elf/tst-dlsym-error.c: New file.
12676         * elf/Makefile (tests): Add tst-dlsym-error.
12677         (tst-dlsym-error): Link against libdl.
12679 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
12681         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12682         (__ASSUME_FUTIMESAT): Remove macro.
12683         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12685 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12687         [BZ #19879]
12688         CVE-2016-3075
12689         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12690         copy name.
12692 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12694         [BZ #19837]
12695         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12696         error if parse_line fails.
12698 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12700         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12701         (index_cpu_ERMS): Likewise.
12702         (reg_ERMS): Likewise.
12704 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
12706         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12707         PER_LINUX_FDPIC): Add.
12709 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12712         memcpy-avx512-no-vzeroupper.
12713         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12714         to ...
12715         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12716         (MEMCPY): Don't define.
12717         (MEMCPY_CHK): Likewise.
12718         (MEMPCPY): Likewise.
12719         (MEMPCPY_CHK): Likewise.
12720         (MEMPCPY_CHK): Renamed to ...
12721         (__mempcpy_chk_avx512_no_vzeroupper): This.
12722         (MEMPCPY_CHK): Renamed to ...
12723         (__mempcpy_chk_avx512_no_vzeroupper): This.
12724         (MEMCPY_CHK): Renamed to ...
12725         (__memmove_chk_avx512_no_vzeroupper): This.
12726         (MEMCPY): Renamed to ...
12727         (__memmove_avx512_no_vzeroupper): This.
12728         (__memcpy_avx512_no_vzeroupper): New alias.
12729         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12731 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12733         [BZ #18858]
12734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12735         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12736         and mempcpy-avx512-no-vzeroupper.
12737         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12738         New.
12739         (MEMPCPY): Likewise.
12740         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12741         (MEMPCPY_CHK): New.
12742         (MEMPCPY): Likewise.
12743         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12744         (MEMPCPY): Likewise.
12745         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12746         (MEMPCPY): Likewise.
12747         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12748         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12749         Likewise.
12750         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12751         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12753 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12754              Amit Pawar  <Amit.Pawar@amd.com>
12756         [BZ #19583]
12757         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12758         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12759         processors.  Set Fast_Copy_Backward for AMD Excavator
12760         processors.
12761         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12762         New.
12763         (index_arch_Fast_Unaligned_Copy): Likewise.
12764         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12765         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12767 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12769         [BZ #19791]
12770         * resolv/res_send.c (close_and_return_error): New function.
12771         (send_dg): Initialize *resplen2 after reopen failure.  Call
12772         close_and_return_error for error returns.  On error paths without
12773         __res_iclose, initialze *resplen2 explicitly.  Update comment for
12774         successful return.
12776 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12778         [BZ# 19860]
12779         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12780         zero if the compiler does not provide the AVX512F bit.
12782 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
12784         [BZ #19848]
12785         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12786         from 8 to 4.
12787         (__ieee754_powl): Compare integer exponent against 4 not 8.
12788         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12789         from 8 to 4.
12790         (__ieee754_powl): Compare integer exponent against 4 not 8.
12791         * math/auto-libm-test-in: Add more tests of pow.
12792         * math/auto-libm-test-out: Regenerated.
12793         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12796 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12798         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12799         Make code unconditional.
12800         [!__NR_utimensat]: Remove conditional code.
12801         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12802         Make code unconditional.
12803         [!__NR_utimensat]: Remove conditional code.
12804         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12805         Make code unconditional.
12806         [!__NR_utimensat]: Remove conditional code.
12808 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12810         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12811         Make code unconditional.
12813 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
12815         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12816         call-clobbered %eax on retry path.
12817         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12819 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12821         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12822         Don't set %rcx twice before "rep movsb".
12824 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12826         [BZ #19583]
12827         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12828         inline.  Check family before setting family, model and
12829         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
12830         bits here.
12831         (init_cpu_features): Replace HAS_CPU_FEATURE and
12832         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12833         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
12834         for Intel processors with usable AVX2.  Call get_common_indeces
12835         for other processors with family == NULL.
12836         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12837         (CPU_FEATURES_ARCH_P): Likewise.
12838         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12839         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12841 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12843         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12844         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12845         $(shared-thread-library) instead of hardcoding the path to libpthread.
12847 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
12849         * sysdeps/unix/sysv/linux/kernel-features.h
12850         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12851         * sysdeps/unix/sysv/linux/getdents.c
12852         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12853         [!have_no_getdents64_defined]: Likewise.
12854         (__GETDENTS): Remove __have_no_getdents64 conditional.
12856 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
12858         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12859         Remove macro.
12860         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12861         <kernel-features.h>.
12862         (signalfd) [__NR_signalfd4]: Make code unconditional.
12863         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12865 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12867         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12868         style.
12870 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12872         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12873         (__pthread_enable_asynccancel): Use JUMPTARGET to call
12874         __pthread_unwind.
12875         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12876         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12877         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12878         (__condvar_cleanup1): Likewise.
12880 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
12882         [BZ #19822]
12883         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12884         move it to the final $@ location.
12886 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12888         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12889         access where posix_spawn success and pid argument is null.
12890         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12891         success case.
12893 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
12895         * sysdeps/mach/hurd/i386/c++-types.data: New file.
12897         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12899         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12900         and __fcntl.
12901         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12902         __fcntl only.
12903         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12904         adding attribute_hidden to __open and __fcntl.
12906         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12907         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12908         depend on libc-modules.h,
12909         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12911 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
12913         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12914         Remove macro.
12915         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12916         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12917         entry.
12919         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12920         Remove macro.
12921         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12922         include <kernel-features.h>.
12923         [!__ASSUME_FALLOCATE]: Remove conditional code.
12924         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12926 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12928         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12929         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12930         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12931         (_ZGVdN4v_cos_avx2): Likewise.
12932         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12933         (_ZGVdN4v_cos): Likewise.
12934         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12935         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12936         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12937         (_ZGVdN4v_exp_avx2): Likewise.
12938         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12939         (_ZGVdN4v_exp): Likewise.
12940         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12941         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12942         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12943         (_ZGVdN4v_log_avx2): Likewise.
12944         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12945         (_ZGVdN4v_log): Likewise.
12946         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12947         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12948         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12949         (_ZGVdN4vv_pow_avx2): Likewise.
12950         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12951         (_ZGVdN4vv_pow): Likewise.
12952         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12953         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12954         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12955         (_ZGVdN4v_sin_avx2): Likewise.
12956         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12957         (_ZGVdN4v_sin): Likewise.
12958         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12959         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12960         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12961         (_ZGVdN4vvv_sincos_avx2): Likewise.
12962         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12963         (_ZGVdN4vvv_sincos): Likewise.
12964         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12965         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12966         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12967         (_ZGVbN4v_cosf_sse4): Likewise.
12968         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12969         (_ZGVdN8v_cosf_avx2): Likewise.
12970         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12971         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12972         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12973         (_ZGVbN4v_expf_sse4): Likewise.
12974         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12975         (_ZGVdN8v_expf_avx2): Likewise.
12976         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12977         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12978         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12979         (_ZGVbN4v_logf_sse4): Likewise.
12980         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12981         (_ZGVdN8v_logf_avx2): Likewise.
12982         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12983         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12984         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12985         (_ZGVbN4vv_powf_sse4): Likewise.
12986         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12987         (_ZGVdN8vv_powf_avx2): Likewise.
12988         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12989         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12990         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12991         (_ZGVbN4vvv_sincosf_sse4): Likewise.
12992         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12993         (_ZGVdN8vvv_sincosf_avx2): Likewise.
12994         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12995         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12996         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12997         (_ZGVbN4v_sinf_sse4): Likewise.
12998         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12999         (_ZGVdN8v_sinf_avx2): Likewise.
13000         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13001         Use JUMPTARGET to call callee.
13002         (WRAPPER_IMPL_SSE2_ff): Likewise.
13003         (WRAPPER_IMPL_SSE2_fFF): Likewise.
13004         (WRAPPER_IMPL_AVX): Likewise.
13005         (WRAPPER_IMPL_AVX_ff): Likewise.
13006         (WRAPPER_IMPL_AVX_fFF): Likewise.
13007         (WRAPPER_IMPL_AVX512): Likewise.
13008         (WRAPPER_IMPL_AVX512_ff): Likewise.
13009         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13010         Likewise.
13011         (WRAPPER_IMPL_SSE2_ff): Likewise.
13012         (WRAPPER_IMPL_SSE2_fFF): Likewise.
13013         (WRAPPER_IMPL_AVX): Likewise.
13014         (WRAPPER_IMPL_AVX_ff): Likewise.
13015         (WRAPPER_IMPL_AVX_fFF): Likewise.
13016         (WRAPPER_IMPL_AVX512): Likewise.
13017         (WRAPPER_IMPL_AVX512_ff): Likewise.
13018         (WRAPPER_IMPL_AVX512_fFF): Likewise.
13020 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13022         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
13023         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
13024         qualifier.
13025         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
13026         internal_function qualifiers.
13028 2016-03-15  Carlos O'Donell <carlos@redhat.com>
13030         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13031         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13032         * math/atest-exp.c (exp_mpn): Mark chk unused.
13033         * math/atest-exp2.c (exp_mpn): Likewise.
13034         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13035         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13037 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
13039         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13040         Remove macro.
13041         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13042         <kernel-features.h>.
13043         [__NR_ppoll]: Make code unconditional.
13044         [!__ASSUME_PPOLL]: Remove conditional code.
13046         * sysdeps/unix/sysv/linux/kernel-features.h
13047         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13048         (__ASSUME_ACCEPT4): Likewise.
13049         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13050         Define.
13051         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13052         Likewise.
13053         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13054         Likewise.
13055         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13056         Likewise.
13057         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13058         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13059         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13060         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13061         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13062         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13063         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13064         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13065         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13066         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13067         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13068         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13069         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13070         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13071         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13072         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13073         Likewise.
13074         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13075         Likewise.
13076         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13077         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13078         0x040300].
13079         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13080         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13081         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13082         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13083         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13084         0x030300].
13085         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13086         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13087         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13088         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13089         0x040300].
13090         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13091         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13092         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13093         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13094         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13095         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13096         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13097         0x030300].
13098         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13099         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13100         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13101         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13102         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13103         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13104         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13105         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13106         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13107         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13108         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13109         0x040300].
13110         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13111         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13112         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13113         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13114         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13115         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13116         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13117         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13118         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13119         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13120         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13121         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13122         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13123         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13124         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13125         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13126         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13127         Likewise.
13128         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13129         Likewise.
13131 2016-03-15  Andreas Schwab  <schwab@suse.de>
13133         [BZ #19257]
13134         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13135         statp->_u._ext.nscount as loop count.
13137 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13139         * math/test-signgam-finite-c99.c: Also #undef
13140         __LIBC_INTERNAL_MATH_INLINES.
13141         * math/test-signgam-main.c: Likewise.
13143 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
13145         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13146         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13147         (MADV_FREE): Likewise.
13148         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13149         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13150         EPOLLEXCLUSIVE.
13152 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
13154         * timezone/README: Remove mention of checktab.awk. Mention wiki
13155         SharedSourceFiles.
13157 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
13159         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13160         WUNTRACED.
13162 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13164         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13165         order to match the type of p when calling atomic_exchange_acq().
13167 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13169         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13170         cfi_offset calls.
13171         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13172         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13173         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13174         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13175         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13177 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
13179         * timezone/checktab.awk: Removed.
13181 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
13183         * manual/math.texi (Errors in Math Functions): Document relaxed
13184         accuracy goals for IBM long double.
13185         * math/libm-test.inc (test_exceptions): Always allow spurious
13186         "underflow" and "inexact" exceptions for IBM long double.
13188 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
13190         [BZ #19762]
13191         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13192         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13193         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13194         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13195         (bit_arch_*): This for feature array.
13196         (bit_*): Renamed to ...
13197         (bit_cpu_*): This for cpu array.
13198         (index_*): Renamed to ...
13199         (index_arch_*): This for feature array.
13200         (index_*): Renamed to ...
13201         (index_cpu_*): This for cpu array.
13202         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13203         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13204         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13205         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13206         bit_##name with index_cpu_##name and bit_cpu_##name.
13207         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13208         bit_##name with index_arch_##name and bit_arch_##name.
13210 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
13212         [BZ #19792]
13213         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13214         Terminate FDE before return label.
13216 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
13218         [BZ #19790]
13219         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13220         (rintl): Define as macro.
13221         [USE_AS_NEARBYINTL] (__rintl): Likewise.
13222         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13223         of fesetround.  Ensure results are evaluated before end of scope.
13224         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13225         USE_AS_NEARBYINTL and include s_rintl.c.
13226         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13227         Disable exception traps in new environment.
13228         (libc_feholdsetround_ppc_ctx): Likewise.
13230 2016-03-08  Roland McGrath  <roland@hack.frob.com>
13232         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13233         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13234         (tst_audit10_aux) [__AVX512F__]: ... here.
13236 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
13238         * include/sys/auxv.h: New file.
13240 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13242         [BZ #19759]
13243         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13245 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13247         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13248         operand modifier.
13249         (feclearexcept): Likewise.
13251 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13253         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13254         to reflect the entire 32-bit HWCAP.
13255         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13256         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
13258 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13260         [BZ #19783]
13261         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13262         $(test-via-rtld-prefix).
13263         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13265 2016-03-08  Florian Weimer  <fweimer@redhat.com>
13267         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13268         union wait.  Report any non-zero exit status as error.
13270 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13272         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13273         configured with --enable-hardcoded-path-in-tests.
13275 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
13277         [BZ #19677]
13278         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13279         (__ieee754_remainderl): Put zero low parts in canonical form.
13280         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13281         file.  Based on
13282         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13283         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13284         with wrapper round test-fmodrem-ldbl-128ibm.c.
13285         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13286         file.
13287         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13288         Likewise.
13289         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13290         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13292 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13294         [BZ #19610]
13295         * elf/ldconfig.c (opt_link): Update comment.
13296         (options): Update help string for option -X.
13297         (search_dir): Unlink stale symbolic link only if updating symbolic
13298         links.
13299         * elf/tst-ldconfig-X.sh: New file.
13300         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13301         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13303 2016-03-07  Andreas Schwab  <schwab@suse.de>
13305         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13306         needed arguments.
13308 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
13310         [BZ #15333]
13311         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13312         to lstat64.
13314 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13316         * libio/filedoalloc.c (isatty): Remove.
13317         (local_isatty): Add comment.  Call __isatty directly.
13318         (_IO_file_doallocate): Update comment.  Assume _LIBC.
13319         * libio/wfiledoalloc.c (isatty): Remove.
13320         (_IO_wfile_doallocate): Update comment.
13322 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13324         [BZ #19269]
13325         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13326         tst-audit4-aux.o.
13327         (tst-audit10): Depend on tst-audit10-aux.o.
13328         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13329         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13330         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13331         instead of inline AVX code.
13332         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13333         instead of inline AVX512 code.
13334         * sysdeps/x86_64/tst-audit4-aux.c: New file
13335         * sysdeps/x86_64/tst-audit10-aux.c: New file
13337         [BZ #19648]
13338         * test-skeleton.c (main): Do not set RLIMIT_DATA.
13340 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13342         [BZ #14750]
13343         [BZ #10354]
13344         [BZ #18433]
13345         * include/sched.h (__clone): Add hidden prototype.
13346         (__clone2): Likewise.
13347         * include/unistd.h (__dup): Likewise.
13348         * posix/Makefile (tests): Add tst-spawn2.
13349         * posix/tst-spawn2.c: New file.
13350         * sysdeps/posix/dup.c (__dup): Add hidden definition.
13351         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13352         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13353         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13354         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13355         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13356         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13357         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13358         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13359         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13360         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13362         Likewise.
13363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13364         Likewise.
13365         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13366         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13367         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13368         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13369         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13370         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13371         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13372         * sysdeps/unix/sysv/linux/nptl-signals.h
13373         (____nptl_is_internal_signal): New function.
13374         * sysdeps/unix/sysv/linux/spawni.c: New file.
13376         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13377         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13378         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13379         * posix/tst-execvp2.c (do_test): Likewise.
13380         * posix/tst-execvp3.c (do_test): Likewise.
13381         * posix/tst-execvp4.c (do_test): Likewise.
13382         * posix/tst-execvpe1.c: New file.
13383         * posix/tst-execvpe2.c: Likewise.
13384         * posix/tst-execvpe3.c: Likewise.
13385         * posix/tst-execvpe4.c: Likewise.
13386         * posix/tst-execvpe5.c: Likewise.
13387         * posix/tst-execvpe6.c: Likewise.
13389         [BZ #19534]
13390         * posix/execl.c (execl): Remove dynamic memory allocation.
13391         * posix/execle.c (execle): Likewise.
13392         * posix/execlp.c (execlp): Likewise.
13394 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13396         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13397         Replace .text with .text.avx512.
13398         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13399         Likewise.
13401 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
13403         * sysdeps/generic/libnsl.abilist: New file.
13404         * sysdeps/generic/libutil.abilist: New file.
13406 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13408         [BZ #19762]
13409         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13410         HAS_ARCH_FEATURE with Fast_Rep_String.
13411         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13412         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13413         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13414         Likewise.
13415         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13416         Likewise.
13417         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13418         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13419         Likewise.
13420         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13421         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13422         Likewise.
13424 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13426         [BZ #19745]
13427         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13428         with *%rax in call.
13430 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13432         [BZ #19745]
13433         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13434         with *__libc_start_main@GOTPCREL(%rip) in call.
13436 2016-03-04  Roland McGrath  <roland@hack.frob.com>
13438         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13439         inside conditional for nonempty $(CXX).
13441         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13442         nonempty.
13444         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13445         to test for empty $(CXX) rather than $(CXX) of "no".
13447 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13449         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13451 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
13452             H.J. Lu  <hongjiu.lu@intel.com>
13454         [BZ #18880]
13455         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13456         instead of Slow_BSF, and also check for Fast_Copy_Backward to
13457         enable __memcpy_ssse3_back.
13459 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13461         [BZ #19758]
13462         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13463         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13465 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13467         [BZ #19490]
13468         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13469         (__fentry__): Likewise.
13471 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13473         * gmon/Makefile (noprof): Add $(sysdep_noprof).
13474         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13476 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
13478         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13479         __mcount_internal directly.
13480         (C_LABEL(__fentry__)): Likewise.
13481         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13482         directly.
13484 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
13486         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13487         (__start_context): Call __setcontext directly.
13489 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
13491         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13492         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13493         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13494         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13495         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13496         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13497         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13498         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13499         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13500         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13501         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13502         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13503         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13504         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13505         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13506         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13507         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13508         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13509         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13510         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13511         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13512         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13513         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13514         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13515         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13516         Remove conditional code.
13517         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13518         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13519         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13520         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13521         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13522         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13523         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13524         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13525         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13526         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13527         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13528         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13530 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
13532         * NEWS (2.23): Fix typo in bug 19048 text.
13534 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
13536         [BZ #14259]
13537         * Makeconfig: Rename msgcatdir to localedir.
13538         Rename inst_msgcatdir to inst_localedir.
13539         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13540         * config.make.in: Add localedir.
13541         * elf/Makefile ($(objpfx)sotruss): Use localedir.
13542         (ldd-rewrite): Likewise.
13543         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
13544         (install-others): Use inst_localedir.
13545         (CPPFLAGS): Use localedir.
13546         * locale/Makefile (locale-CPPFLAGS): Likewise.
13547         * po/Makefile (mo-installed): Use inst_localedir.
13549         [BZ #19575]
13550         * localedata/charmaps/GB18030: Update comments regarding PAU to
13551         non-PUA mappings.
13553 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
13555         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
13556         test for header.
13557         * sysdeps/unix/sysv/linux/configure: Regenerated.
13558         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
13559         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
13560         Remove conditional code.
13561         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
13563         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13564         Define to 3.2.0.
13565         (arch_minimum_kernel): Likewise.
13566         * sysdeps/unix/sysv/linux/configure: Regenerated.
13567         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
13568         Define to 2.6.32.
13569         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
13570         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13571         (arch_minimum_kernel): Define to 2.6.32.
13572         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
13573         * README: Document Linux 3.2 requirement.
13574         * manual/install.texi (Linux): Document Linux 3.2 headers
13575         requirement.
13576         * INSTALL: Regenerated.
13578 2016-02-24  Andreas Schwab  <schwab@suse.de>
13580         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13581         if !NO_LONG_DOUBLE.
13583 2016-02-22  Roland McGrath  <roland@hack.frob.com>
13585         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13586         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13588 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
13590         [BZ #19512]
13591         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13593 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13595         * posix/tst-dir.c: Include libc-internal.h.
13597 2016-02-20  Florian Weimer  <fweimer@redhat.com>
13599         [BZ #19056]
13600         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13601         * manual/filesys.texi (Reading/Closing Directory): Mention
13602         deprecaion.
13603         * posix/tst-dir.c (main): Disable deprecation warning in test.
13605 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
13607         [BZ #19679]
13608         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13609         Renamed to ...
13610         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
13611         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13612         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
13613         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13614         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13615         * sysdeps/x86_64/dl-trampoline.h
13616         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13617         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13619 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13621         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13623 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13625         * elf/elf.h (R_386_GOT32X): New.
13626         (R_386_NUM): Update.
13627         (R_X86_64_GOTPCRELX: New.
13628         (R_X86_64_REX_GOTPCRELX): New.
13629         (R_X86_64_NUM): Update.
13631 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
13633         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13635 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
13637         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13638         assign attr->stackaddr to it, and adjust it down when
13639         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
13640         [_STACK_GROWS_UP]: Delete assert.
13641         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13642         Implement stack grows up logic.
13643         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13644         stack grows up logic.
13646 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13648         * NEWS: Update with 2.24 template.
13650 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13652         [BZ #19678]
13653         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13654         Ensure +0.0 is returned when taking the next value below the least
13655         positive value.
13657 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13659         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13660         available.  Do not define NO_THREADS.
13661         * malloc/malloc.c: Do not check NO_THREADS.
13662         * malloc/arena.c: Likewise.
13664 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13666         * malloc/malloc.c (__libc_mallinfo): Update comment.
13667         (struct malloc_par): Remove max_total_mem member, it was always 0.
13668         (int_mallinfo): Store 0 into usmblks (no functional change).
13669         * malloc/hooks.c (struct malloc_state): Document that
13670         max_total_mem is always 0.
13671         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13672         always 0.
13673         * manual/memory.texi (Statistics of Malloc): Likewise.
13675 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13677         * malloc/malloc.c (sysmalloc): Do not update arena_max.
13678         * malloc/arena.c (arena_max): Remove.
13679         (heap_trim, _int_new_arena): Do not update arena_max.
13681 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13683         * resolv/res_init.c (res_ninit): Update comment.
13685 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13687         [BZ #19505]
13688         * posix/spawn_int.h: Add headers and include guard.
13689         (__spawn_valid_fd): New function.
13690         * posix/spawn_faction_addopen.c
13691         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13692         * posix/spawn_faction_addclose.c
13693         (posix_spawn_file_actions_addclose): Likewise.
13694         * posix/spawn_faction_adddup2.c
13695         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
13696         second file descriptor.
13697         * posix/spawn_valid_fd.c: New file.
13698         * posix/tst-posix_spawn-fd.c: New file.
13699         * posix/Makefile (routines): Add spawn_valid_fd.
13700         (tests): Add tst-posix_spawn-fd.
13702 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13704         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13705         (do_test): Limit the number of arenas, so that we can use fewer
13706         outer threads.  Limit timeout to 3 seconds, in preparation for a
13707         larger TIMEOUT value.
13709 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13711         [BZ #19674]
13712         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13713         sign in overflowing and underflowing results when overflow or
13714         underflow is detected early.  Include sign in result before rather
13715         than after scaling.
13717         [BZ #19603]
13718         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13719         (__ieee754_remainderl): Adjust sign of integer version of low part
13720         when taking absolute value of high part.
13721         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13722         * math/libm-test.inc (remainder_test_data): Add another test.
13723         (remquo_test_data): Likewise.
13725 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
13727         [BZ #19602]
13728         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13729         equal high parts and both low parts zero specially.
13730         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13731         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13732         Add test-fmodl-ldbl-128ibm.
13734         [BZ #19595]
13735         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13736         common logic for all cases of shifting subnormal results.  Do not
13737         insert sign bit in shifted mantissa.  Always pass -1023 as biased
13738         exponent to ldbl_insert_mantissa in subnormal case.
13740         [BZ #19594]
13741         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13742         on high and low parts then adjust result and use
13743         ldbl_canonicalize_int if needed.
13745         [BZ #19593]
13746         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13747         on high part and __floor or __ceil on low part then use
13748         ldbl_canonicalize_int if needed.
13750         [BZ #19592]
13751         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13752         high and low parts then use ldbl_canonicalize_int if needed.
13754         [BZ #17899]
13755         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13756         New function.
13757         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13758         on high and low parts then use ldbl_canonicalize_int if needed.
13760 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13762         * configure: Regenerated.
13764         * po/libc.pot: Regenerated.
13766         * po/be.po: Updated translation.
13767         * po/bg.po: Likewise.
13768         * po/ca.po: Likewise.
13769         * po/cs.po: Likewise.
13770         * po/da.po: Likewise.
13771         * po/el.po: Likewise.
13772         * po/eo.po: Likewise.
13773         * po/es.po: Likewise.
13774         * po/fi.po: Likewise.
13775         * po/fr.po: Likewise.
13776         * po/gl.po: Likewise.
13777         * po/hr.po: Likewise.
13778         * po/hu.po: Likewise.
13779         * po/ia.po: Likewise.
13780         * po/id.po: Likewise.
13781         * po/it.po: Likewise.
13782         * po/ja.po: Likewise.
13783         * po/lt.po: Likewise.
13784         * po/nb.po: Likewise.
13785         * po/nl.po: Likewise.
13786         * po/pt_BR.po: Likewise.
13787         * po/rw.po: Likewise.
13788         * po/sk.po: Likewise.
13789         * po/sl.po: Likewise.
13790         * po/sv.po: Likewise.
13791         * po/tr.po: Likewise.
13792         * po/zh_CN.po: Likewise.
13793         * po/zh_TW.po: Likewise.
13795         * version.h (RELEAES): Set to "development".
13796         (VERSION): Set to 2.23.90.
13798         * version.h (RELEASE): Set to "stable".
13799         (VERSION): Set to 2.23.
13800         * include/feature.h (__GLIBC_MINOR__): Set to 23.
13802         * NEWS: Updated fixed bugs.
13804 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
13805             Wilco Dijkstra  <wdijkstr@arm.com>
13807         [BZ #19462]
13808         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13809         (_STRING_INLINE_unaligned): This.
13810         * include/string.h: Include <string_private.h>.
13811         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13812         _STRING_INLINE_unaligned.
13813         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13814         (_STRING_INLINE_unaligned): New.
13815         * sysdeps/aarch64/string_private.h: New file.
13816         * sysdeps/generic/string_private.h: Likewise.
13817         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13818         * sysdeps/s390/string_private.h: Likewise.
13819         * sysdeps/x86/string_private.h: Likewise.
13820         * sysdeps/m68k/m680x0/m68020/bits/string.h
13821         (_STRING_ARCH_unaligned): Renamed to ...
13822         (_STRING_INLINE_unaligned): This.
13823         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13824         to ...
13825         (_STRING_INLINE_unaligned): This.
13826         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13827         to ...
13828         (_STRING_INLINE_unaligned): This.
13829         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13830         to ...
13831         (_STRING_INLINE_unaligned): This.
13833 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13834             H.J. Lu  <hongjiu.lu@intel.com>
13836         [BZ #19590]
13837         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13838         relocation.
13840 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
13842         [BZ #18665]
13843         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13844         *herrno_p.
13845         (gaih_getanswer): Document functional behviour. Return tryagain
13846         if any result is tryagain.
13847         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13848         when freed.
13849         * resolv/res_send.c: Add copyright text.
13850         (__libc_res_nsend): Document that MAXPACKET is expected.
13851         (send_vc): Document. Remove buffer reuse.
13852         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13853         size of the buffer. Add Dprint for truncated UDP buffer.
13855 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
13857         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13858         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13859         * INSTALL: Regenerate.
13861 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
13862             Jonathan Wakely  <jwakely@redhat.com>
13863             Carlos O'Donell  <carlos@redhat.com>
13865         [BZ 19439]
13866         * math/Makefile (tests): Add test-math-isinff.
13867         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13868         * math/bits/mathcalls.h [__USE_MISC]: Use
13869         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13870         functions not in C++11 and which don't conflict e.g. isinff,
13871         isinfl etc.
13872         * math/test-math-isinff.cc: New file.
13874 2016-02-12  Florian Weimer  <fweimer@redhat.com>
13876         * misc/bug18240.c (do_test): Set RLIMIT_AS.
13878 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13880         [BZ #19529]
13881         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13883 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13885         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13887 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
13889         [BZ #19550]
13890         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13891         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13892         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13893         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13894         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13895         New syscall entry.
13896         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13897         New syscall entry.
13898         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13899         syscall entry.
13901 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
13903         [BZ #18240]
13904         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13905         unsigned int wraparound.
13907 2016-01-27  Florian Weimer  <fweimer@redhat.com>
13909         [BZ #18240]
13910         * misc/bug18240.c: New test.
13911         * misc/Makefile (tests): Add it.
13913 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
13914             Joseph Myers  <joseph@codesourcery.com>
13916         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13917         load in branch delay slot when less than a word of input left.
13919 2016-01-27  Andreas Schwab  <schwab@suse.de>
13921         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13922         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13923         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13924         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13926 2016-01-26  David S. Miller  <davem@davemloft.net>
13928         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13930 2016-01-25  David S. Miller  <davem@davemloft.net>
13932         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13933         __sqrtl_finite.
13934         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13935         instead using versioned_symbol.
13936         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13937         of entries.
13939         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13940         __sqrtl_finite to GLIBC_2.23
13942 2016-01-25  Ricchard Henderson  <rth@redhat.com>
13944         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13946 2016-01-25  Andreas Schwab  <schwab@suse.de>
13948         [BZ #17514]
13949         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13950         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13951         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13952         * nptl/tst-mutex-errorcheck.c: New file.
13954 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13956         [BZ #18560]
13957         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13958         (IPCOP_semop): Likewise.
13959         (IPCOP_semget): Likewise.
13960         (IPCOP_semctl): Likewise.
13961         (IPCOP_msgsnd): Likewise.
13962         (IPCOP_msgrcv): Likewise.
13963         (IPCOP_msgget): Likewise.
13964         (IPCOP_msgctl): Likewise.
13965         (IPCOP_shmat): Likewise.
13966         (IPCOP_shmdt): Likewise.
13967         (IPCOP_shmget): Likewise.
13968         (IPCOP_shmctl): Likewise.
13970 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13972         * string/tst-endian.c: Include <libc-internal.h>.
13973         (do_test): Ignore tautological-compare warnings around
13974         "htobeXX (beXXtoh (i)) != i" and
13975         "htoleXX (leXXtoh (i)) != i" if-statements.
13977 2016-01-24  David S. Miller  <davem@davemloft.net>
13979         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13980         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13981         alias.
13982         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13983         __sqrtl_finite.
13985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13987 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
13989         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13990         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13991         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13993 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13995         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13996         (thread_func): Use new function to simplify barrier check.
13997         (do_test): Use new function to simplify checking barrier exit
13998         code, and actually join the child thread.
14000 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14002         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
14003         semicolon.
14004         (__libc_tend): Likewise.
14005         (__libc_tabort): Likewise.
14007 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
14009         * sysdeps/nios2/libm-test-ulps: Update.
14010         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
14011         (__gtsf2): Likewise.
14012         (__unorddf2): Likewise.
14013         (__unordsf2): Likewise.
14014         (__ledf2): Likewise.
14016 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
14018         * nis/nis_table.c (__follow_path): Disable diagnostic for
14019         uninitialized variable that is a false positive for gcc 4.7.
14020         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
14022 2016-01-20  Roland McGrath  <roland@hack.frob.com>
14024         * sysdeps/nacl/lowlevellock-futex.h
14025         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
14026         Always evaluate PRIVATE argument.
14028 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
14030         [BZ #19490]
14031         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14032         (pthread_cond_broadcast): Use ENTRY/END
14033         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14034         (pthread_cond_signal): Likewise.
14035         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14036         Likewise.
14037         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14038         Likewise.
14039         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14040         Likewise.
14042 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
14044         * sysdeps/ieee754/dbl-64/s_finite.c
14045         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14046         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14047         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14048         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14049         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14052         (__gtsf2): Add as optional for libc.so.
14053         (__unordsf2): Likewise.
14054         (__signbit): Remove for libc.so.
14055         (__signbitl): Likewise.
14057 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14059         * iconvdata/bug-iconv11.c (test_ibm93x):
14060         Use %zu printf format specifier for size_t argument.
14062 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
14064         * math/gen-libm-test.pl (parse_ulps): Do not reduce
14065         already-recorded ulps.
14066         * sysdeps/arm/libm-test-ulps: Regenerated.
14067         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14068         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14069         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14071 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14072             Paul Pluzhnikov  <ppluzhnikov@google.com>
14074         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14075         assembler not supporting AVX-512.
14077 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14079         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14081 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
14083         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14084         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14086         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14088         * sysdeps/arm/libm-test-ulps: Regenerated.
14090 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14092         [BZ #19451]
14093         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14095 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14097         [BZ #19486]
14098         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14099         * sysdeps/generic/fix-fp-int-convert-overflow.h
14100         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14101         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14102         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14103         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14104         Likewise.
14105         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14106         Avoid conversions to long int where inexact exceptions
14107         could be raised.
14108         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14109         Likewise.
14110         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14111         Avoid conversions to long long int where inexact exceptions
14112         could be raised.
14113         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14114         Likewise.
14116 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
14118         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14119         * configure: Regenerated.
14121 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14123         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14125 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
14127         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14128         outside of comment.
14130 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14132         * nptl/tst-barrier1.c: Add description on first line.
14133         * nptl/tst-barrier2.c: Likewise.
14134         * nptl/tst-barrier3.c: Likewise.
14135         * nptl/tst-barrier4.c: Likewise.
14136         * nptl/tst-barrier5.c: Likewise.
14138 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14140         [BZ #18868]
14141         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14143 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14146         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14147         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14148         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14149         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14150         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14151         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14152         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14153         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14154         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14155         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14157 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14159         [BZ #13065]
14160         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14161         new implementation.
14162         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14163         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14164         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14165         (BARRIER_IN_THRESHOLD): New macro.
14166         * nptl/pthread_barrierattr_setpshared.c
14167         (pthread_barrierattr_setpshared): Clean up.
14168         * nptl/tst-barrier4.c: Correct comment.
14169         * nptl/tst-barrier5.c: New file.
14170         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14171         (gen-as-const-headers): Remove lowlevelbarrier.sym.
14172         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14173         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14174         * nptl/lowlevelbarrier.sym: Remove.
14175         * nptl/DESIGN-barrier.txt: Remove.
14176         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14177         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14178         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14179         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14180         error.
14181         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14182         implementation.
14184 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14186         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14187         (do_child): Mask SIGRTMIN while thr is running.
14189 2016-01-15  Martin Sebor  <msebor@redhat.com>
14191         [BZ #19432]
14192         * iconvdata/Makefile: Add bug-iconv11.
14193         * iconvdata/bug-iconv11.c: New test.
14194         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14195         * iconvdata/ibm933.c: Same.
14196         * iconvdata/ibm935.c: Same.
14197         * iconvdata/ibm937.c: Same.
14198         * iconvdata/ibm939.c: Same.
14200 2016-01-15  Martin Sebor  <msebor@redhat.com>
14202         [BZ #19443]
14203         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14204         [DEBUG] (_ufc_set_bits): Declare used.
14205         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14206         [DEBUG] (print_all): Declare used.
14207         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14208         operands of the ternary ?: expression to target type.
14209         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14210         calling the undeclared abort.
14211         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14213 2016-01-15  Martin Sebor  <msebor@redhat.com>
14215         [BZ #18755]
14216         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14217         warnings.
14218         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14219         (__gai_create_helper_thread): Same.
14220         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14221         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14222         to suppress -Wmaybe-uninitialized warnings.
14224 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
14226         [BZ #19465]
14227         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14228         inside if.
14229         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14230         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14231         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14233 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
14235         [BZ #19466]
14236         * time/tst-mktime2.c (time_t_max): Removed.
14237         (time_t_min): Likewise.
14238         (TYPE_SIGNED): New.
14239         (TYPE_MINIMUM): Likewise.
14240         (TYPE_MAXIMUM): Likewise.
14241         (TIME_T_MIN): Likewise.
14242         (TIME_T_MAX): Likewise.
14243         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14244         and TIME_T_MIN.
14245         (do_test): Likewise.
14247 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
14249         [BZ #19467]
14250         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14251         index_Fast_Unaligned_Load flag for Excavator family CPUs.
14253 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
14255         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14257 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
14259         * benchtests/Makefile (PYTHON): Define.
14260         (bench-func): Use $(PYTHON) to run python scripts.
14261         ($(objpfx)bench-%.c): Likewise.
14263 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
14265         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14266         leading slash when `file_name' is "/".
14268 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
14270         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14271         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14272         Likewise.
14273         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14274         Likewise.
14275         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14276         Likewise.
14277         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14278         enum constant and macro.
14279         (PTRACE_SETSIGMASK): Likewise.
14280         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14281         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14282         (PTRACE_GETSIGMASK): Likewise.
14283         (PTRACE_SETSIGMASK): Likewise.
14284         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14285         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14286         Likewise.
14287         (PTRACE_SETSIGMASK): Likewise.
14288         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14289         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14290         (PTRACE_GETSIGMASK): Likewise.
14291         (PTRACE_SETSIGMASK): Likewise.
14292         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14293         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14294         Likewise.
14295         (PTRACE_SETSIGMASK): Likewise.
14296         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14297         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14298         Likewise.
14299         (PTRACE_SETSIGMASK): Likewise.
14300         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14301         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14302         Likewise.
14303         (PTRACE_SETSIGMASK): Likewise.
14304         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14306 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
14307             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14309         [BZ #19439]
14310         * math/bits/mathcalls.h
14311         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14312         prototype.
14313         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14315 2016-01-11  Andreas Schwab  <schwab@suse.de>
14317         [BZ #19253]
14318         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14319         cache when TZDEFRULES was used.
14320         * time/tst-tzname.c: New file.
14321         * time/Makefile (test): Add tst-tzname.
14322         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14323         * timezone/Makefile (test-zones): Add $(posixrules-file).
14324         ($(testdata)/$(posixrules-file)): New rule.
14326 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
14328         Fix doc quoting problems with Texinfo 5
14329         Without this change, in the info file output, Texinfo 5 quotes code
14330         in text with undirected single quotes 'like this' and generates
14331         code examples that with many PDF readers cannot be cut out of PDFs
14332         and pasted into code.
14333         * manual/libc.texinfo: Configure the libc manual like the GNU
14334         Emacs manual, by using @documentencoding and setting
14335         txicodequoteundirected and txicodequotebacktick.  This way,
14336         Texinfo 5 quotes code in text with directed single quotes ‘like
14337         this’ and produces examples that can be cut out of PDFs.  This
14338         change causes Texinfo 5 to generate info files that contain UTF-8
14339         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14340         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14342 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14344         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14345         __libc_tabort, __libc_tend): New wrappers that enforce compiler
14346         barriers to their respective compiler built-ins.
14347         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14348         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14349         * sysdeps/powerpc/sysdep.h: Likewise.
14350         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14351         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14352         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14354 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
14356         * scripts/config.guess: Revert previous shebang change.
14357         * scripts/config.sub: Likewise.
14358         * scripts/mkinstalldirs: Likewise.
14360 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14362         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14363         PPC_FEATURE2_HAS_IEEE128.
14364         * sysdeps/powerpc/dl-procinfo.c:
14365         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14367 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
14369         [BZ #19415]
14370         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14371         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
14372         (_dl_lookup_address): Rewrite using function resolver trampoline.
14373         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14374         two bits in address.
14376 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14378         * longlong.h: Change !__SHMEDIA__ to
14379         (!defined (__SHMEDIA__) || !__SHMEDIA__).
14380         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14382 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
14383             Joseph Myers  <joseph@codesourcery.com>
14384             Mark Shinwell  <shinwell@codesourcery.com>
14385             Andrew Stubbs  <ams@codesourcery.com>
14386             Rich Felker <dalias@libc.org>
14388         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14390 2016-01-07  Richard Henderson  <rth@redhat.com>
14392         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14394 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14396         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14397         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14398         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14399         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14400         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14402 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
14403             Joseph Myers  <joseph@codesourcery.com>
14405         * timezone/private.h: Update from tzcode 2015g.
14406         * timezone/tzfile.h: Likewise.
14407         * timezone/tzselect.ksh: Likewise.
14408         * timezone/zdump.c: Likewise.
14409         * timezone/zic.c: Likewise.
14410         * timezone/ialloc.c: Remove file.
14411         * timezone/scheck.c: Likewise.
14412         * timezone/Makefile (extra-objs): Remove variable.
14413         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14414         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14415         -Wno-maybe-uninitialized.
14416         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14417         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14418         (CFLAGS-ialloc.c): Remove variable.
14419         (CFLAGS-scheck.c): Likewise.
14420         * timezone/README: Update list of files from tzcode.
14422 2016-01-07  Khem Raj  <raj.khem@gmail.com>
14424         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14425         instead of __fxprintf when _LIBC is undefined.
14427 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
14429         * catgets/test-gencat.sh: Remove space after shebang.
14430         * conform/GlibcConform.pm: Likewise.
14431         * conform/check-header-lists.sh: Likewise.
14432         * conform/conformtest.pl: Likewise.
14433         * conform/linknamespace.pl: Likewise.
14434         * conform/list-header-symbols.pl: Likewise.
14435         * debug/catchsegv.sh: Likewise.
14436         * elf/genrtldtbl.awk: Likewise.
14437         * elf/tst-pathopt.sh: Likewise.
14438         * elf/tst-rtld-load-self.sh: Likewise.
14439         * grp/tst_fgetgrent.sh: Likewise.
14440         * iconvdata/gen-8bit-gap-1.sh: Likewise.
14441         * iconvdata/gen-8bit-gap.sh: Likewise.
14442         * iconvdata/gen-8bit.sh: Likewise.
14443         * iconvdata/run-iconv-test.sh: Likewise.
14444         * intl/tst-gettext.sh: Likewise.
14445         * intl/tst-gettext2.sh: Likewise.
14446         * intl/tst-gettext4.sh: Likewise.
14447         * intl/tst-gettext6.sh: Likewise.
14448         * intl/tst-translit.sh: Likewise.
14449         * io/ftwtest-sh: Likewise.
14450         * libio/test-freopen.sh: Likewise.
14451         * locale/gen-translit.pl: Likewise.
14452         * malloc/tst-mtrace.sh: Likewise.
14453         * manual/check-safety.sh: Likewise.
14454         * manual/libc-texinfo.sh: Likewise.
14455         * manual/tsort.awk: Likewise.
14456         * manual/xtract-typefun.awk: Likewise.
14457         * nptl/tst-cancel-wrappers.sh: Likewise.
14458         * nptl/tst-tls6.sh: Likewise.
14459         * posix/globtest.sh: Likewise.
14460         * posix/tst-getconf.sh: Likewise.
14461         * posix/wordexp-tst.sh: Likewise.
14462         * scripts/check-c++-types.sh: Likewise.
14463         * scripts/check-local-headers.sh: Likewise.
14464         * scripts/config.guess: Likewise.
14465         * scripts/config.sub: Likewise.
14466         * scripts/cpp: Likewise.
14467         * scripts/cross-test-ssh.sh: Likewise.
14468         * scripts/documented.sh: Likewise.
14469         * scripts/evaluate-test.sh: Likewise.
14470         * scripts/gen-libc-abis: Likewise.
14471         * scripts/gen-sorted.awk: Likewise.
14472         * scripts/list-fixed-bugs.py: Likewise.
14473         * scripts/merge-test-results.sh: Likewise.
14474         * scripts/mkinstalldirs: Likewise.
14475         * scripts/rellns-sh: Likewise.
14476         * scripts/test-installation.pl: Likewise.
14477         * scripts/update-copyrights: Likewise.
14478         * stdio-common/tst-printf.sh: Likewise.
14479         * stdio-common/tst-unbputc.sh: Likewise.
14480         * stdlib/tst-fmtmsg.sh: Likewise.
14481         * stdlib/tst-setcontext3.sh: Likewise.
14482         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14483         * sysdeps/unix/make-syscalls.sh: Likewise.
14485 2016-01-06  John David Anglin  <dave.anglin@bell.net>
14487         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14488         asm stw with atomic_exchange_rel.  Add explanatory comment.
14489         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14490         Likewise.
14492 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
14494         [BZ #19122]
14495         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14496         * sysdeps/generic/dl-unistd.h: New file.
14497         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14499 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
14501          [BZ #19122]
14502          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14503          * sysdeps/generic/dl-mman.h: New file.
14504          * sysdeps/mach/hurd/dl-mman.h: Likewise.
14506 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
14508         * manual/texinfo.tex: Update to version 2016-01-04.21 with
14509         trailing whitespace removed.
14510         * scripts/config.guess: Update to version 2016-01-01.
14511         * scripts/config.sub: Update to version 2016-01-01.
14512         * scripts/move-if-change: Update from gnulib.
14514 2016-01-04  Anton Blanchard  <anton@samba.org>
14516         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14517         for array indices.
14518         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14520 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
14522         * NEWS: Update copyright dates.
14523         * catgets/gencat.c (print_version): Likewise.
14524         * csu/version.c (banner): Likewise.
14525         * debug/catchsegv.sh: Likewise.
14526         * debug/pcprofiledump.c (print_version): Likewise.
14527         * debug/xtrace.sh (do_version): Likewise.
14528         * elf/ldconfig.c (print_version): Likewise.
14529         * elf/ldd.bash.in: Likewise.
14530         * elf/pldd.c (print_version): Likewise.
14531         * elf/sotruss.sh: Likewise.
14532         * elf/sprof.c (print_version): Likewise.
14533         * iconv/iconv_prog.c (print_version): Likewise.
14534         * iconv/iconvconfig.c (print_version): Likewise.
14535         * locale/programs/locale.c (print_version): Likewise.
14536         * locale/programs/localedef.c (print_version): Likewise.
14537         * login/programs/pt_chown.c (print_version): Likewise.
14538         * malloc/memusage.sh (do_version): Likewise.
14539         * malloc/memusagestat.c (print_version): Likewise.
14540         * malloc/mtrace.pl: Likewise.
14541         * manual/libc.texinfo: Likewise.
14542         * nptl/version.c (banner): Likewise.
14543         * nscd/nscd.c (print_version): Likewise.
14544         * nss/getent.c (print_version): Likewise.
14545         * nss/makedb.c (print_version): Likewise.
14546         * posix/getconf.c (main): Likewise.
14547         * scripts/test-installation.pl: Likewise.
14548         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14550         * All files with FSF copyright notices: Update copyright dates
14551         using scripts/update-copyrights.
14552         * intl/plural.c: Regenerated.
14553         * locale/programs/charmap-kw.h: Likewise.
14554         * locale/programs/locfile-kw.h: Likewise.
14556 2016-01-02  Helge Deller  <deller@gmx.de>
14558         [BZ #19285]
14559         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
14560         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
14561         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
14562         (MADV_xxK_PAGES): Remove.
14564 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
14566         [BZ #15421]
14567         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
14568         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
14569         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
14570         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
14572 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
14574         [BZ #19408]
14575         * sysdeps/unix/sysv/linux/personality.c: New file.
14576         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
14577         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
14578         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14579         (sysdep_routines): Add personality.
14580         (tests): Add tst-personality.
14581         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14582         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14583         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14584         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14585         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14586         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14587         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14588         Likewise.
14589         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14590         Likewise.
14591         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14592         Likewise.
14593         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14594         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14595         Likewise.
14597 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
14599         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14600         (PATH_ARM_SYSTYPE): Remove.
14601         (PATH_CPUINFO): Likewise.
14602         (IO_BASE_FOOTBRIDGE): Likewise.
14603         (IO_SHIFT_FOOTBRIDGE): Likewise.
14604         (struct platform): Likewise.
14605         (init_iosys): Remove compatibility code for 2.4 kernels.
14606         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14608 2015-12-29  Florian Weimer  <fweimer@redhat.com>
14610         * malloc/tst-malloc-thread-fail.c: New file.
14611         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14612         (tst-malloc-thread-fail): Link against libpthread.
14614 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
14616         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
14617         (get_parser): New function.
14618         (main): New function.
14620 2015-12-29  Rob Wu  <rob@robwu.nl>
14622         [BZ #19369]
14623         * resolv/res_init.c (__res_vinit): Reset defdname before use.
14625 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
14627         [BZ #19270]
14628         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14630 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
14632         [BZ #15421]
14633         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14635 2015-12-23  Torvald Riegel  <triegel@redhat.com>
14637         [BZ #13690]
14638         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14639         after releasing it.
14640         (__lll_robust_unlock): Likewise.
14641         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14642         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14643         (lll_robust_unlock): Likewise.
14644         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14645         Prevent warnings in callers.
14647 2015-12-23  Florian Weimer  <fweimer@redhat.com>
14649         * malloc/arena.c (list_lock): Update comment.
14651 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14653         * sysdeps/powerpc/hwcapinfo.c: Export symbol
14654         __parse_hwcap_and_convert_at_platform to libc.a.
14656 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14658         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14659         platform and feature support for POWER9.
14660         * sysdeps/powerpc/dl-procinfo.h: Likewise.
14661         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14662         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14663         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14664         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14665         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14666         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14667         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14669 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14671         Harmonize generic stdio-lock support with nptl
14673         This fixes build when _IO_funlockfile is a macro, fixes build where
14674         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14675         stack unwind.
14677         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14678         _IO_release_lock ): Use cleanup attribute on new
14679         _IO_acquire_lock_file variable instead of assuming that
14680         _IO_release_lock will be called.
14681         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14682         _IO_acquire_lock_needs_exceptions_enabled.
14683         (_IO_acquire_lock_clear_flags2): New macro.
14685 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14687         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14689 2015-12-21  Florian Weimer  <fweimer@redhat.com>
14691         [BZ #19182]
14692         * malloc/arena.c (list_lock): Document lock ordering requirements.
14693         (free_list_lock): New lock.
14694         (ptmalloc_lock_all): Comment on free_list_lock.
14695         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14696         (detach_arena): Update comment.  free_list_lock is now needed.
14697         (_int_new_arena): Use free_list_lock around detach_arena call.
14698         Acquire arena lock after list_lock.  Add comment, including FIXME
14699         about incorrect synchronization.
14700         (get_free_list): Switch to free_list_lock.
14701         (reused_arena): Acquire free_list_lock around detach_arena call
14702         and attached threads counter update.  Add two FIXMEs about
14703         incorrect synchronization.
14704         (arena_thread_freeres): Switch to free_list_lock.
14705         * malloc/malloc.c (struct malloc_state): Update comments to
14706         mention free_list_lock.
14708 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
14710         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14711         Remove functions.
14712         (sloww, sloww1): Accept argument to offset quadrant.
14713         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14714         quadrant.
14715         (__sin, __cos): Consolidate common code into new functions.
14716         (reduce_sincos_1, do_sincos_1): New functions.
14717         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14719         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14720         code to new functions.
14721         (reduce_sincos_2, do_sincos_2): New functions.
14722         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14724         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14725         common code for sincos.
14726         (__cos) [!IN_SINCOS]: Likewise.
14727         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14728         New function.
14729         (__sincos): Use it.
14731 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
14733         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14734         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14735         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14737 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14739         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14740         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14741         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14742         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14743         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14744         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14745         index_Prefer_No_VZEROUPPER): New feature.
14746         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14747         Prefer_No_VZEROUPPER for Knights Landing.
14749 015-12-18  Torvald Riegel  <triegel@redhat.com>
14751         * math/atest-exp2.c (mp_exp_m1): Remove.
14753 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14755         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14756         syscalls.
14757         (__SYSCALL0): New macro.
14758         (__SYSCALL1): Likewise.
14759         (__SYSCALL2): Likewise.
14760         (__SYSCALL3): Likewise.
14761         (__SYSCALL4): Likewise.
14762         (__SYSCALL5): Likewise.
14763         (__SYSCALL6): Likewise.
14764         (__SYSCALL_CONCAT_X): Likewise.
14765         (__SYSCALL_CONCAT): Likewise.
14766         (__SYSCALL_DIST): Likewise.
14767         (__SYSCALL_CALL): Likewise.
14769 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
14771         [BZ #19363]
14772         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14774 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14776         [BZ #19375]
14777         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14778         negative subnormals.
14780 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
14782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14783         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14784         (INTERNAL_SYSCALL_NCS): Use it.
14785         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14787 2015-12-16  Florian Weimer  <fweimer@redhat.com>
14789         [BZ #19243]
14790         * malloc/arena.c (get_free_list): Remove assert and adjust
14791         reference count handling.  Add comment about reused_arena
14792         interaction.
14793         (reused_arena): Add comments abount get_free_list interaction.
14794         * malloc/tst-malloc-thread-exit.c: New file.
14795         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14796         (tst-malloc-thread-exit): Link against libpthread.
14798 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14800         [BZ #19367]
14801         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14802         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14803         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14804         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14805         (index_Prefer_MAP_32BIT_EXEC): Likewise.
14807 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14809         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14810         Silvermont optimizations for Knights Landing.
14812 2015-12-15  Andreas Schwab  <schwab@suse.de>
14814         [BZ #17197]
14815         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14816         immediately after emitting SI.
14817         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14818         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14819         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14820         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14821         * iconvdata/bug-iconv10.c: New file.
14822         * iconvdata/Makefile (tests): Add bug-iconv10.
14823         ($(objpfx)bug-iconv10.out): New rule.
14825 2015-12-15  Florian Weimer  <fweimer@redhat.com>
14827         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14828         aliasing violation.
14830 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
14832         [BZ #18472]
14833         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14834         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14835         conditionals for them.
14836         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14837         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14838         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14839         sys/kdaemon.h.
14840         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14841         compat-only syscall, obsoleted in glibc 2.23.
14842         (create_module): Likewise.
14843         (get_kernel_syms): Likewise.
14844         (query_module): Likewise.
14845         (uselib): Likewise.
14846         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14848 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
14850         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14851         <linux/version.h>.
14852         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14853         conditional code.
14854         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14855         and ioshift_name initialization.
14857 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14859         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14860         Fix indentation.
14862 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14864         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14866 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14868         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14870 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
14871             Jakub Wilk  <jwilk@debian.org>
14873         [BZ #19347]
14874         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14875         to change the group of the device to the tty group.
14877 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
14879         Split large string section; add truncation advice
14880         * manual/examples/strncat.c: Remove.
14881         This example was misleading, as the code would have undefined
14882         behavior if "hello" was longer than SIZE.  Anyway, the manual
14883         shouldn't encourage strncpy+strncat for this sort of thing.
14884         * manual/string.texi (Copying Strings and Arrays): Split into
14885         three sections Copying Strings and Arrays, Concatenating Strings,
14886         and Truncating Strings, as this section was way too long.  All
14887         cross-referenced changed.  Add advice about string-truncation
14888         functions.  Remove misleading strncat example.
14890 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
14892         * manual/nss.texi (NSS Modules Interface): Document
14893         NSS_STATUS_NOTFOUND and SUCCESS.
14895 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14897         [BZ 18568]
14898         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14899         201505L, for Unicode 8.
14901 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
14903         * locale/C-translit.h: Regenerate.
14905 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14907         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14908         and U+0153.
14910 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
14912         [BZ #19351]
14913         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14914         expanding log(1+z), compare z rather than its square with epsilon
14915         to determine when to avoid evaluating the expansion.
14917         [BZ #19350]
14918         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14919         Increase overflow threshold.
14921         [BZ #19349]
14922         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14923         when small.
14925         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14926         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14927         New macro.
14928         [__LINUX_KERNEL_VERSION >= 0x040300]
14929         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14930         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14931         Likewise.
14932         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14933         Likewise.
14934         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14935         Likewise.
14936         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14937         Likewise.
14938         [__LINUX_KERNEL_VERSION >= 0x040300]
14939         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14940         [__LINUX_KERNEL_VERSION >= 0x040300]
14941         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14942         [__LINUX_KERNEL_VERSION >= 0x040300]
14943         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14944         [__LINUX_KERNEL_VERSION >= 0x040300]
14945         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14946         [__LINUX_KERNEL_VERSION >= 0x040300]
14947         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14948         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14949         Likewise.
14950         [__LINUX_KERNEL_VERSION >= 0x040300]
14951         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14952         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14953         Likewise.
14954         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14955         Likewise.
14956         [__LINUX_KERNEL_VERSION >= 0x040300]
14957         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14958         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14959         Likewise.
14960         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14961         Likewise.
14962         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14963         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14964         Likewise.
14965         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14966         Likewise.
14967         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14968         Likewise.
14969         [__LINUX_KERNEL_VERSION >= 0x040300]
14970         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14971         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14972         Likewise.
14973         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14974         Likewise.
14975         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14976         Likewise.
14977         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14978         Likewise.
14979         [__LINUX_KERNEL_VERSION >= 0x040300]
14980         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14981         [__LINUX_KERNEL_VERSION >= 0x040300]
14982         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14983         [__LINUX_KERNEL_VERSION >= 0x040300]
14984         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14985         [__LINUX_KERNEL_VERSION >= 0x040300]
14986         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14987         [__LINUX_KERNEL_VERSION >= 0x040300]
14988         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14989         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14990         Likewise.
14991         [__LINUX_KERNEL_VERSION >= 0x040300]
14992         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14993         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14994         Likewise.
14995         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14996         Likewise.
14997         [__LINUX_KERNEL_VERSION >= 0x040300]
14998         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14999         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15000         Likewise.
15001         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15002         Likewise.
15003         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15004         (__ASSUME_SOCKET_SYSCALL): Likewise.
15005         (__ASSUME_BIND_SYSCALL): Likewise.
15006         (__ASSUME_CONNECT_SYSCALL): Likewise.
15007         (__ASSUME_LISTEN_SYSCALL): Likewise.
15008         (__ASSUME_ACCEPT_SYSCALL): Likewise.
15009         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15010         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15011         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15012         (__ASSUME_SEND_SYSCALL): Likewise.
15013         (__ASSUME_SENDTO_SYSCALL): Likewise.
15014         (__ASSUME_RECV_SYSCALL): Likewise.
15015         (__ASSUME_RECVFROM_SYSCALL): Likewise.
15016         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
15017         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15018         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15019         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15020         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15021         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15022         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
15023         Likewise.
15024         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
15025         Likewise.
15026         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15027         Likewise.
15028         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15029         Likewise.
15030         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15031         Likewise.
15032         [__LINUX_KERNEL_VERSION >= 0x020625]
15033         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15034         [__LINUX_KERNEL_VERSION >= 0x020625]
15035         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15036         [__LINUX_KERNEL_VERSION >= 0x020625]
15037         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15038         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15039         Likewise.
15040         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15041         Likewise.
15042         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15043         Likewise.
15044         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15045         Likewise.
15046         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15047         Likewise.
15048         [__LINUX_KERNEL_VERSION >= 0x020625]
15049         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15050         [__LINUX_KERNEL_VERSION >= 0x020625]
15051         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15052         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15053         Likewise.
15054         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15055         Likewise.
15057 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
15059         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15060         record the current if the current ABI and CPU support the FP64
15061         extension.
15062         (has-modd-spreg): Define to record the current if the current ABI and
15063         CPU support 32-bit floating point values in odd FPU registers.
15064         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15065         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15066         $(has-modd-spreg) equals yes.
15067         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15068         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15069         $(has-modd-spreg) equal yes.
15071 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
15073         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15074         basename.
15076 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
15078         * benchtests/Makefile (bench-math): Move ffs and ffsll...
15079         (bench-string): ... here.
15080         (bench): Add bench-string.
15081         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15082         to *-benchset to reflect what they are.
15083         (benchset): Adjust.
15085         * benchtests/sincos-inputs: Add inputs from sin-inputs and
15086         cos-inputs.
15088 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
15090         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15091         __attribute__ ((__simd__)) for vector math function declarations.
15093 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15095         Fix typo in strncat, wcsncat manual entries
15096         * manual/string.texi (Copying and Concatenation): Fix typos in
15097         sample implementations of strncat and wcsncat, by having them use
15098         the old value of the destination length, not the new one.
15100 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
15102         [BZ #16961]
15103         [BZ #16962]
15104         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15105         string on the stack for strtod.
15106         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15107         a string on the stack for strtof.
15108         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15109         constructing a string on the stack for strtold.
15110         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15111         __strtold_nan to GLIBC_PRIVATE.
15112         * math/test-nan-overflow.c: New file.
15113         * math/test-nan-payload.c: Likewise.
15114         * math/Makefile (tests): Add test-nan-overflow and
15115         test-nan-payload.
15117 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15119         Consistency about byte vs character in string.texi
15120         * manual/string.texi (String and Array Utilities):
15121         Distinguish more carefully among bytes, multibyte characters,
15122         and wide characters.  Use "byte" when talking about C 'char',
15123         to distinguish it more clearly from multibyte characters.
15124         Say "wide character" or "multibyte character" instead of
15125         "character", when a wide or multibyte character is intended.
15126         Similarly for "multibyte string" versus "string".
15127         Define these terms more carefully.
15129 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
15131         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15132         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15133         Likewise.
15134         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15135         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15136         * sysdeps/sh/math_private.h: New file.
15137         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15138         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15139         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15140         long double function name.
15141         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15142         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15143         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15144         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15145         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15147         Remove __finitel, __isinfl, and __isnanl.
15148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15149         Likewise.
15150         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15152         Remove __finitel.
15153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15154         Likewise.
15155         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15157 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
15159         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15160         installed libmvec_nonshared.a.
15162 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15164         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15165         (sysdep_routines): Likewise.
15166         (sysdep-rtld-routines): Likewise.
15167         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15168         [$(subdir) = nptl](tests-static): test-get_hwcap-static
15169         * sysdeps/powerpc/Versions: Added new
15170         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15171         * sysdeps/powerpc/hwcapinfo.c: New file.
15172         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15173         and parse hwcap, hwcap2 and platform number information.
15174         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
15175         to store HWCAP+HWCAP2 and platform number.
15176         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15177         for HWCAP+HWCAP2 and platform number in the TCB.
15178         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
15179         the HWCAP, HWCAP2 and platform number in the TCB.
15180         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15181         (TLS_INIT_TP): Included calls to add the hwcap and
15182         at_platform values in the TCB in TP initialization.
15183         (TLS_DEFINE_INIT_TP): Likewise.
15184         (THREAD_GET_HWCAP): New macro.
15185         (THREAD_SET_HWCAP): Likewise.
15186         (THREAD_GET_AT_PLATFORM): Likewise.
15187         (THREAD_SET_AT_PLATFORM): Likewise.
15188         * sysdeps/powerpc/powerpc32/dl-machine.h:
15189         (dl_platform_init): New function that calls
15190         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15191         powerpc32.
15192         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15193         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
15194         this functionality, static linking case.
15195         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
15196         linking case.
15197         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15198         __parse_hwcap_and_convert_at_platform for the static linking case.
15199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15200         Included the new __parse_hwcap_and_convert_at_platform symbol in the
15201         ABI list for GLIBC 2.23.
15202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15203         Likewise.
15204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15205         Likewise.
15207 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
15209         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15210         * configure: Regenerate.
15211         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15212         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
15214 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
15216         * iconvdata/ibm930.c: Add comment explaining encoding uses.
15217         * iconvdata/ibm933.c: Likewise.
15218         * iconvdata/ibm935.c: Likewise.
15219         * iconvdata/ibm937.c: Likewise.
15220         * iconvdata/ibm939.c: Likewise.
15222 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15224         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15225         pthread_join.
15226         * nptl/tst-cancel21.c (tf): Likewise.
15228 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
15230         [BZ #19313]
15231         * bits/typesizes.h (__CPU_MASK_TYPE): New.
15232         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15233         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15234         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15235         Likewise.
15236         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15237         Likewise.
15238         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15239         Likewise.
15240         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15241         Likewise.
15242         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15243         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15244         unsigned long int with __CPU_MASK_TYPE.
15246 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15248         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15250 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
15252         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15253         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15254         t512.x.
15255         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15257 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
15259         [BZ #19214]
15260         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15261         argument to return extended model.  Update family and model
15262         with extended family and model when family == 0x0f.
15263         (init_cpu_features): Updated.
15265 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15267         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15268         signed off_t, so 32bit bigger than 2GiB values are fine actually.
15270         * sysdeps/mach/hurd/mmap64.c: New file.
15272 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
15274         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15275         rights for its main user thread in NEWTASK.
15277 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
15279         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15280         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15282 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
15284         [BZ #14259]
15285         * Makeconfig: Rename localedir to complocaledir.
15286         Rename inst_localedir to inst_complocaledir.
15287         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15288         * config.make.in: Use complocaledir and libc_cv_complocaledir.
15289         * configure.ac: Use libc_cv_complocaledir.
15290         * configure: Regenerate.
15291         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15292         -DCOMPLOCALEDIR.
15293         * locale/findlocale.c: Use COMPLOCALEDIR.
15294         * locale/loadarchive.c: Likewise.
15295         * locale/programs/locale.c: Likewise.
15296         * locale/programs/localedef.c: Likewise.
15297         * locale/programs/locarchive.c: Likewise.
15298         * localedata/Makefile: Use inst_complocaledir.
15299         * sysdeps/gnu/configure: Regenerate.
15300         * sysdeps/hppa/configure: Regenerate.
15301         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15302         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15304         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15305         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15306         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15307         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15309 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
15311         [BZ #19058]
15312         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15313         AS_NEEDED.
15314         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15315         workaround.
15316         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15317         libmvec-static-only-routines): Added new file.
15318         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15320 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15322         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15323         of interrupted RPC instead of restoring it.
15325         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15326         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15327         libc_hidden_def.
15328         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15329         into initialized data instead of common. Define rtld_hidden_data_def.
15330         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15331         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15332         libc_hidden_def.
15333         (if_freenameindex): Add libc_hidden_weak.
15334         (if_nameindex): Add libc_hidden_weak.
15335         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15336         __open64.
15337         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15338         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15339         * sysdeps/mach/nanosleep.c: Include <time.h>
15340         (__nanosleep): Rename to __libc_nanosleep.
15341         (__nanosleep): Add weak_alias.
15342         (nanosleep): Update alias.
15344 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
15346         * stdlib/strtod_nan.c: New file.
15347         * stdlib/strtod_nan_double.h: Likewise.
15348         * stdlib/strtod_nan_float.h: Likewise.
15349         * stdlib/strtod_nan_main.c: Likewise.
15350         * stdlib/strtod_nan_narrow.h: Likewise.
15351         * stdlib/strtod_nan_wide.h: Likewise.
15352         * stdlib/strtof_nan.c: Likewise.
15353         * stdlib/strtold_nan.c: Likewise.
15354         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15355         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15356         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15357         * wcsmbs/wcstod_nan.c: Likewise.
15358         * wcsmbs/wcstof_nan.c: Likewise.
15359         * wcsmbs/wcstold_nan.c: Likewise.
15360         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15361         strtold_nan.
15362         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15363         wcstof_nan.
15364         * include/stdlib.h (__strtof_nan): Declare and use
15365         libc_hidden_proto.
15366         (__strtod_nan): Likewise.
15367         (__strtold_nan): Likewise.
15368         (__wcstof_nan): Likewise.
15369         (__wcstod_nan): Likewise.
15370         (__wcstold_nan): Likewise.
15371         * include/wchar.h (____wcstoull_l_internal): Declare.
15372         * stdlib/strtod_l.c: Do not include <ieee754.h>.
15373         (____strtoull_l_internal): Remove declaration.
15374         (STRTOF_NAN): Define macro.
15375         (SET_MANTISSA): Remove macro.
15376         (STRTOULL): Likewise.
15377         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15378         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15379         (STRTOF_NAN): Define macro.
15380         (SET_MANTISSA): Remove macro.
15381         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15382         (SET_MANTISSA): Remove macro.
15383         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15384         macro.
15385         (SET_MANTISSA): Remove macro.
15386         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15387         macro.
15388         (SET_MANTISSA): Remove macro.
15389         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15390         (SET_MANTISSA): Remove macro.
15391         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15392         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15393         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15395         [BZ #19266]
15396         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15397         upper case and lower case letters inside NAN(), not using TOLOWER.
15398         * stdlib/tst-strtod-nan-locale-main.c: New file.
15399         * stdlib/tst-strtod-nan-locale.c: Likewise.
15400         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15401         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15402         Depend on $(gen-locales).
15403         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15404         * wcsmbs/tst-wcstod-nan-locale.c: New file.
15405         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15406         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15407         Depend on $(gen-locales).
15408         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15410 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
15412         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15414         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15416         __finitel, __isinfl, and __isnanl.
15417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15418         Likewise.
15419         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15421         __finitel.
15422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15423         Likewise.
15424         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15426 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15428         * malloc/memusage.c (me): Remove redundant getenv call.
15430 2015-10-24  Florian Weimer  <fweimer@redhat.com>
15432         [BZ #19143]
15433         [BZ #19164]
15434         * nptl/check-cpuset.h: Remove.
15435         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15436         Remove CPU set size check.
15437         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15438         Likewise.
15439         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15440         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15441         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15442         (__pthread_setaffinity_new): Remove CPU set size check.
15443         * sysdeps/unix/sysv/linux/sched_setaffinity.c
15444         (__kernel_cpumask_size): Remove.
15445         (__sched_setaffinity_new): Remove CPU set size check.
15446         * manual/threads.texi (Default Thread Attributes): Remove stale
15447         reference to check_cpuset_attr, determine_cpumask_size in comment.
15448         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15449         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
15450         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15451         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15452         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15453         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15454         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15455         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15456         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15457         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15458         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15459         skeleton test file.
15460         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
15461         tst-affinity-pid.
15463 2015-11-24  Florian Weimer  <fweimer@redhat.com>
15465         * scripts/update-abilist.sh: New file.
15466         * Makefile (+subdir_targets): Add subdir_update-all-abi.
15467         * Makerules (update-all-abi-%, update-all-abi)
15468         (subdir_update-all-abi): New targets.
15469         * elf/Makefile (update-all-abi): New target.
15471 2015-11-24  Florian Weimer  <fweimer@redhat.com>
15473         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15474         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15475         (__libc_lock_define_initialized): Use it.
15476         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15477         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15478         * malloc/malloc.c (main_arena): Likewise.
15479         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15480         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15482 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
15484         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15485         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15486         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15487         (PTRACE_O_MASK): Update value.
15488         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15489         New value in enum __ptrace_setoptions.
15490         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15491         (PTRACE_O_MASK): Update value.
15492         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15493         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15494         (PTRACE_O_MASK): Update value.
15495         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15496         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15497         (PTRACE_O_MASK): Update value.
15498         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15499         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15500         (PTRACE_O_MASK): Update value.
15501         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15502         New value in enum __ptrace_setoptions.
15503         (PTRACE_O_MASK): Update value.
15504         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15505         New value in enum __ptrace_setoptions.
15506         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15507         (PTRACE_O_MASK): Update value.
15509         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15510         New macro.
15511         (PACKET_AUXDATA): Likewise.
15512         (PACKET_ORIGDEV): Likewise.
15513         (PACKET_VERSION): Likewise.
15514         (PACKET_HDRLEN): Likewise.
15515         (PACKET_RESERVE): Likewise.
15516         (PACKET_TX_RING): Likewise.
15517         (PACKET_LOSS): Likewise.
15518         (PACKET_VNET_HDR): Likewise.
15519         (PACKET_TX_TIMESTAMP): Likewise.
15520         (PACKET_TIMESTAMP): Likewise.
15521         (PACKET_FANOUT): Likewise.
15522         (PACKET_TX_HAS_OFF): Likewise.
15523         (PACKET_QDISC_BYPASS): Likewise.
15524         (PACKET_ROLLOVER_STATS): Likewise.
15525         (PACKET_FANOUT_DATA): Likewise.
15526         (PACKET_MR_UNICAST): Likewise.
15528         [BZ #19242]
15529         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15530         (TOUPPER): Likewise.
15531         * stdlib/tst-strtol-locale-main.c: New file.
15532         * stdlib/tst-strtol-locale.c: Likewise.
15533         * stdlib/Makefile (tests): Add tst-strtol-locale.
15534         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15535         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15536         Depend on $(gen-locales).
15537         * wcsmbs/tst-wcstol-locale.c: New file.
15538         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15539         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15540         tr_TR.ISO-8859-9.
15541         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
15542         Depend on $(gen-locales).
15544 2015-11-20  Roland McGrath  <roland@hack.frob.com>
15546         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
15547         __glibc_likely instead of __builtin_expect.  After falling back to
15548         dyncode_create in a non-ET_DYN case, use the allocate_code_data
15549         system interface to register the code pages as occupied.
15551 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
15553         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15554         [!ARM_MATH_PRIVATE_H].
15555         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
15556         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15557         [!HPPA_MATH_PRIVATE_H].
15558         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
15559         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
15560         to [!I386_MATH_PRIVATE_H].
15561         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
15562         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
15563         Change guard to [!M68K_MATH_PRIVATE_H].
15564         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
15565         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
15566         guard to [!MICROBLAZE_MATH_PRIVATE_H].
15567         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
15568         macro.
15569         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15570         [!MIPS_MATH_PRIVATE_H].
15571         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
15572         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15573         [!NIO2_MATH_PRIVATE_H].
15574         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
15575         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15576         [!TILE_MATH_PRIVATE_H].
15577         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
15579         [BZ #15421]
15580         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15581         initialize with 0 and define as weak alias of __signgam.
15582         * include/math.h [!_ISOMAC] (__signgam): Declare.
15583         * math/Makefile (libm-calls): Add w_lgamma_compat.
15584         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15585         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15586         test-signgam-ullong-init.
15587         (tests-static): Add test-signgam-uchar-static,
15588         test-signgam-uchar-init-static, test-signgam-uint-static,
15589         test-signgam-uint-init-static, test-signgam-ullong-static and
15590         test-signgam-ullong-init-static.
15591         (CFLAGS-test-signgam-uchar.c): New variable.
15592         (CFLAGS-test-signgam-uchar-init.c): Likewise.
15593         (CFLAGS-test-signgam-uchar-static.c): Likewise.
15594         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15595         (CFLAGS-test-signgam-uint.c): Likewise.
15596         (CFLAGS-test-signgam-uint-init.c): Likewise.
15597         (CFLAGS-test-signgam-uint-static.c): Likewise.
15598         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15599         (CFLAGS-test-signgam-ullong.c): Likewise.
15600         (CFLAGS-test-signgam-ullong-init.c): Likewise.
15601         (CFLAGS-test-signgam-ullong-static.c): Likewise.
15602         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15603         * math/Versions (libm): Add GLIBC_2.23.
15604         * math/lgamma-compat.h: New file.
15605         * math/test-signgam-main.c: Likewise.
15606         * math/test-signgam-uchar-init-static.c: Likewise.
15607         * math/test-signgam-uchar-init.c: Likewise.
15608         * math/test-signgam-uchar-static.c: Likewise.
15609         * math/test-signgam-uchar.c: Likewise.
15610         * math/test-signgam-uint-init-static.c: Likewise.
15611         * math/test-signgam-uint-init.c: Likewise.
15612         * math/test-signgam-uint-static.c: Likewise.
15613         * math/test-signgam-uint.c: Likewise.
15614         * math/test-signgam-ullong-init-static.c: Likewise.
15615         * math/test-signgam-ullong-init.c: Likewise.
15616         * math/test-signgam-ullong-static.c: Likewise.
15617         * math/test-signgam-ullong.c: Likewise.
15618         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15619         wrapper of w_lgamma_main.c.
15620         * math/w_lgamma_compat.c: New file.
15621         * math/w_lgamma_compatf.c: Likewise.
15622         * math/w_lgamma_compatl.c: Likewise.
15623         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
15624         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15625         defining compatibility symbols.
15626         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
15627         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15628         wrapper of w_lgammaf_main.c.
15629         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
15630         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15631         defining compatibility symbols.
15632         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
15633         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15634         wrapper of w_lgammal_main.c.
15635         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
15636         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15637         defining compatibility symbols.
15638         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
15639         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15640         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15641         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
15642         <lgamma-compat.h>.
15643         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
15644         (__ieee754_gamma): Define as alias.
15645         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15646         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
15647         <lgamma-compat.h>.
15648         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
15649         (__ieee754_gammaf): Define as alias.
15650         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15651         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
15652         <lgamma-compat.h>.
15653         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
15654         (__ieee754_gammal): Define as alias.
15655         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15656         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
15657         <math/w_lgamma_compat.c>.
15658         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15659         Define as alias of __lgamma_compat and use in defining lgammal.
15660         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15661         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
15662         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15663         (USE_AS_COMPAT): New macro.
15664         (LGAMMA_OLD_VER): Undefine and redefine.
15665         (lgammal): Do not define here.
15666         (gammal): Only define here if [GAMMA_ALIAS].
15667         * conform/linknamespace.pl (@whitelist): Remove signgam.
15668         * sysdeps/nacl/libm.abilist: Update.
15669         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15670         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15671         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15672         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15673         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15674         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15675         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15676         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15677         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15678         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15679         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15680         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15682         Likewise.
15683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15684         Likewise.
15685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15686         Likewise.
15687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15688         Likewise.
15689         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15690         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15691         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15692         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15693         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15695         Likewise.
15696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15697         Likewise.
15698         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15699         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15700         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15702 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15704         [BZ #16364]
15705         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15706         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15708 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15710         * sysdeps/s390/fpu/bits/mathinline.h:
15711         Use __asm__ [__volatile__] instead of asm [volatile].
15712         * sysdeps/s390/abort-instr.h: Likewise.
15713         * sysdeps/s390/atomic-machine.h: Likewise.
15714         * sysdeps/s390/bits/string.h: Likewise.
15715         * sysdeps/s390/dl-tls.h: Likewise.
15716         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15717         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15718         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15719         * sysdeps/s390/fpu/fesetround.c: Likewise.
15720         * sysdeps/s390/fpu/fpu_control.h: Likewise.
15721         * sysdeps/s390/fpu/s_fma.c: Likewise.
15722         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15723         * sysdeps/s390/memusage.h: Likewise.
15724         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15725         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15726         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15727         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15728         * sysdeps/s390/nptl/tls.h: Likewise.
15729         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15730         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15731         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15732         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15733         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15734         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15735         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15736         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15737         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15738         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15739         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15740         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15741         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15742         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15743         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15744         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15745         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15746         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15747         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15748         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15749         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15750         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15751         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15753 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15754             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15756         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15757         Add lwarx hint, and use macro for acquire instruction.
15758         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15759         Likewise.
15760         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15761         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15762         update to use new atomic macros.
15764 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15766         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15767         (__lll_trylock_elision): Fix setting of adapt_count.
15768         * sysdeps/unix/sysv/linux/powerpc/htm.h
15769         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15770         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15771         (_ABORT_SYSCALL): Renumber, and clarify definition.
15772         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15774 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15776         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15777         after system headers to prevent MIN/MAX redefinition.  Define
15778         HAVE_ALLOCA to preserve builtin alloca usage.
15780 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
15782         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15783         static and don't set or restore rounding.
15784         (__cos)[IN_SINCOS]: Likewise.
15785         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15786         (__sincos): Set and restore rounding mode.  Remove check for infinite
15787         or NaN input.
15789         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15791         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15792         as used.
15794 2015-11-16  Florian Weimer  <fweimer@redhat.com>
15796         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15798 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15800         * config.make.in (have-glob-dat-reloc): New.
15801         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
15802         target supports GLOB_DAT relocaton. AC_SUBST.
15803         * configure: Regenerated.
15804         * elf/Makefile (tests): Add tst-prelink.
15805         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15806         (tst-prelink-ENV): New.
15807         ($(objpfx)tst-prelink-conflict.out): Likewise.
15808         ($(objpfx)tst-prelink-cmp.out): Likewise.
15809         * sysdeps/x86/tst-prelink.c: Moved to ...
15810         * elf/tst-prelink.c: Here.
15811         * sysdeps/x86/tst-prelink.exp: Moved to ...
15812         * elf/tst-prelink.exp: Here.
15813         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15814         (tst-prelink-ENV): Removed.
15815         ($(objpfx)tst-prelink-conflict.out): Likewise.
15816         ($(objpfx)tst-prelink-cmp.out): Likewise.
15817         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15819 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
15821         [BZ #14551]
15822         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15823         (__mpn_construct_long_double): If high part overflows to infinity,
15824         set errno and recompute overflowed result of the correct sign.
15825         * sysdeps/ieee754/ldbl-128ibm/Makefile
15826         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15827         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15828         $(libm).
15829         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15831 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
15833         [BZ #15479]
15834         [BZ #19238]
15835         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15836         floating-point state after first operation on input.  Restore full
15837         state rather than just rounding mode.
15838         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15839         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15840         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15842         [BZ #19235]
15843         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15844         add 0.5 to integer arguments.
15845         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15846         Likewise.
15847         (.LC2): New object.
15849 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
15851         * scripts/pylintrc (reports): Set to no.
15853 2015-11-10  Roland McGrath  <roland@hack.frob.com>
15855         * elf/dl-load.c (open_verify): Take new argument FD.
15856         Skip __open call if passed FD is not -1.
15857         (_dl_map_object, open_path): Update callers.
15858         * elf/dl-sysdep-open.h: New file.
15859         * elf/dl-load.c: Include it.
15860         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15861         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15862         * sysdeps/nacl/dl-sysdep-open.h: New file.
15863         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15864         from libc to rtld.
15866 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15868         [BZ #19228]
15869         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15870         and restore full floating-point state.
15871         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15872         Likewise.
15873         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15874         Likewise.
15875         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15876         Likewise.
15877         * math/test-nearbyint-except-2.c: New file.
15878         * math/Makefile (tests): Add test-nearbyint-except-2.
15880 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
15882         [BZ #19178]
15883         * sysdeps/x86/Makefile (tests): Add tst-prelink.
15884         (tst-prelink-ENV): New.
15885         ($(objpfx)tst-prelink-conflict.out): Likewise.
15886         ($(objpfx)tst-prelink-cmp.out): Likewise.
15887         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15888         * sysdeps/x86/tst-prelink.c: New file.
15889         * sysdeps/x86/tst-prelink.exp: Likewise.
15891 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15893         * math/auto-libm-test-in: Add another test of pow.
15894         * math/auto-libm-test-out: Regenerated.
15895         * math/libm-test.inc (pow_test_data): Add another test.
15897 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15899         [BZ #19219]
15900         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15901         weak_alias to nearbyintl.
15903 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15905         * sysdeps/aarch64/bits/string.h: New file.
15906         (_STRING_ARCH_unaligned): Define.
15908 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15910         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15911         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15912         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15913         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15916 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
15918         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15919         for original name of the DSO.  Add it to the name list of the DSO
15920         if it is actually given.
15921         (_dl_map_object): Keep track of whether an audit module rewrote
15922         the file name.  If yes, pass the original name to
15923         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
15924         debugging is enabled, log the change of the file name.
15925         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15926         _dl_map_object_from_fd.
15927         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15928         * elf/tst-audit11.c: New file
15929         * elf/tst-auditmod11.c: New file.
15930         * elf/tst-audit11mod1.c: New file.
15931         * elf/tst-audit11mod2.c: New file.
15932         * elf/tst-audit11mod2.map: New file.
15933         * elf/tst-audit12.c: New file
15934         * elf/tst-auditmod12.c: New file.
15935         * elf/tst-audit12mod1.c: New file.
15936         * elf/tst-audit12mod2.c: New file.
15937         * elf/tst-audit12mod2.map: New file.
15938         * elf/tst-audit12mod3.c: New file.
15940 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15942         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15943         Don't create weak aliases,
15944         because versioned symbols are created later.
15945         * sysdeps/s390/s390-32/setjmp.S
15946         (setjmp, _setjmp): Remove weak and rename to an unique name
15947         in SHARED case due to existing versioned symbols.
15948         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15949         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15950         (getcontext): Create weak alias only in non SHARED case.
15951         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15953 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15955         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15956         (__ASSUME_*_SYSCALL) Define new macros.
15957         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15958         Remove socketcall syscalls.
15959         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15960         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15961         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15962         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15963         * sysdeps/unix/sysv/linux/send.c (__libc_send):
15964         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15966 2015-11-09  Florian Weimer  <fweimer@redhat.com>
15968         [BZ #12926]
15969         Terminate process on invalid netlink response.
15970         * sysdeps/unix/sysv/linux/netlinkaccess.h
15971         (__netlink_assert_response): Declare.
15972         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15973         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15974         (sysdep_routines): Add netlink_assert_response.
15975         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15976         __netlink_assert_response.
15977         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15978         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15979         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15980         __netlink_assert_response.
15982 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15984         [BZ #19178]
15985         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15986         (RTYPE_CLASS_PLT): Likewise.
15987         (RTYPE_CLASS_COPY): Likewise.
15988         (RTYPE_CLASS_TLS): Likewise.
15989         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15990         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
15991         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15992         DL_DEBUG_PRELINK.
15994 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
15996         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15997         calls with argument -0.5.
15998         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
16000         * configure.ac (libc_cv_z_nodelete): Remove configure test.
16001         (libc_cv_z_nodlopen): Likewise.
16002         (libc_cv_z_initfirst): Likewise.
16003         * configure: Regenerated.
16005 2015-11-06  Florian Weimer  <fweimer@redhat.com>
16007         Simplify abilist format to be line-based.
16008         * scripts/abilist.awk: Collect descriptors in the descs variable.
16009         (emit): Write descs variable and sort it
16010         externally, with sort.
16011         * sysdeps/**/*.abilist: Convert to new format.
16013 2015-11-06  Mark Wielaard  <mjw@redhat.com>
16015         [BZ #11460]
16016         * io/Makefile (routines): Add fts64.
16017         (tests): Add tst-fts and tst-fts-lfs.
16018         (CFLAGS-fts64.c): New.
16019         * io/Versions (GLIBC_2.23): New.
16020         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
16021         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
16022         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
16023         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
16024         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
16025         (FTSENT64): Likewise.
16026         (fts64_children): Likewise.
16027         (fts64_close): Likewise.
16028         (fts64_open): Likewise.
16029         (fts64_read): Likewise.
16030         (fts64_set): Likewise.
16031         * io/fts64.c: New file.
16032         * io/tst-fts.c: New test.
16033         * io/tst-fts-lfs.c: Likewise.
16034         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16035         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16036         fts64_set.
16037         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16038         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16039         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16040         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16041         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16042         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16043         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16044         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16045         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16046         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16047         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16048         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16049         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16051         Likewise.
16052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16053         Likewise.
16054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16056         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16057         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16058         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16059         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16060         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16063         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16064         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16065         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16066         * sysdeps/wordsize-64/fts.c: New file.
16067         * sysdeps/wordsize-64/fts64.c: Likewise.
16068         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16069         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16070         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16071         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16073 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16075         * math/libm-test.inc (NON_FINITE): New macro.
16076         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16077         * math/gen-libm-test.pl (show_exceptions): Add argument
16078         $non_finite.
16079         (parse_args): Update call to show_exceptions.
16080         * math/test-math-finite.h: New file.
16081         * math/test-math-no-finite.h: Likewise.
16082         * math/test-double-finite.c: Likewise.
16083         * math/test-float-finite.c: Likewise.
16084         * math/test-ldouble-finite.c: Likewise.
16085         * math/test-double.c: Include "test-math-no-finite.h".
16086         * math/test-float.c: Include "test-math-no-finite.h".
16087         * math/test-ldouble.c: Include "test-math-no-finite.h".
16088         * math/test-math-inline.h (TEST_FINITE): New macro.
16089         * math/test-math-vector.h (TEST_FINITE): Likewise.
16090         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16091         (libm-tests): Add test-float-finite and test-double-finite.
16092         ($(objpfx)test-float-finite.o): New dependency on
16093         $(objpfx)libm-test.stmp.
16094         ($(objpfx)test-double-finite.o): Likewise.
16095         ($(objpfx)test-ldouble-finite.o): Likewise.
16096         (libm-test-no-inline-cflags): New variable.
16097         (libm-test-finite-cflags): Likewise.
16098         (CFLAGS-test-float-finite.c): Likewise.
16099         (CFLAGS-test-double-finite.c): Likewise.
16100         (CFLAGS-test-ldouble-finite.c): Likewise.
16101         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16102         (CFLAGS-test-double.c): Likewise.
16103         (CFLAGS-test-ldouble.c): Likewise.
16105 2015-11-05  Roland McGrath  <roland@hack.frob.com>
16107         * io/fcntl.c (__fcntl): Add ... to prototype.
16108         * misc/ioctl.c (__ioctl): Likewise.
16109         * misc/syscall.c (syscall): Likewise.
16111 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16113         * scripts/list-fixed-bugs.py: New file.
16115         [BZ #19213]
16116         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16117         returned for argument 1.
16118         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16119         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16120         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16121         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16122         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16123         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16125         [BZ #19211]
16126         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16127         __USE_XOPEN], not if [!__USE_ISOC99].
16128         (lgammaf): Likewise.
16129         (lgammal): Likewise.
16130         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16131         (gammaf): Likewise.
16132         (gammal): Likewise.
16133         * math/test-signgam-finite-c11.c: New file.
16134         * math/test-signgam-finite-c99.c: Likewise.
16135         * math/test-signgam-finite.c: Likewise.
16136         * math/Makefile (tests): Add test-signgam-finite,
16137         test-signgam-finite-c99 and test-signgam-finite-c11.
16138         (CFLAGS-test-signgam-finite.c): New variable.
16139         (CFLAGS-test-signgam-finite-c99.c): Likewise.
16140         (CFLAGS-test-signgam-finite-c11.c): Likewise.
16142         [BZ #19212]
16143         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16144         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16145         500].
16146         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16147         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16148         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16149         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16150         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16151         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16152         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16153         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16154         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16155         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16157         [BZ #19209]
16158         * math/bits/math-finite.h (ldexp): Remove declaration.
16159         (ldexpf): Likewise.
16160         (ldexpl): Likewise.
16162         [BZ #19205]
16163         * math/bits/math-finite.h (acosf): Condition declaration on
16164         [__USE_ISOC99].
16165         (acosl): Likewise.
16166         (acoshf): Likewise.
16167         (acoshl): Likewise.
16168         (asinf): Likewise.
16169         (asinl): Likewise.
16170         (atan2f): Likewise.
16171         (atan2l): Likewise.
16172         (atanhf): Likewise.
16173         (atanhl): Likewise.
16174         (coshf): Likewise.
16175         (coshl): Likewise.
16176         (expf): Likewise.
16177         (expl): Likewise.
16178         (fmodf): Likewise.
16179         (fmodl): Likewise.
16180         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16181         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16182         (j0l): Likewise.
16183         (y0f): Likewise.
16184         (y0l): Likewise.
16185         (j1f): Likewise.
16186         (j1l): Likewise.
16187         (y1f): Likewise.
16188         (y1l): Likewise.
16189         (jnf): Likewise.
16190         (jnl): Likewise.
16191         (ynf): Likewise.
16192         (ynl): Likewise.
16193         (lgammaf_r): Condition declaration on [__USE_ISOC99].
16194         (lgammal_r): Likewise.
16195         (__lgamma_r_finite): New declaration.
16196         (__lgammaf_r_finite): Likewise.
16197         (__lgammal_r_finite): Likewise.
16198         (lgamma): Use __lgamma_r_finite.
16199         (lgammaf): Condition definition on [__USE_ISOC99].  Use
16200         __lgammaf_r_finite.
16201         (lgammal): Condition definition on [__USE_ISOC99].  Use
16202         __lgammal_r_finite.
16203         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
16204         __lgamma_r_finite.
16205         (gammaf): Condition definition on [__USE_ISOC99].  Use
16206         __lgammaf_r_finite.
16207         (gammal): Condition definition on [__USE_ISOC99].  Use
16208         __lgammal_r_finite.
16209         (logf): Condition declaration on [__USE_ISOC99].
16210         (logl): Likewise.
16211         (log10f): Likewise.
16212         (log10l): Likewise.
16213         (ldexpf): Likewise.
16214         (ldexpl): Likewise.
16215         (powf): Likewise.
16216         (powl): Likewise.
16217         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16218         __USE_ISOC99].
16219         (remainderf): Condition declaration on [__USE_ISOC99].
16220         (remainderl): Likewise.
16221         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16222         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16223         (scalbl): Likewise.
16224         (sinhf): Condition declaration on [__USE_ISOC99].
16225         (sinhl): Likewise.
16226         (sqrtf): Likewise.
16227         (sqrtl): Likewise.
16229 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16231         * sysdeps/arm/atomic-machine.h
16232         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16233         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16234         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16235         Remove conditional code.
16236         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16237         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16238         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16239         Change conditional to [__ASSEMBLER__].
16240         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16241         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16242         [!__ASSEMBLER__].
16243         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16244         code.
16245         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16246         conditional macro definitions.
16247         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16248         (__arch_compare_and_exchange_val_16_acq): Likewise.
16249         (__arch_compare_and_exchange_val_32_acq): Likewise.
16250         (atomic_exchange_and_add): Likewise.
16251         (atomic_add): Likewise.
16252         (atomic_add_negative): Likewise.
16253         (atomic_add_zero): Likewise.
16254         (atomic_bit_set): Likewise.
16255         (atomic_bit_test_set): Likewise.
16256         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16257         code unconditional.
16258         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16260         * math/test-math-errno.h: New file.
16261         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16262         empty.
16263         (TEST_ERRNO): New macro.
16264         (TEST_EXCEPTIONS): Likewise.
16265         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16266         (TEST_EXCEPTIONS): Likewise.
16267         * math/test-math-vector.h (TEST_ERRNO): Likewise.
16268         * math/test-double.c: Include "test-math-errno.h".
16269         * math/test-float.c: Likewise.
16270         * math/test-ldouble.c: Likewise.
16271         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16272         code unconditional.
16273         (test_exceptions): Only run code if TEST_EXCEPTIONS.
16274         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16275         unconditional.
16276         (test_errno): Only run code if TEST_ERRNO.
16277         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16279 2015-11-04  Florian Weimer  <fweimer@redhat.com>
16281         * nptl/tst-once5.cc: Remove attribution.
16283 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16285         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16286         sqrt, tan, tanh, y0, y1 and yn.
16287         * math/auto-libm-test-out: Regenerated.
16288         * math/libm-test.inc (scalb_test_data): Add more tests.
16289         (scalbn_test_data): Likewise.
16290         (scalbln_test_data): Likewise.
16291         (signbit_test_data): Likewise.
16292         (sin_test_data): Likewise.
16293         (sincos_test_data): Likewise.
16294         (sinh_test_data): Likewise.
16295         (sqrt_test_data): Likewise.
16296         (tan_test_data): Likewise.
16297         (tanh_test_data): Likewise.
16298         (tgamma_test_data): Likewise.
16299         (y0_test_data): Likewise.
16300         (y1_test_data): Likewise.
16301         (yn_test_data): Likewise.
16302         (significand_test_data): Likewise.
16303         * sysdeps/i386/fpu/libm-test-ulps: Update.
16305 2015-11-03  David Kastrup  <dak@gnu.org>
16307         [BZ #18604]
16308         * assert/assert.h (assert): Don't macro-expand failed assertion
16309         expression in error message.
16310         * malloc/malloc.c (assert): Likewise.
16312 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
16314         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16315         test.
16316         * configure: Regenerated.
16318 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
16320         * math/libm-test.inc (modf_test_data): Add more tests.
16321         (nearbyint_test_data): Likewise.
16322         (nextafter_test_data): Likewise.
16323         (nexttoward_test_data): Likewise.
16324         (pow_test_data): Likewise.
16325         (remainder_test_data): Likewise.
16326         (remquo_test_data): Likewise.
16327         (rint_test_data): Likewise.
16329         [BZ #19201]
16330         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16331         Check for zero remainder in case of large exponents and ensure
16332         correct sign of result in that case.
16333         * math/libm-test.inc (remainder_test_data): Add more tests.
16335         [BZ #6799]
16336         * math/s_nextafter.c: Include <errno.h>.
16337         (__nextafter): Set errno on overflow and underflow.
16338         * math/s_nexttowardf.c: Include <errno.h>.
16339         (__nexttowardf): Set errno on overflow and underflow.
16340         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16341         (__nextafterl): Set errno on overflow and underflow.
16342         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16343         (__nexttoward): Set errno on overflow and underflow.
16344         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16345         (__nexttowardf): Set errno on overflow and underflow.
16346         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16347         (__nextafterf): Set errno on overflow and underflow.
16348         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16349         (__nextafterl): Set errno on overflow and underflow.
16350         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16351         (__nexttoward): Set errno on overflow and underflow.
16352         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16353         (__nexttowardf): Set errno on overflow and underflow.
16354         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16355         (__nextafterl): Set errno on overflow and underflow.
16356         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16357         (__nexttoward): Set errno on overflow and underflow.
16358         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16359         (__nexttowardf): Set errno on overflow and underflow.
16360         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16361         (__nexttoward): Set errno on overflow and underflow.
16362         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16363         (__nexttowardf): Set errno on overflow and underflow.
16364         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16365         (__nldbl_nexttowardf): Set errno on overflow and underflow.
16366         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16367         (__nextafterl): Set errno on overflow and underflow.
16368         * math/libm-test.inc (nextafter_test_data): Do not allow errno
16369         setting to be missing on overflow.  Add more tests.
16370         (nexttoward_test_data): Likewise.
16372         * configure.ac (libc_cv_initfini_array): Remove configure test.
16373         * configure: Regenerated.
16375 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
16377         [BZ #19189]
16378         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16379         non-finite argument handle arguments with negative sign.
16381         * math/libm-test.inc (j0_test_data): Do not test sign of zero
16382         result from infinite argument.
16383         (j1_test_data): Likewise.
16384         (jn_test_data): Likewise.
16385         (y0_test_data): Likewise.
16386         (y1_test_data): Likewise.
16387         (yn_test_data): Likewise.
16389         [BZ #16171]
16390         * math/w_remainder.c (drem): Define as weak alias of __remainder.
16391         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16392         * math/w_remainderf.c (dremf): Define as weak alias of
16393         __remainderf.
16394         * math/w_remainderl.c (dreml): Define as weak alias of
16395         __remainderl.
16396         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16397         __remainder.
16398         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16399         __remainderf.
16400         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16401         __remainderl.
16402         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16403         weak alias of remainderl.
16404         * sysdeps/ieee754/ldbl-opt/w_remainder.c
16405         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16406         alias of __remainder.
16407         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16408         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16409         strong alias of __remainderl.
16410         (dreml): Use long_double_symbol.
16411         * math/Makefile (libm-calls): Remove w_drem.
16412         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16413         (CFLAGS-nldbl-drem.c): Remove variable.
16414         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16415         * math/w_drem.c: Remove file.
16416         * math/w_dremf.c: Likewise.
16417         * math/w_dreml.c: Likewise.
16418         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16419         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16420         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16422         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16423         * sysdeps/i386/configure: Regenerated.
16424         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16425         * sysdeps/x86_64/configure: Regenerated.
16427         * configure.ac (libc_cv_asm_protected_directive): Remove configure
16428         test.
16429         (libc_cv_visibility_attribute): Likewise.
16430         (libc_cv_protected_data): Test unconditionally.
16431         (libc_cv_broken_visibility_attribute): Remove configure test.
16432         (libc_cv_have_sdata_section): Test unconditionally.
16433         * configure: Regenerated.
16435         * include/libc-internal.h (libc_max_align_t): Remove typedef.
16436         * include/scratch_buffer.h: Include <stddef.h> instead of
16437         <libc-internal.h>.
16438         (struct scratch_buffer): Use max_align_t instead of
16439         libc_max_align_t.
16441 2015-10-29  Florian Weimer  <fweimer@redhat.com>
16443         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16444         instead of extend_alloca.  Change control flow to avoid a goto.
16445         Remove assert which is trivially always true.
16447 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16449         [BZ #16068]
16450         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16451         (FE_ALL_EXCEPT_X86): New macro.
16452         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16453         FE_ALL_EXCEPT.  Ensure precision control is included in
16454         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16455         handle "denormal operand exception" and clear FZ and DAZ bits.
16456         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16457         (FE_ALL_EXCEPT_X86): New macro.
16458         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16459         FE_ALL_EXCEPT.  Ensure precision control is included in
16460         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16461         handle "denormal operand exception" and clear FZ and DAZ bits.
16462         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16463         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16464         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16465         test-fenv-x87 and test-fenv-sse-2.
16466         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16468         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16469         * math/test-double.h (BUILD_COMPLEX): New macro.
16470         * math/test-float.h (BUILD_COMPLEX): Likewise.
16471         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16473         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16474         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16475         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16477         instead of DBL_DENORM_MIN in comment.
16478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16479         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16480         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16481         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16482         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16483         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16485 2015-10-28  Florian Weimer  <fweimer@redhat.com>
16487         [BZ# 19048]
16488         * malloc/malloc.c (struct malloc_state): Update comment.  Add
16489         attached_threads member.
16490         (main_arena): Initialize attached_threads.
16491         * malloc/arena.c (list_lock): Update comment.
16492         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16493         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16494         (deattach_arena): New function.
16495         (_int_new_arena): Initialize arena reference count and deattach
16496         replaced arena.
16497         (get_free_list, reused_arena): Update reference count and deattach
16498         replaced arena.
16499         (arena_thread_freeres): Update arena reference count and only put
16500         unreferenced arenas on the free list.
16502 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16504         [BZ #19181]
16505         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16506         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16507         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16508         * math/test-fenv-clear-main.c: New file.
16509         * math/test-fenv-clear.c: Likewise.
16510         * math/Makefile (tests): Add test-fenv-clear.
16511         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16512         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16513         test-fenv-clear-sse.
16514         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16516         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16517         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16518         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16520 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16522         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16523         static libc.
16525 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16527         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16528         test.
16529         * sysdeps/i386/configure: Regenerated.
16530         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16531         test.
16532         * sysdeps/x86_64/configure: Regenerated.
16533         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16535         memset-avx2 unconditionally instead of conditionally on
16536         [$(config-cflags-avx2) = yes].
16537         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16538         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16539         unconditional.
16540         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
16541         * sysdeps/x86_64/multiarch/memset_chk.S
16542         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
16543         to [IS_IN (libc) && SHARED].
16545 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16547         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
16548         configure test.
16549         * sysdeps/arm/configure: Regenerated.
16550         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
16551         Define variable if not already defined.
16553         [BZ #17404]
16554         * sysdeps/mips/atomic-machine.h
16555         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
16556         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
16557         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16559         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
16560         unconditional.
16561         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
16562         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16563         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
16564         unconditional.
16565         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16566         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
16567         unconditional.
16568         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16569         * stdlib/setenv.c
16570         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
16571         code unconditional.
16572         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
16573         Remove conditional code.
16574         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
16575         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
16576         unconditional.
16577         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16578         code.
16579         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16580         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16581         unconditional.
16582         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16583         code.
16584         * sysdeps/ieee754/ldbl-128/k_tanl.c
16585         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16586         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16587         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16588         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16589         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16590         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16591         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16592         unconditional.
16593         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16594         code.
16595         * sysdeps/ieee754/ldbl-96/k_tanl.c
16596         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16597         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16599         * nptl/tst-initializers1-c11.c: New file.
16600         * nptl/tst-initializers1-gnu11.c: Likewise.
16601         * nptl/Makefile (tests): Add these new tests.
16602         (CFLAGS-tst-initializers1-c11.c): New variable.
16603         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16605         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16606         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16607         instead of -std=gnu99.
16608         * configure.ac (systemtap): Test with -std=gnu11 instead of
16609         -std=gnu99.
16610         * configure: Regenerated.
16611         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16612         in compilation command in comment.
16614         * sysdeps/nptl/configure.ac: Remove file.
16615         * sysdeps/nptl/configure: Remove generated file.
16616         * configure.ac (libc_cv_forced_unwind): Do not substitute.
16617         * configure: Regenerated.
16618         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16619         * config.make.in (have-forced-unwind): Remove variable.
16620         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16621         unconditional.
16622         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16623         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16624         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16625         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16626         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16627         unconditional.
16629 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16631         [BZ #19174]
16632         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16633         .skip_lock_out_of_tbegin_retries.
16634         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16635         (__lll_lock_elision): Likewise, and respect a value of
16636         try_tbegin <= 0.
16638 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16640         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16641         statement.
16643 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16645         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16646         variable.
16647         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16648         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16650         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16651         of -std=c1x -D_ISOC11_SOURCE.
16653         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16654         * configure: Regenerated.
16655         * manual/install.texi (Tools for Compilation): Document
16656         requirement for GCC 4.7 or later.
16657         * INSTALL: Regenerated.
16659 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
16661         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16662         on CNT to a conditional jump to 'puntdata'.
16664 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16666         * configure.ac (libc_cv_gcc___thread): Remove configure test.
16667         (libc_cv_gcc_tls_model_attr): Likewise.
16668         * configure: Regenerated.
16670         * configure.ac (libc_cv_need_minus_P): Remove configure test.
16671         * configure: Regenerated.
16672         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16674 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
16676         * configure.ac (old_glibc_headers): Remove configure test.
16677         * configure: Regenerated.
16678         * config.make.in (old-glibc-headers): Remove variable.
16679         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16680         (install): Remove dependency on remove-old-headers.
16681         (headers2_0): Remove variable.
16682         (remove-old-headers): Remove rule.
16684         * configure.ac (libc_cv_dot_text): Remove configure test.
16685         (libc_cv_asm_set_directive): Use .text instead of
16686         ${libc_cv_dot_text} in configure test.
16687         * configure: Regenerated.
16689 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16691         [BZ #19168]
16692         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16694 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16696         * configure.ac (CXX): Clear the variable if the C++ toolchain does
16697         not support static linking.
16698         * configure: Regenerate.
16700 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
16702         * math/libm-test.inc (check_float_internal): Do not special-case
16703         errors up to 0.5 ulp.
16705         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16706         log2.
16707         * math/auto-libm-test-out: Regenerated.
16708         * math/libm-test.inc (MAX_EXP): New macro.
16709         (ilogb_test_data): Add more tests.
16710         (isfinite_test_data): Likewise.
16711         (isgreater_test_data): Likewise.
16712         (isgreaterequal_test_data): Likewise.
16713         (isinf_test_data): Likewise.
16714         (isless_test_data): Likewise.
16715         (islessequal_test_data): Likewise.
16716         (islessgreater_test_data): Likewise.
16717         (isnan_test_data): Likewise.
16718         (isnormal_test_data): Likewise.
16719         (issignaling_test_data): Likewise.
16720         (isunordered_test_data): Likewise.
16721         (j0_test_data): Likewise.
16722         (j1_test_data): Likewise.
16723         (jn_test_data): Likewise.
16724         (lgamma_test_data): Likewise.
16725         (log_test_data): Likewise.
16726         (log10_test_data): Likewise.
16727         (log1p_test_data): Likewise.
16728         (log2_test_data): Likewise.
16729         (logb_test_data): Likewise.
16730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16732         [BZ #18611]
16733         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16734         avoid excess range and precision on underflow.
16735         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16736         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16737         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16738         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16739         underflow.
16740         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16741         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16742         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16743         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16744         * math/auto-libm-test-in: Do not allow missing errno setting for
16745         tests of j1 and jn.
16746         * math/auto-libm-test-out: Regenerated.
16748 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
16750         [BZ #15491]
16751         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16752         floating-point environment instead of clearing all exceptions.
16753         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16754         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16755         merging in "invalid" exceptions from frndint.
16756         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16757         * math/test-nearbyint-except.c: New file.
16758         * math/Makefile (tests): Add test-nearbyint-except.
16760 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
16762         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16764         * sysdeps/tile/libm-test-ulps: Regenerated.
16766 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16769         (__NR_sync_file_range2): Assume it is always defined.
16770         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16771         (__NR_sync_file_range): Assume it is always defined.
16773 2015-10-22  Andreas Schwab  <schwab@suse.de>
16775         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16776         INTERNAL_SYSCALL_ERRNO.
16777         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16778         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16779         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16780         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16781         Likewise.
16782         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16784 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16786         * io/tst-fcntl.c (fd): New static variable.
16787         (do_prepare): Open temporary file here....
16788         (do_test): ...not here.
16790         * io/ftwtest-sh: Also trap on exit to remove temporary files.
16792 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16794         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16795         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16796         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16797         Moved before "#ifdef __ASSEMBLER__".
16799 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16801         [BZ #19156]
16802         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16803         arguments very close to 0.
16805 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
16807         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16808         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16810 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16812         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16813         New.  Defined for GCC 5 and above when not compiling for
16814         profiling.
16815         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16817         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16818         Renamed to ...
16819         (CFLAGS-epoll_pwait.o): This.
16820         (CFLAGS-mmap.c): Renamed to ...
16821         (CFLAGS-mmap.o): This.
16822         (CFLAGS-mmap64.c): Renamed to ...
16823         (CFLAGS-mmap64.o): This.
16824         (CFLAGS-epoll_pwait.os): New.
16825         (CFLAGS-mmap.os): Likewise.
16826         (CFLAGS-mmap64.os): Likewise.
16827         (CFLAGS-semtimedop.os): Likewise.
16828         (CFLAGS-semtimedop.c): Renamed to ...
16829         (CFLAGS-semtimedop.o): This.
16831 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16833         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16834         warning message.
16836 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16838         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16839         * Makefile ($(objpfx)c++-types-check.out): Filter out
16840         $(+gccwarn-c) instead of -Wstrict-prototypes.
16842         * io/fts.c (fts_open): Convert to prototype-style function
16843         definition.
16844         * malloc/mcheck.c (mcheck): Likewise.
16845         (mcheck_pedantic): Likewise.
16846         * posix/regexec.c (re_search_2_stub): Likewise.  Use
16847         internal_function.
16848         (re_search_internal): Likewise.
16849         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16850         prototype-style function definition.
16851         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16852         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16853         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16854         (xdr_utmpptr): Likewise.
16855         (xdr_utmparr): Likewise.
16856         (xdr_utmpidle): Likewise.
16857         (xdr_utmpidleptr): Likewise.
16858         (xdr_utmpidlearr): Likewise.
16860         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16861         log, log10 and log2.
16862         * math/auto-libm-test-out: Regenerated.
16863         * math/libm-test.inc (fmod_test_data): Add more tests.
16864         (fpclassify_test_data): Likewise.
16865         (frexp_test_data): Likewise.
16866         (hypot_test_data): Likewise.
16867         (ilogb_test_data): Likewise.
16869 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
16871         * debug/fortify_fail.c (__fortify_fail): Convert to
16872         prototype-style function definition.  Use internal_function.
16873         * libio/genops.c (save_for_backup): Convert to prototype-style
16874         function definition.
16875         * libio/wgenops.c (save_for_wbackup): Likewise.
16876         * login/grantpt.c (grantpt): Likewise.
16877         * login/ptsname.c (ptsname): Likewise.
16878         (__ptsname_r): Likewise.
16879         * login/unlockpt.c (unlockpt): Likewise.
16880         * mach/msgserver.c (__mach_msg_server): Likewise.
16881         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16882         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16883         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16884         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16885         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16886         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16887         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16888         Likewise.
16889         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
16890         internal_function.
16891         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16892         prototype-style function definition.
16893         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16894         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16895         (__pthread_create_2_0): Likewise.
16896         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16897         * nptl/register-atfork.c (__register_atfork): Likewise.
16898         * posix/glob.c (glob): Likewise.
16899         * posix/regcomp.c (re_comp): Likewise.
16900         * posix/regexec.c (re_exec): Likewise.
16901         * stdlib/add_n.c [__STDC__]: Make code unconditional.
16902         [!__STDC__]: Remove conditional code.
16903         * stdlib/cmp.c [__STDC__]: Make code unconditional.
16904         [!__STDC__]: Remove conditional code.
16905         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16906         [!__STDC__]: Remove conditional code.
16907         * stdlib/divrem.c [__STDC__]: Make code unconditional.
16908         [!__STDC__]: Remove conditional code.
16909         * stdlib/lshift.c [__STDC__]: Make code unconditional.
16910         [!__STDC__]: Remove conditional code.
16911         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16912         [!__STDC__]: Remove conditional code.
16913         * stdlib/mul.c [__STDC__]: Make code unconditional.
16914         [!__STDC__]: Remove conditional code.
16915         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16916         [!__STDC__]: Remove conditional code.
16917         * stdlib/rshift.c [__STDC__]: Make code unconditional.
16918         [!__STDC__]: Remove conditional code.
16919         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16920         function definition.
16921         (STRTOF): Likewise.
16922         * stdlib/strtod_l.c (__STRTOF): Likewise.
16923         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16924         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16925         (__strtol_l): Likewise.
16926         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16927         [!__STDC__]: Remove conditional code.
16928         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16929         definition.
16930         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16931         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16932         type.
16933         (__strcasecmp): Convert to prototype-style function definition.
16934         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16935         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16936         type.
16937         (__strncasecmp): Convert to prototype-style function definition.
16938         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16939         * sunrpc/xdr.c (xdr_union): Likewise.
16940         * sunrpc/xdr_array.c (xdr_array): Likewise.
16941         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16942         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16943         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16944         Likewise.
16945         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16946         Likewise.
16947         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16948         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16949         Likewise.
16950         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16951         (LOCALE_PARAM_PROTO): Likewise.
16952         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16953         argument type.
16954         (ut_argument_spec): Remove macro.
16955         (ut_argument_spec_iso): Rename to ut_argument_spec.
16956         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
16957         prototype-style function definition.
16958         (memcpy_uppcase): Likewise.
16959         (__strftime_internal): Likewise.
16960         (my_strftime): Likewise.
16961         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16962         (LOCALE_PARAM_DECL): Likewise.
16963         [_LIBC] (LOCALE_PARAM): Include argument type.
16964         (__strptime_internal): Convert to prototype-style function
16965         definition.
16966         (strptime): Likewise.
16967         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16968         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16969         type.
16970         (__wcscasecmp): Convert to prototype-style function definition.
16971         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16972         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16973         type.
16974         (__wcsncasecmp): Convert to prototype-style function definition.
16976         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16977         function definition.
16978         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16979         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16980         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16981         * elf/dl-minimal.c (_itoa): Likewise.
16982         * hurd/hurdmalloc.c (malloc): Likewise.
16983         (free): Likewise.
16984         (realloc): Likewise.
16985         * inet/inet6_option.c (inet6_option_space): Likewise.
16986         (inet6_option_init): Likewise.
16987         (inet6_option_append): Likewise.
16988         (inet6_option_alloc): Likewise.
16989         (inet6_option_next): Likewise.
16990         (inet6_option_find): Likewise.
16991         * io/ftw.c (FTW_NAME): Likewise.
16992         (NFTW_NAME): Likewise.
16993         (NFTW_NEW_NAME): Likewise.
16994         (NFTW_OLD_NAME): Likewise.
16995         * libio/iofwide.c (_IO_fwide): Likewise.
16996         * libio/strops.c (_IO_str_init_static_internal): Likewise.
16997         (_IO_str_init_static): Likewise.
16998         (_IO_str_init_readonly): Likewise.
16999         (_IO_str_overflow): Likewise.
17000         (_IO_str_underflow): Likewise.
17001         (_IO_str_count): Likewise.
17002         (_IO_str_seekoff): Likewise.
17003         (_IO_str_pbackfail): Likewise.
17004         (_IO_str_finish): Likewise.
17005         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
17006         (_IO_wstr_overflow): Likewise.
17007         (_IO_wstr_underflow): Likewise.
17008         (_IO_wstr_count): Likewise.
17009         (_IO_wstr_seekoff): Likewise.
17010         (_IO_wstr_pbackfail): Likewise.
17011         (_IO_wstr_finish): Likewise.
17012         * locale/programs/localedef.c (normalize_codeset): Likewise.
17013         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17014         (add_locales_to_archive): Likewise.
17015         (delete_locales_from_archive): Likewise.
17016         * malloc/malloc.c (__libc_mallinfo): Likewise.
17017         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
17018         * misc/tsearch.c (__tfind): Likewise.
17019         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
17020         * nptl/pthread_attr_getdetachstate.c
17021         (__pthread_attr_getdetachstate): Likewise.
17022         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
17023         Likewise.
17024         * nptl/pthread_attr_getinheritsched.c
17025         (__pthread_attr_getinheritsched): Likewise.
17026         * nptl/pthread_attr_getschedparam.c
17027         (__pthread_attr_getschedparam): Likewise.
17028         * nptl/pthread_attr_getschedpolicy.c
17029         (__pthread_attr_getschedpolicy): Likewise.
17030         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17031         Likewise.
17032         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17033         Likewise.
17034         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17035         Likewise.
17036         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17037         Likewise.
17038         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17039         (__pthread_attr_init_2_0): Likewise.
17040         * nptl/pthread_attr_setdetachstate.c
17041         (__pthread_attr_setdetachstate): Likewise.
17042         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17043         Likewise.
17044         * nptl/pthread_attr_setinheritsched.c
17045         (__pthread_attr_setinheritsched): Likewise.
17046         * nptl/pthread_attr_setschedparam.c
17047         (__pthread_attr_setschedparam): Likewise.
17048         * nptl/pthread_attr_setschedpolicy.c
17049         (__pthread_attr_setschedpolicy): Likewise.
17050         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17051         Likewise.
17052         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17053         Likewise.
17054         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17055         Likewise.
17056         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17057         Likewise.
17058         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17059         Likewise.
17060         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17061         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17062         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17063         use internal_function.
17064         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17065         prototype-style function definition.
17066         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17067         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
17068         internal_function.
17069         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17070         Convert to prototype-style function definition.
17071         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17072         Likewise.
17073         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17074         Likewise.
17075         (__pthread_mutex_unlock): Likewise.
17076         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17077         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17078         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17079         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17080         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17081         * nss/makedb.c (process_input): Likewise.
17082         * posix/fnmatch.c (__strchrnul): Likewise.
17083         (__wcschrnul): Likewise.
17084         (fnmatch): Likewise.
17085         * posix/fnmatch_loop.c (FCT): Likewise.
17086         * posix/glob.c (globfree): Likewise.
17087         (__glob_pattern_type): Likewise.
17088         (__glob_pattern_p): Likewise.
17089         * posix/regcomp.c (re_compile_pattern): Likewise.
17090         (re_set_syntax): Likewise.
17091         (re_compile_fastmap): Likewise.
17092         (regcomp): Likewise.
17093         (regerror): Likewise.
17094         (regfree): Likewise.
17095         * posix/regexec.c (regexec): Likewise.
17096         (re_match): Likewise.
17097         (re_search): Likewise.
17098         (re_match_2): Likewise.
17099         (re_search_2): Likewise.
17100         (re_search_stub): Likewise.  Use internal_function
17101         (re_copy_regs): Likewise.
17102         (re_set_registers): Convert to prototype-style function
17103         definition.
17104         (prune_impossible_nodes): Likewise.  Use internal_function.
17105         * resolv/inet_net_pton.c (inet_net_pton): Convert to
17106         prototype-style function definition.
17107         (inet_net_pton_ipv4): Likewise.
17108         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17109         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17110         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17111         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17112         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17113         Make variadic.
17114         * time/strptime_l.c (localtime_r): Convert to prototype-style
17115         function definition.
17116         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17117         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17118         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17119         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17121         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17122         definition.
17123         (_ufc_doit_r): Likewise.
17124         * crypt/crypt_util.c (_ufc_copymem): Likewise.
17125         (_ufc_output_conversion_r): Likewise.
17126         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17127         * inet/rcmd.c (rcmd_af): Likewise.
17128         (rcmd): Likewise.
17129         (ruserok_af): Likewise.
17130         (ruserok): Likewise.
17131         (ruserok2_sa): Likewise.
17132         (ruserok_sa): Likewise.
17133         (iruserok_af): Likewise.
17134         (iruserok): Likewise.
17135         (__ivaliduser): Likewise.
17136         (__validuser2_sa): Likewise.
17137         * inet/rexec.c (rexec_af): Likewise.
17138         (rexec): Likewise.
17139         * inet/ruserpass.c (ruserpass): Likewise.
17140         * locale/programs/xmalloc.c (xcalloc): Likewise.
17141         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17142         * math/w_drem.c (__drem): Likewise.
17143         * math/w_dremf.c (__dremf): Likewise.
17144         * math/w_dreml.c (__dreml): Likewise.
17145         * misc/daemon.c (daemon): Likewise.
17146         * resolv/res_debug.c (p_fqnname): Likewise.
17147         * stdlib/div.c (div): Likewise.
17148         * string/memcmp.c (memcmp_bytes): Likewise.
17149         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17150         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17152         * crypt/cert.c (main): Convert to prototype-style function
17153         definition.
17154         * io/pipe.c (__pipe): Likewise.
17155         * io/pipe2.c (__pipe2): Likewise.
17156         * misc/futimesat.c (futimesat): Likewise.
17157         * misc/utimes.c (__utimes): Likewise.
17158         * posix/execve.c (__execve): Likewise.
17159         * posix/execvp.c (execvp): Likewise.
17160         * posix/execvpe.c (__execvpe): Likewise.
17161         * posix/fexecve.c (fexecve): Likewise.
17162         * socket/socketpair.c (socketpair): Likewise.
17163         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17164         * stdlib/erand48.c (erand48): Likewise.
17165         * stdlib/erand48_r.c (__erand48_r): Likewise.
17166         * stdlib/jrand48.c (jrand48): Likewise.
17167         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17168         * stdlib/lcong48.c (lcong48): Likewise.
17169         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17170         * stdlib/nrand48.c (nrand48): Likewise.
17171         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17172         * stdlib/seed48.c (seed48): Likewise.
17173         * stdlib/seed48_r.c (__seed48_r): Likewise.
17174         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17175         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17176         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17178 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17180         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17181         * configure: Regenerated.
17182         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17183         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17184         unconditional.
17185         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17186         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17187         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17188         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17189         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17190         unconditional.
17191         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17193         * posix/Makefile (CFLAGS-regex.c): Remove variable.
17194         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17196         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17197         function definition.
17198         * crypt/crypt_util.c (__encrypt_r): Likewise.
17199         * libio/genops.c (_IO_no_init): Likewise.
17200         * libio/iofopncook.c (_IO_fopencookie): Likewise.
17201         (_IO_old_fopencookie): Likewise.
17202         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17203         * libio/iogetline.c (_IO_getline): Likewise.
17204         (_IO_getline_info): Likewise.
17205         * libio/iogetwline.c (_IO_getwline): Likewise.
17206         (_IO_getwline_info): Likewise.
17207         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17208         * libio/vswprintf.c (_IO_vswprintf): Likewise.
17209         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17210         (find_entry): Likewise.
17211         (iterate_table): Likewise.
17212         (lookup): Likewise.
17213         * login/forkpty.c (forkpty): Likewise.
17214         * misc/hsearch_r.c (__hsearch_r): Likewise.
17215         * misc/select.c (__select): Likewise.
17216         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17217         Likewise.
17218         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17219         Likewise.
17220         * nptl/old_pthread_cond_timedwait.c
17221         (__pthread_cond_timedwait_2_0): Likewise.
17222         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17223         * nptl/pthread_barrierattr_getpshared.c
17224         (pthread_barrierattr_getpshared): Likewise.
17225         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17226         Likewise.
17227         * nptl/pthread_mutex_setprioceiling.c
17228         (pthread_mutex_setprioceiling): Likewise.
17229         * nptl/pthread_mutexattr_getprioceiling.c
17230         (pthread_mutexattr_getprioceiling): Likewise.
17231         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17232         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17233         Likewise.
17234         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17235         Likewise.
17236         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17237         Likewise.
17238         * socket/recvfrom.c (__recvfrom): Likewise.
17239         * socket/sendto.c (__sendto): Likewise.
17240         * socket/setsockopt.c (__setsockopt): Likewise.
17241         * stdio-common/_itoa.c (_itoa): Likewise.
17242         * stdio-common/_itowa.c (_itowa): Likewise.
17243         * stdio-common/reg-printf.c (__register_printf_specifier):
17244         Likewise.
17245         (__register_printf_function): Likewise.
17246         * stdio-common/tempname.c (__path_search): Likewise.
17247         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17248         * stdlib/mul_1.c (mpn_mul_1): Likewise.
17249         * stdlib/random_r.c (__initstate_r): Likewise.
17250         * stdlib/setenv.c (__add_to_environ): Likewise.
17251         * stdlib/submul_1.c (mpn_submul_1): Likewise.
17252         * streams/getpmsg.c (getpmsg): Likewise.
17253         * streams/putmsg.c (putmsg): Likewise.
17254         * streams/putpmsg.c (putpmsg): Likewise.
17255         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17256         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17257         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17258         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17259         * sunrpc/pm_getport.c (pmap_getport): Likewise.
17260         * sunrpc/svc_udp.c (cache_get): Likewise.
17261         * sunrpc/xdr_array.c (xdr_vector): Likewise.
17262         * sysdeps/mach/hurd/getcwd.c
17263         (__canonicalize_directory_name_internal): Likewise.
17264         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17265         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17266         * sysdeps/mach/hurd/select.c (__select): Likewise.
17267         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17268         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17269         * sysdeps/sparc/nptl/pthread_barrier_init.c
17270         (__pthread_barrier_init): Likewise.
17271         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17272         (__pthread_cond_timedwait): Likewise.
17273         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17274         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17275         Likewise.
17276         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17277         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17278         Likewise.
17279         * sysvipc/semtimedop.c (semtimedop): Likewise.
17280         * time/setitimer.c (__setitimer): Likewise.
17281         * time/strftime_l.c (emacs_strftime): Likewise.
17283 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17285         * config.make.in (have-ssp): Delete.
17286         (stack-protector): New variable.
17287         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
17288         cache test for -fstack-protector-strong.  Export stack_protector to
17289         the best ssp flag.
17290         * configure: Regenerated.
17291         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17292         * nscd/Makefile (CFLAGS-nscd): Likewise.
17293         * resolv/Makefile (CFLAGS-libresolv): Likewise.
17295 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
17297         [BZ #19122]
17298         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17299         attribute_hidden.
17301 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17303         [BZ #18743]
17304         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17305         code to...
17306         (ELIDE_LOCK): ...here.
17307         (__get_new_count): New function with part of the code from
17308         __elide_lock that updates the value of adapt_count after a
17309         transaction abort.
17310         (__elided_trylock): Moved this code to...
17311         (ELIDE_TRYLOCK): ...here.
17313 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17315         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17316         * configure: Regenerate.
17317         * INSTALL: Regenerate.
17318         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17319         and tweak grammar.
17321 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
17323         * login/programs/pt_chown.c: Include signal.h
17324         (main): Clear any signal mask from the parent process.
17326 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17328         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17329         * configure: Regenerated.
17330         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17331         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17332         $(gnu89-inline-CFLAGS).
17334         * configure.ac (libc_cv_asm_weak_directive): Remove configure
17335         test.
17336         (libc_cv_asm_weakext_directive): Likewise.
17337         * configure: Regenerated.
17338         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17339         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17340         * include/libc-symbols.h
17341         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17342         #error.
17343         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17344         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17346         * sysdeps/arm/backtrace.c (__backtrace): Convert to
17347         prototype-style function definition.
17348         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17349         * sysdeps/i386/ffs.c (__ffs): Likewise.
17350         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17351         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17352         Likewise.
17353         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17354         Likewise.
17355         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17356         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17357         Likewise.
17358         * sysdeps/m68k/ffs.c (__ffs): Likewise.
17359         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17360         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17361         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17362         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17363         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17364         * sysdeps/mach/hurd/access.c (__access): Likewise.
17365         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17366         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17367         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17368         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17369         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17370         (cthread_getspecific): Likewise.
17371         (cthread_setspecific): Likewise.
17372         (__libc_getspecific): Likewise.
17373         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17374         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17375         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17376         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17377         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17378         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17379         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17380         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17381         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17382         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17383         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17384         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17385         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17386         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17387         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17388         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17389         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17390         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17391         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17392         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17393         * sysdeps/mach/hurd/link.c (__link): Likewise.
17394         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17395         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17396         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17397         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17398         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17399         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17400         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17401         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17402         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17403         * sysdeps/mach/hurd/rename.c (rename): Likewise.
17404         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17405         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17406         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17407         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17408         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17409         * sysdeps/mach/hurd/send.c (__send): Likewise.
17410         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17411         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17412         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17413         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17414         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17415         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17416         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17417         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17418         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17419         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17420         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17421         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17422         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17423         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17424         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17425         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17426         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17427         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17428         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17429         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17430         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17431         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17432         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17433         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17434         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17435         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17436         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17437         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17438         * sysdeps/posix/alarm.c (alarm): Likewise.
17439         * sysdeps/posix/cuserid.c (cuserid): Likewise.
17440         * sysdeps/posix/dirfd.c (dirfd): Likewise.
17441         * sysdeps/posix/dup.c (__dup): Likewise.
17442         * sysdeps/posix/dup2.c (__dup2): Likewise.
17443         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17444         (main): Likewise.
17445         * sysdeps/posix/flock.c (__flock): Likewise.
17446         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17447         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17448         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17449         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17450         * sysdeps/posix/isatty.c (__isatty): Likewise.
17451         * sysdeps/posix/killpg.c (killpg): Likewise.
17452         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17453         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17454         * sysdeps/posix/raise.c (raise): Likewise.
17455         * sysdeps/posix/remove.c (remove): Likewise.
17456         * sysdeps/posix/rename.c (rename): Likewise.
17457         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17458         * sysdeps/posix/seekdir.c (seekdir): Likewise.
17459         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17460         * sysdeps/posix/sigignore.c (sigignore): Likewise.
17461         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17462         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17463         * sysdeps/posix/sigset.c (sigset): Likewise.
17464         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17465         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17466         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17467         * sysdeps/posix/time.c (time): Likewise.
17468         * sysdeps/posix/ttyname.c (getttyname): Likewise.
17469         (ttyname): Likewise.
17470         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17471         * sysdeps/posix/utime.c (utime): Likewise.
17472         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17473         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17474         Likewise.
17475         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17476         (pthread_spin_trylock): Likewise.
17477         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17478         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17479         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17480         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17481         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17482         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17483         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17484         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17485         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17486         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17487         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17488         * sysdeps/s390/ffs.c (__ffs): Likewise.
17489         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17490         Likewise.
17491         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17492         Likewise.
17493         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17494         Likewise.
17495         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17496         (pthread_barrier_destroy): Likewise.
17497         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17498         (__pthread_barrier_wait): Likewise.
17499         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17500         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17501         (__pthread_barrier_wait): Likewise.
17502         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17503         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17504         (memcmp_not_common_alignment): Likewise.
17505         (MEMCMP): Likewise.
17506         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17507         (_wordcopy_fwd_dest_aligned): Likewise.
17508         (_wordcopy_bwd_aligned): Likewise.
17509         (_wordcopy_bwd_dest_aligned): Likewise.
17510         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17511         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17512         * sysdeps/unix/bsd/stty.c (stty): Likewise.
17513         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17514         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17515         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17516         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17517         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17518         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17519         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17520         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17521         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17522         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17523         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17524         * sysdeps/unix/stime.c (stime): Likewise.
17525         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17526         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17527         Likewise.  Use internal_function.
17528         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17529         Convert to prototype-style function definition.
17530         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17531         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17532         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17533         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17534         Likewise.  Use internal_function.
17535         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17536         prototype-style function definition
17537         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17538         Likewise.
17539         (__getlogin_r): Likewise.
17540         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
17541         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
17542         (__pthread_cond_broadcast): Likewise.
17543         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
17544         (__pthread_cond_destroy): Likewise.
17545         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
17546         (__pthread_cond_init): Likewise.
17547         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
17548         (__pthread_cond_signal): Likewise.
17549         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
17550         (__pthread_cond_wait): Likewise.
17551         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
17552         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17553         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
17554         Likewise.
17555         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
17556         Likewise.
17557         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
17558         Likewise.
17559         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
17560         Likewise.
17561         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
17562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
17563         (__ftruncate64): Likewise.
17564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
17565         (truncate64): Likewise.
17566         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
17567         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
17568         (pthread_getcpuclockid): Likewise.
17569         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17570         Likewise.
17571         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17572         Likewise.
17573         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
17574         Likewise.
17575         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
17576         Likewise.
17577         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
17578         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17579         (__libc_sigaction): Likewise.
17580         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17581         Likewise.
17582         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17583         (__sigprocmask): Likewise.
17584         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17585         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17586         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17587         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17588         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17589         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17590         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17591         Likewise.
17592         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17593         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17594         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17595         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17596         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17597         Likewise.
17598         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17599         (__sigprocmask): Likewise.
17600         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17601         (cfgetispeed): Likewise.
17602         (cfsetospeed): Likewise.
17603         (cfsetispeed): Likewise.
17604         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17605         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17606         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17607         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17608         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17609         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17610         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17611         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17612         Likewise.
17613         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17614         Likewise.
17615         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17616         Likewise.
17617         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17618         Likewise.
17619         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17621 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17623         sunrpc: Rewrite with explicit TLS access using __thread.
17624         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17625         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17626         directly.
17627         (__rpc_thread_variables): Access thread_rpc_vars directly.
17628         Eliminate redundant assignment of the tvp variable.
17630 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17632         malloc: Rewrite with explicit TLS access using __thread.
17633         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17634         (tsd_setspecific, tsd_getspecific): Remove.
17635         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17636         (tsd_setspecific, tsd_getspecific): Likewise.
17637         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17638         (tsd_setspecific, tsd_getspecific): Likewise.
17639         * malloc/arena.c (thread_arena): New TLS variable.
17640         (arena_key): Remove variable.
17641         (arena_get): Use thread_arena.
17642         (arena_lookup): Remove macro.
17643         (malloc_atfork, free_atfork, ptmalloc_lock_all)
17644         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17645         (_int_new_arena, get_free_list, reused_arena)
17646         (arena_thread_freeres): Use thread_arena.
17647         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17648         tsd_getspecific, tsd_setspecific from safety annotations.
17649         (Allocating Cleared Space): Remove arena_lookup from safety
17650         annotations.
17652 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17654         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17655         struct scratch_buffer instead of extend_alloca.
17657 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17659         * sysdeps/unix/sysv/linux/kernel-features.h
17660         (__ASSUME_SOCK_CLOEXEC): Remove.
17661         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17662         (__have_paccept): Remove unused macro.
17663         * include/unistd.h (__have_sock_cloexec): Remove declaration.
17664         * misc/syslog.c (openlog_internal): Remove fallback code for
17665         !__ASSUME_SOCK_CLOEXEC.
17666         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17667         missing SOCK_CLOEXEC.
17668         * nscd/connections.c (have_sock_cloexec): Remove definition.
17669         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17670         * nscd/nscd_helper.c (open_socket): Remove fallback code for
17671         !__ASSUME_SOCK_CLOEXEC.
17672         * resolv/res_send.c (__have_o_nonblock): Remove definition.
17673         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17674         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17675         definition.
17676         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17677         code for !__ASSUME_SOCK_CLOEXEC.
17679 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17681         [BZ #18982]
17682         * manual/stdio.texi (Variable Arguments Output): Add portability
17683         note, explaining that vfprintf clobbers the va_list pointer.
17685 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17687         * math/libm-test.inc (fabs_test_data): Add more tests.
17688         (fdim_test_data): Likewise.
17689         (fma_test_data): Likewise.
17690         (fmax_test_data): Likewise.
17691         (fmin_test_data): Likewise.
17692         (fmod_test_data): Likewise.
17694 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
17696         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
17697         data.
17699 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17701         * math/libm-test.inc (ceil_test_data): Add more tests and more
17702         expectations for "inexact".
17703         (floor_test_data): Add more tests.
17704         (round_test_data): Likewise.
17705         (trunc_test_data): Likewise.
17707         * crypt/cert.c (good_bye): Convert to prototype-style function
17708         definition.
17709         (get8): Likewise.
17710         (put8): Likewise.
17711         * crypt/crypt-entry.c (crypt): Likewise.
17712         (__fcrypt): Likewise.
17713         * crypt/crypt_util.c (_ufc_prbits): Likewise.
17714         (_ufc_set_bits): Likewise.
17715         (_ufc_clearmem): Likewise.
17716         (__init_des_r): Likewise.
17717         (shuffle_sb): Likewise.
17718         (shuffle_sb): Likewise.
17719         (_ufc_setup_salt_r): Likewise.
17720         (_ufc_mk_keytab_r): Likewise.
17721         (_ufc_dofinalperm_r): Likewise.
17722         (encrypt): Likewise.
17723         (__setkey_r): Likewise.
17724         (setkey): Likewise.
17725         * crypt/md5.c (md5_init_ctx): Likewise.
17726         (md5_read_ctx): Likewise.
17727         (md5_finish_ctx): Likewise.
17728         (md5_stream): Likewise.
17729         (md5_buffer): Likewise.
17730         (md5_process_bytes): Likewise.
17731         * crypt/sha256.c (__sha256_init_ctx): Likewise.
17732         (__sha256_finish_ctx): Likewise.
17733         (__sha256_process_bytes): Likewise.
17734         * crypt/sha512.c (__sha512_init_ctx): Likewise.
17735         (__sha512_finish_ctx): Likewise.
17736         (__sha512_process_bytes): Likewise.
17737         * ctype/isctype.c (__isctype): Likewise.
17738         * debug/backtrace.c (__backtrace): Likewise.
17739         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17740         * debug/fgets_chk.c (__fgets_chk): Likewise.
17741         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17742         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17743         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17744         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17745         * debug/memset_chk.c (__memset_chk): Likewise.
17746         * debug/strcat_chk.c (__strcat_chk): Likewise.
17747         * debug/strncat_chk.c (__strncat_chk): Likewise.
17748         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17749         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17750         * dirent/dirfd.c (dirfd): Likewise.
17751         * dirent/getdents.c (__getdirentries): Likewise.
17752         * dirent/getdents64.c (getdirentries64): Likewise.
17753         * dirent/rewinddir.c (__rewinddir): Likewise.
17754         * dirent/seekdir.c (seekdir): Likewise.
17755         * dirent/telldir.c (telldir): Likewise.
17756         * elf/sln.c (makesymlinks): Likewise.
17757         (makesymlink): Likewise.
17758         * gmon/gmon.c (__moncontrol): Likewise.
17759         (__monstartup): Likewise.
17760         (write_hist): Likewise.
17761         (write_call_graph): Likewise.
17762         (write_bb_counts): Likewise.
17763         * grp/setgroups.c (setgroups): Likewise.
17764         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17765         * inet/inet_net.c (inet_network): Likewise.
17766         * inet/inet_netof.c (inet_netof): Likewise.
17767         * inet/rcmd.c (rresvport_af): Likewise.
17768         (rresvport): Likewise.
17769         * io/access.c (__access): Likewise.
17770         * io/chdir.c (__chdir): Likewise.
17771         * io/chmod.c (__chmod): Likewise.
17772         * io/chown.c (__chown): Likewise.
17773         * io/close.c (__close): Likewise.
17774         * io/creat.c (creat): Likewise.
17775         * io/creat64.c (creat64): Likewise.
17776         * io/dup.c (__dup): Likewise.
17777         * io/dup2.c (__dup2): Likewise.
17778         * io/dup3.c (__dup3): Likewise.
17779         * io/euidaccess.c (__euidaccess): Likewise.
17780         * io/faccessat.c (faccessat): Likewise.
17781         * io/fchmod.c (__fchmod): Likewise.
17782         * io/fchmodat.c (fchmodat): Likewise.
17783         * io/fchown.c (__fchown): Likewise.
17784         * io/fchownat.c (fchownat): Likewise.
17785         * io/fcntl.c (__fcntl): Likewise.
17786         * io/flock.c (__flock): Likewise.
17787         * io/fts.c (fts_load): Likewise.
17788         (fts_close): Likewise.
17789         (fts_read): Likewise.
17790         (fts_set): Likewise.
17791         (fts_children): Likewise.
17792         (fts_build): Likewise.
17793         (fts_stat): Likewise.
17794         (fts_sort): Likewise.
17795         (fts_alloc): Likewise.
17796         (fts_lfree): Likewise.
17797         (fts_palloc): Likewise.
17798         (fts_padjust): Likewise.
17799         (fts_maxarglen): Likewise.
17800         (fts_safe_changedir): Likewise.
17801         * io/getwd.c (getwd): Likewise.
17802         * io/isatty.c (__isatty): Likewise.
17803         * io/lchown.c (__lchown): Likewise.
17804         * io/link.c (__link): Likewise.
17805         * io/linkat.c (linkat): Likewise.
17806         * io/lseek.c (__libc_lseek): Likewise.
17807         * io/mkdir.c (__mkdir): Likewise.
17808         * io/mkdirat.c (mkdirat): Likewise.
17809         * io/mkfifo.c (mkfifo): Likewise.
17810         * io/mkfifoat.c (mkfifoat): Likewise.
17811         * io/open.c (__libc_open): Likewise.
17812         * io/open64.c (__libc_open64): Likewise.
17813         * io/readlink.c (__readlink): Likewise.
17814         * io/readlinkat.c (readlinkat): Likewise.
17815         * io/rmdir.c (__rmdir): Likewise.
17816         * io/symlink.c (__symlink): Likewise.
17817         * io/symlinkat.c (symlinkat): Likewise.
17818         * io/ttyname.c (ttyname): Likewise.
17819         * io/ttyname_r.c (__ttyname_r): Likewise.
17820         * io/umask.c (__umask): Likewise.
17821         * io/unlink.c (__unlink): Likewise.
17822         * io/unlinkat.c (unlinkat): Likewise.
17823         * io/utime.c (utime): Likewise.
17824         * libio/clearerr.c (clearerr): Likewise.
17825         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17826         * libio/feof.c (_IO_feof): Likewise.
17827         * libio/feof_u.c (feof_unlocked): Likewise.
17828         * libio/ferror.c (_IO_ferror): Likewise.
17829         * libio/ferror_u.c (ferror_unlocked): Likewise.
17830         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17831         * libio/fileno.c (__fileno): Likewise.
17832         * libio/fputc.c (fputc): Likewise.
17833         * libio/fputc_u.c (fputc_unlocked): Likewise.
17834         * libio/fputwc.c (fputwc): Likewise.
17835         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17836         * libio/freopen.c (freopen): Likewise.
17837         * libio/freopen64.c (freopen64): Likewise.
17838         * libio/fseek.c (fseek): Likewise.
17839         * libio/fseeko.c (fseeko): Likewise.
17840         * libio/fseeko64.c (fseeko64): Likewise.
17841         * libio/ftello.c (__ftello): Likewise.
17842         * libio/ftello64.c (ftello64): Likewise.
17843         * libio/fwide.c (fwide): Likewise.
17844         * libio/genops.c (_IO_un_link): Likewise.
17845         (_IO_link_in): Likewise.
17846         (_IO_least_marker): Likewise.
17847         (_IO_switch_to_main_get_area): Likewise.
17848         (_IO_switch_to_backup_area): Likewise.
17849         (_IO_switch_to_get_mode): Likewise.
17850         (_IO_free_backup_area): Likewise.
17851         (_IO_switch_to_put_mode): Likewise.
17852         (__overflow): Likewise.
17853         (__underflow): Likewise.
17854         (__uflow): Likewise.
17855         (_IO_setb): Likewise.
17856         (_IO_doallocbuf): Likewise.
17857         (_IO_default_underflow): Likewise.
17858         (_IO_default_uflow): Likewise.
17859         (_IO_default_xsputn): Likewise.
17860         (_IO_sgetn): Likewise.
17861         (_IO_default_xsgetn): Likewise.
17862         (_IO_sync): Likewise.
17863         (_IO_default_setbuf): Likewise.
17864         (_IO_default_seekpos): Likewise.
17865         (_IO_default_doallocate): Likewise.
17866         (_IO_init): Likewise.
17867         (_IO_old_init): Likewise.
17868         (_IO_default_sync): Likewise.
17869         (_IO_default_finish): Likewise.
17870         (_IO_default_seekoff): Likewise.
17871         (_IO_sputbackc): Likewise.
17872         (_IO_sungetc): Likewise.
17873         (_IO_set_column): Likewise.
17874         (_IO_set_column): Likewise.
17875         (_IO_adjust_column): Likewise.
17876         (_IO_get_column): Likewise.
17877         (_IO_init_marker): Likewise.
17878         (_IO_remove_marker): Likewise.
17879         (_IO_marker_difference): Likewise.
17880         (_IO_marker_delta): Likewise.
17881         (_IO_seekmark): Likewise.
17882         (_IO_unsave_markers): Likewise.
17883         (_IO_nobackup_pbackfail): Likewise.
17884         (_IO_default_pbackfail): Likewise.
17885         (_IO_default_seek): Likewise.
17886         (_IO_default_stat): Likewise.
17887         (_IO_default_read): Likewise.
17888         (_IO_default_write): Likewise.
17889         (_IO_default_showmanyc): Likewise.
17890         (_IO_default_imbue): Likewise.
17891         (_IO_iter_next): Likewise.
17892         (_IO_iter_file): Likewise.
17893         * libio/getc.c (_IO_getc): Likewise.
17894         * libio/getwc.c (_IO_getwc): Likewise.
17895         * libio/iofclose.c (_IO_new_fclose): Likewise.
17896         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17897         * libio/iofflush.c (_IO_fflush): Likewise.
17898         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17899         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17900         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17901         * libio/iofgets.c (_IO_fgets): Likewise.
17902         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17903         * libio/iofgetws.c (fgetws): Likewise.
17904         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17905         * libio/iofopen64.c (_IO_fopen64): Likewise.
17906         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17907         (_IO_cookie_write): Likewise.
17908         (_IO_cookie_seek): Likewise.
17909         (_IO_cookie_close): Likewise.
17910         (_IO_cookie_seekoff): Likewise.
17911         (_IO_old_cookie_seek): Likewise.
17912         * libio/iofputs.c (_IO_fputs): Likewise.
17913         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17914         * libio/iofputws.c (fputws): Likewise.
17915         * libio/iofputws_u.c (fputws_unlocked): Likewise.
17916         * libio/iofread.c (_IO_fread): Likewise.
17917         * libio/iofread_u.c (__fread_unlocked): Likewise.
17918         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17919         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17920         * libio/ioftell.c (_IO_ftell): Likewise.
17921         * libio/iofwrite.c (_IO_fwrite): Likewise.
17922         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17923         * libio/iogets.c (_IO_gets): Likewise.
17924         * libio/iopadn.c (_IO_padn): Likewise.
17925         * libio/iopopen.c (_IO_new_proc_open): Likewise.
17926         (_IO_new_popen): Likewise.
17927         (_IO_new_proc_close): Likewise.
17928         * libio/ioputs.c (_IO_puts): Likewise.
17929         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17930         (_IO_seekoff): Likewise.
17931         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17932         (_IO_seekpos): Likewise.
17933         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17934         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17935         * libio/ioungetc.c (_IO_ungetc): Likewise.
17936         * libio/ioungetwc.c (ungetwc): Likewise.
17937         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17938         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17939         * libio/iowpadn.c (_IO_wpadn): Likewise.
17940         * libio/libc_fatal.c (__libc_fatal): Likewise.
17941         * libio/memstream.c (__open_memstream): Likewise.
17942         (_IO_mem_sync): Likewise.
17943         (_IO_mem_finish): Likewise.
17944         * libio/oldfileops.c (_IO_old_file_init): Likewise.
17945         (_IO_old_file_close_it): Likewise.
17946         (_IO_old_file_finish): Likewise.
17947         (_IO_old_file_fopen): Likewise.
17948         (_IO_old_file_attach): Likewise.
17949         (_IO_old_file_setbuf): Likewise.
17950         (_IO_old_do_write): Likewise.
17951         (old_do_write): Likewise.
17952         (_IO_old_file_underflow): Likewise.
17953         (_IO_old_file_overflow): Likewise.
17954         (_IO_old_file_sync): Likewise.
17955         (_IO_old_file_seekoff): Likewise.
17956         (_IO_old_file_write): Likewise.
17957         (_IO_old_file_xsputn): Likewise.
17958         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17959         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17960         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17961         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17962         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17963         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17964         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17965         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17966         (_IO_old_popen): Likewise.
17967         (_IO_old_proc_close): Likewise.
17968         * libio/oldpclose.c (__old_pclose): Likewise.
17969         * libio/pclose.c (__new_pclose): Likewise.
17970         * libio/peekc.c (_IO_peekc_locked): Likewise.
17971         * libio/putc.c (_IO_putc): Likewise.
17972         * libio/putc_u.c (putc_unlocked): Likewise.
17973         * libio/putchar.c (putchar): Likewise.
17974         * libio/putchar_u.c (putchar_unlocked): Likewise.
17975         * libio/putwc.c (putwc): Likewise.
17976         * libio/putwc_u.c (putwc_unlocked): Likewise.
17977         * libio/putwchar.c (putwchar): Likewise.
17978         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17979         * libio/rewind.c (rewind): Likewise.
17980         * libio/setbuf.c (setbuf): Likewise.
17981         * libio/setlinebuf.c (setlinebuf): Likewise.
17982         * libio/vasprintf.c (_IO_vasprintf): Likewise.
17983         * libio/vscanf.c (_IO_vscanf): Likewise.
17984         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17985         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17986         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17987         * libio/wgenops.c (_IO_least_wmarker): Likewise.
17988         (_IO_switch_to_main_wget_area): Likewise.
17989         (_IO_switch_to_wbackup_area): Likewise.
17990         (_IO_wsetb): Likewise.
17991         (_IO_wdefault_pbackfail): Likewise.
17992         (_IO_wdefault_finish): Likewise.
17993         (_IO_wdefault_uflow): Likewise.
17994         (__woverflow): Likewise.
17995         (__wuflow): Likewise.
17996         (__wunderflow): Likewise.
17997         (_IO_wdefault_xsputn): Likewise.
17998         (_IO_wdefault_xsgetn): Likewise.
17999         (_IO_wdoallocbuf): Likewise.
18000         (_IO_wdefault_doallocate): Likewise.
18001         (_IO_switch_to_wget_mode): Likewise.
18002         (_IO_free_wbackup_area): Likewise.
18003         (_IO_switch_to_wput_mode): Likewise.
18004         (_IO_sputbackwc): Likewise.
18005         (_IO_sungetwc): Likewise.
18006         (_IO_adjust_wcolumn): Likewise.
18007         (_IO_init_wmarker): Likewise.
18008         (_IO_wmarker_delta): Likewise.
18009         (_IO_seekwmark): Likewise.
18010         (_IO_unsave_wmarkers): Likewise.
18011         * libio/wmemstream.c (open_wmemstream): Likewise.
18012         (_IO_wmem_sync): Likewise.
18013         (_IO_wmem_finish): Likewise.
18014         * locale/nl_langinfo.c (nl_langinfo): Likewise.
18015         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
18016         * locale/programs/simple-hash.c (init_hash): Likewise.
18017         (delete_hash): Likewise.
18018         (insert_entry): Likewise.
18019         (set_entry): Likewise.
18020         (next_prime): Likewise.
18021         (is_prime): Likewise.
18022         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
18023         (xmalloc): Likewise.
18024         (xrealloc): Likewise.
18025         * locale/programs/xstrdup.c (xstrdup): Likewise.
18026         * localedata/collate-test.c (xstrcoll): Likewise.
18027         * localedata/xfrm-test.c (xstrcmp): Likewise.
18028         * login/getlogin_r.c (__getlogin_r): Likewise.
18029         * login/getpt.c (__posix_openpt): Likewise.
18030         * login/login_tty.c (login_tty): Likewise.
18031         * login/setlogin.c (setlogin): Likewise.
18032         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18033         (mach_msg_destroy_port): Likewise.
18034         (mach_msg_destroy_memory): Likewise.
18035         * malloc/mcheck.c (flood): Likewise.
18036         * misc/acct.c (acct): Likewise.
18037         * misc/brk.c (__brk): Likewise.
18038         * misc/chflags.c (chflags): Likewise.
18039         * misc/chroot.c (chroot): Likewise.
18040         * misc/fchflags.c (fchflags): Likewise.
18041         * misc/fstab.c (getfsspec): Likewise.
18042         (getfsfile): Likewise.
18043         * misc/fsync.c (fsync): Likewise.
18044         * misc/ftruncate.c (__ftruncate): Likewise.
18045         * misc/ftruncate64.c (__ftruncate64): Likewise.
18046         * misc/getdomain.c (getdomainname): Likewise.
18047         (getdomainname): Likewise.
18048         * misc/gethostname.c (__gethostname): Likewise.
18049         * misc/getpass.c (getpass): Likewise.
18050         * misc/getttyent.c (skip): Likewise.
18051         (value): Likewise.
18052         * misc/gtty.c (gtty): Likewise.
18053         * misc/hsearch.c (hsearch): Likewise.
18054         (hcreate): Likewise.
18055         * misc/hsearch_r.c (__hcreate_r): Likewise.
18056         (__hdestroy_r): Likewise.
18057         * misc/ioctl.c (__ioctl): Likewise.
18058         * misc/mkdtemp.c (mkdtemp): Likewise.
18059         * misc/mkostemp.c (mkostemp): Likewise.
18060         * misc/mkostemp64.c (mkostemp64): Likewise.
18061         * misc/mkostemps.c (mkostemps): Likewise.
18062         * misc/mkostemps64.c (mkostemps64): Likewise.
18063         * misc/mkstemp.c (mkstemp): Likewise.
18064         * misc/mkstemp64.c (mkstemp64): Likewise.
18065         * misc/mkstemps.c (mkstemps): Likewise.
18066         * misc/mkstemps64.c (mkstemps64): Likewise.
18067         * misc/mktemp.c (__mktemp): Likewise.
18068         * misc/preadv.c (preadv): Likewise.
18069         * misc/preadv64.c (preadv64): Likewise.
18070         * misc/pwritev.c (pwritev): Likewise.
18071         * misc/pwritev64.c (pwritev64): Likewise.
18072         * misc/readv.c (__readv): Likewise.
18073         * misc/revoke.c (revoke): Likewise.
18074         * misc/setdomain.c (setdomainname): Likewise.
18075         * misc/setegid.c (setegid): Likewise.
18076         * misc/seteuid.c (seteuid): Likewise.
18077         * misc/sethostid.c (sethostid): Likewise.
18078         * misc/sethostname.c (sethostname): Likewise.
18079         * misc/setregid.c (__setregid): Likewise.
18080         * misc/setreuid.c (__setreuid): Likewise.
18081         * misc/sstk.c (sstk): Likewise.
18082         * misc/stty.c (stty): Likewise.
18083         * misc/syscall.c (syscall): Likewise.
18084         * misc/syslog.c (setlogmask): Likewise.
18085         * misc/truncate.c (__truncate): Likewise.
18086         * misc/truncate64.c (truncate64): Likewise.
18087         * misc/ualarm.c (ualarm): Likewise.
18088         * misc/usleep.c (usleep): Likewise.
18089         * misc/ustat.c (ustat): Likewise.
18090         * misc/writev.c (__writev): Likewise.
18091         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18092         * nptl/old_pthread_cond_broadcast.c
18093         (__pthread_cond_broadcast_2_0): Likewise.
18094         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18095         Likewise.
18096         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18097         Likewise.
18098         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18099         Likewise.
18100         * nptl/pt-raise.c (raise): Likewise.
18101         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18102         Likewise.
18103         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18104         * nptl/pthread_barrierattr_destroy.c
18105         (pthread_barrierattr_destroy): Likewise.
18106         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18107         Likewise.
18108         * nptl/pthread_barrierattr_setpshared.c
18109         (pthread_barrierattr_setpshared): Likewise.
18110         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18111         Likewise.
18112         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18113         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18114         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18115         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18116         Likewise.
18117         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18118         Likewise.
18119         * nptl/pthread_condattr_getpshared.c
18120         (pthread_condattr_getpshared): Likewise.
18121         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18122         Likewise.
18123         * nptl/pthread_condattr_setpshared.c
18124         (pthread_condattr_setpshared): Likewise.
18125         * nptl/pthread_detach.c (pthread_detach): Likewise.
18126         * nptl/pthread_equal.c (__pthread_equal): Likewise.
18127         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18128         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18129         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18130         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18131         Likewise.
18132         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18133         Likewise.
18134         * nptl/pthread_mutex_getprioceiling.c
18135         (pthread_mutex_getprioceiling): Likewise.
18136         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18137         Likewise.
18138         * nptl/pthread_mutexattr_getprotocol.c
18139         (pthread_mutexattr_getprotocol): Likewise.
18140         * nptl/pthread_mutexattr_getpshared.c
18141         (pthread_mutexattr_getpshared): Likewise.
18142         * nptl/pthread_mutexattr_getrobust.c
18143         (pthread_mutexattr_getrobust): Likewise.
18144         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18145         Likewise.
18146         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18147         Likewise.
18148         * nptl/pthread_mutexattr_setprioceiling.c
18149         (pthread_mutexattr_setprioceiling): Likewise.
18150         * nptl/pthread_mutexattr_setprotocol.c
18151         (pthread_mutexattr_setprotocol): Likewise.
18152         * nptl/pthread_mutexattr_setpshared.c
18153         (pthread_mutexattr_setpshared): Likewise.
18154         * nptl/pthread_mutexattr_setrobust.c
18155         (pthread_mutexattr_setrobust): Likewise.
18156         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18157         Likewise.
18158         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18159         Likewise.
18160         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18161         Likewise.
18162         * nptl/pthread_rwlockattr_getkind_np.c
18163         (pthread_rwlockattr_getkind_np): Likewise.
18164         * nptl/pthread_rwlockattr_getpshared.c
18165         (pthread_rwlockattr_getpshared): Likewise.
18166         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18167         Likewise.
18168         * nptl/pthread_rwlockattr_setkind_np.c
18169         (pthread_rwlockattr_setkind_np): Likewise.
18170         * nptl/pthread_rwlockattr_setpshared.c
18171         (pthread_rwlockattr_setpshared): Likewise.
18172         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18173         Likewise.
18174         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18175         Likewise.
18176         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18177         Likewise.
18178         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18179         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18180         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18181         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18182         * nptl/sem_close.c (sem_close): Likewise.
18183         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18184         * nptl/sem_init.c (__old_sem_init): Likewise.
18185         * nptl/sigaction.c (__sigaction): Likewise.
18186         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18187         * posix/_exit.c (_exit): Likewise.
18188         * posix/alarm.c (alarm): Likewise.
18189         * posix/confstr.c (confstr): Likewise.
18190         * posix/fpathconf.c (__fpathconf): Likewise.
18191         * posix/getgroups.c (__getgroups): Likewise.
18192         * posix/getpgid.c (__getpgid): Likewise.
18193         * posix/group_member.c (__group_member): Likewise.
18194         * posix/pathconf.c (__pathconf): Likewise.
18195         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18196         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18197         * posix/setgid.c (__setgid): Likewise.
18198         * posix/setpgid.c (__setpgid): Likewise.
18199         * posix/setuid.c (__setuid): Likewise.
18200         * posix/sleep.c (__sleep): Likewise.
18201         * posix/sysconf.c (__sysconf): Likewise.
18202         * posix/times.c (__times): Likewise.
18203         * posix/uname.c (__uname): Likewise.
18204         * posix/waitid.c (__waitid): Likewise.
18205         * pwd/getpw.c (__getpw): Likewise.
18206         * resolv/base64.c (b64_pton): Likewise.
18207         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18208         * resolv/gethnamaddr.c (Dprintf): Likewise.
18209         (gethostbyname): Likewise.
18210         (gethostbyname2): Likewise.
18211         (gethostbyaddr): Likewise.
18212         (_sethtent): Likewise.
18213         (_gethtbyname): Likewise.
18214         (_gethtbyname2): Likewise.
18215         (_gethtbyaddr): Likewise.
18216         (map_v4v6_address): Likewise.
18217         (map_v4v6_hostent): Likewise.
18218         (addrsort): Likewise.
18219         (ht_sethostent): Likewise.
18220         (ht_gethostbyname): Likewise.
18221         (ht_gethostbyaddr): Likewise.
18222         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18223         (inet_net_ntop_ipv4): Likewise.
18224         * resolv/inet_neta.c (inet_neta): Likewise.
18225         * resolv/inet_ntop.c (inet_ntop): Likewise.
18226         (inet_ntop4): Likewise.
18227         (inet_ntop6): Likewise.
18228         * resolv/inet_pton.c (__inet_pton): Likewise.
18229         (inet_pton4): Likewise.
18230         (inet_pton6): Likewise.
18231         * resolv/res_debug.c (loc_aton): Likewise.
18232         (loc_ntoa): Likewise.
18233         * resource/getpriority.c (__getpriority): Likewise.
18234         * resource/getrusage.c (__getrusage): Likewise.
18235         * resource/nice.c (nice): Likewise.
18236         * resource/setpriority.c (__setpriority): Likewise.
18237         * resource/setrlimit64.c (setrlimit64): Likewise.
18238         * resource/vlimit.c (vlimit): Likewise.
18239         * resource/vtimes.c (vtimes): Likewise.
18240         * rt/aio_error.c (aio_error): Likewise.
18241         * rt/aio_return.c (aio_return): Likewise.
18242         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18243         * signal/kill.c (__kill): Likewise.
18244         * signal/killpg.c (killpg): Likewise.
18245         * signal/raise.c (raise): Likewise.
18246         * signal/sigaction.c (__sigaction): Likewise.
18247         * signal/sigaddset.c (sigaddset): Likewise.
18248         * signal/sigaltstack.c (sigaltstack): Likewise.
18249         * signal/sigandset.c (sigandset): Likewise.
18250         * signal/sigblock.c (__sigblock): Likewise.
18251         * signal/sigdelset.c (sigdelset): Likewise.
18252         * signal/sigempty.c (sigemptyset): Likewise.
18253         * signal/sigfillset.c (sigfillset): Likewise.
18254         * signal/sighold.c (sighold): Likewise.
18255         * signal/sigignore.c (sigignore): Likewise.
18256         * signal/sigintr.c (siginterrupt): Likewise.
18257         * signal/sigisempty.c (sigisemptyset): Likewise.
18258         * signal/sigismem.c (sigismember): Likewise.
18259         * signal/signal.c (signal): Likewise.
18260         * signal/sigorset.c (sigorset): Likewise.
18261         * signal/sigpause.c (__sigpause): Likewise.
18262         * signal/sigpending.c (sigpending): Likewise.
18263         * signal/sigprocmask.c (__sigprocmask): Likewise.
18264         * signal/sigrelse.c (sigrelse): Likewise.
18265         * signal/sigreturn.c (__sigreturn): Likewise.
18266         * signal/sigset.c (sigset): Likewise.
18267         * signal/sigsetmask.c (__sigsetmask): Likewise.
18268         * signal/sigstack.c (sigstack): Likewise.
18269         * signal/sigsuspend.c (__sigsuspend): Likewise.
18270         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18271         * signal/sysv_signal.c (__sysv_signal): Likewise.
18272         * socket/accept.c (accept): Likewise.
18273         * socket/accept4.c (__libc_accept4): Likewise.
18274         * socket/bind.c (__bind): Likewise.
18275         * socket/connect.c (__connect): Likewise.
18276         * socket/getpeername.c (getpeername): Likewise.
18277         * socket/getsockname.c (__getsockname): Likewise.
18278         * socket/getsockopt.c (getsockopt): Likewise.
18279         * socket/listen.c (__listen): Likewise.
18280         * socket/recv.c (__recv): Likewise.
18281         * socket/recvmsg.c (__recvmsg): Likewise.
18282         * socket/send.c (__send): Likewise.
18283         * socket/sendmsg.c (__sendmsg): Likewise.
18284         * socket/shutdown.c (shutdown): Likewise.
18285         * socket/sockatmark.c (sockatmark): Likewise.
18286         * socket/socket.c (__socket): Likewise.
18287         * stdio-common/ctermid.c (ctermid): Likewise.
18288         * stdio-common/cuserid.c (cuserid): Likewise.
18289         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18290         * stdio-common/remove.c (remove): Likewise.
18291         * stdio-common/rename.c (rename): Likewise.
18292         * stdio-common/renameat.c (renameat): Likewise.
18293         * stdio-common/tempname.c (__gen_tempname): Likewise.
18294         * stdio-common/xbug.c (InitBuffer): Likewise.
18295         (AppendToBuffer): Likewise.
18296         (ReadFile): Likewise.
18297         * stdlib/a64l.c (a64l): Likewise.
18298         * stdlib/drand48_r.c (drand48_r): Likewise.
18299         * stdlib/getcontext.c (getcontext): Likewise.
18300         * stdlib/getenv.c (getenv): Likewise.
18301         * stdlib/l64a.c (l64a): Likewise.
18302         * stdlib/llabs.c (llabs): Likewise.
18303         * stdlib/lldiv.c (lldiv): Likewise.
18304         * stdlib/lrand48_r.c (lrand48_r): Likewise.
18305         * stdlib/mrand48_r.c (mrand48_r): Likewise.
18306         * stdlib/putenv.c (putenv): Likewise.
18307         * stdlib/random.c (__srandom): Likewise.
18308         (__initstate): Likewise.
18309         (__setstate): Likewise.
18310         * stdlib/random_r.c (__srandom_r): Likewise.
18311         (__setstate_r): Likewise.
18312         (__random_r): Likewise.
18313         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18314         * stdlib/setcontext.c (setcontext): Likewise.
18315         * stdlib/setenv.c (setenv): Likewise.
18316         (unsetenv): Likewise.
18317         * stdlib/srand48.c (srand48): Likewise.
18318         * stdlib/srand48_r.c (__srand48_r): Likewise.
18319         * stdlib/swapcontext.c (swapcontext): Likewise.
18320         * stdlib/system.c (__libc_system): Likewise.
18321         * stdlib/tst-strtod.c (expand): Likewise.
18322         * stdlib/tst-strtol.c (expand): Likewise.
18323         * stdlib/tst-strtoll.c (expand): Likewise.
18324         * streams/fattach.c (fattach): Likewise.
18325         * streams/fdetach.c (fdetach): Likewise.
18326         * streams/getmsg.c (getmsg): Likewise.
18327         * streams/isastream.c (isastream): Likewise.
18328         * string/ffs.c (__ffs): Likewise.
18329         * string/ffsll.c (ffsll): Likewise.
18330         * string/memcmp.c (memcmp_common_alignment): Likewise.
18331         (memcmp_not_common_alignment): Likewise.
18332         (MEMCMP): Likewise.
18333         * string/memcpy.c (memcpy): Likewise.
18334         * string/memmove.c (MEMMOVE): Likewise.
18335         * string/memset.c (memset): Likewise.
18336         * string/rawmemchr.c (RAWMEMCHR): Likewise.
18337         * string/strchrnul.c (STRCHRNUL): Likewise.
18338         * string/strerror.c (strerror): Likewise.
18339         * string/strndup.c (__strndup): Likewise.
18340         * string/strverscmp.c (__strverscmp): Likewise.
18341         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18342         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18343         (clnttcp_freeres): Likewise.
18344         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18345         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18346         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18347         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18348         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18349         (xdr_callhdr): Likewise.
18350         * sunrpc/rpcinfo.c (udpping): Likewise.
18351         (tcpping): Likewise.
18352         (pstatus): Likewise.
18353         (pmapdump): Likewise.
18354         (brdcst): Likewise.
18355         (deletereg): Likewise.
18356         (getprognum): Likewise.
18357         (getvers): Likewise.
18358         (get_inet_address): Likewise.
18359         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18360         * sunrpc/svc_udp.c (svcudp_create): Likewise.
18361         (svcudp_stat): Likewise.
18362         (svcudp_recv): Likewise.
18363         (svcudp_reply): Likewise.
18364         (svcudp_getargs): Likewise.
18365         (svcudp_freeargs): Likewise.
18366         (svcudp_destroy): Likewise.
18367         * sunrpc/xdr.c (xdr_bytes): Likewise.
18368         (xdr_netobj): Likewise.
18369         (xdr_string): Likewise.
18370         (xdr_wrapstring): Likewise.
18371         * sunrpc/xdr_float.c (xdr_float): Likewise.
18372         (xdr_double): Likewise.
18373         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18374         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18375         * sysvipc/ftok.c (ftok): Likewise.
18376         * sysvipc/msgctl.c (msgctl): Likewise.
18377         * sysvipc/msgget.c (msgget): Likewise.
18378         * sysvipc/msgrcv.c (msgrcv): Likewise.
18379         * sysvipc/msgsnd.c (msgsnd): Likewise.
18380         * sysvipc/semget.c (semget): Likewise.
18381         * sysvipc/semop.c (semop): Likewise.
18382         * sysvipc/shmat.c (shmat): Likewise.
18383         * sysvipc/shmctl.c (shmctl): Likewise.
18384         * sysvipc/shmdt.c (shmdt): Likewise.
18385         * sysvipc/shmget.c (shmget): Likewise.
18386         * termios/cfmakeraw.c (cfmakeraw): Likewise.
18387         * termios/speed.c (cfgetospeed): Likewise.
18388         (cfgetispeed): Likewise.
18389         (cfsetospeed): Likewise.
18390         (cfsetispeed): Likewise.
18391         * termios/tcflow.c (tcflow): Likewise.
18392         * termios/tcflush.c (tcflush): Likewise.
18393         * termios/tcgetattr.c (__tcgetattr): Likewise.
18394         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18395         * termios/tcgetsid.c (tcgetsid): Likewise.
18396         * termios/tcsendbrk.c (tcsendbreak): Likewise.
18397         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18398         * time/adjtime.c (__adjtime): Likewise.
18399         * time/dysize.c (dysize): Likewise.
18400         * time/ftime.c (ftime): Likewise.
18401         * time/getitimer.c (__getitimer): Likewise.
18402         * time/gettimeofday.c (__gettimeofday): Likewise.
18403         * time/gmtime.c (__gmtime_r): Likewise.
18404         (gmtime): Likewise.
18405         * time/localtime.c (__localtime_r): Likewise.
18406         (localtime): Likewise.
18407         * time/offtime.c (__offtime): Likewise.
18408         * time/settimeofday.c (__settimeofday): Likewise.
18409         * time/stime.c (stime): Likewise.
18410         * time/strftime_l.c (tm_diff): Likewise.
18411         (iso_week_days): Likewise.
18412         * time/strptime.c (strptime): Likewise.
18413         * time/time.c (time): Likewise.
18414         * time/timespec_get.c (timespec_get): Likewise.
18415         * time/tzset.c (tzset_internal): Likewise.
18416         (compute_change): Likewise.
18417         (__tz_compute): Likewise.
18418         * wcsmbs/btowc.c (__btowc): Likewise.
18419         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18420         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18421         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18422         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18423         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18424         * wcsmbs/wcscat.c (__wcscat): Likewise.
18425         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18426         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18427         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18428         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18429         * wcsmbs/wcsdup.c (wcsdup): Likewise.
18430         * wcsmbs/wcslen.c (__wcslen): Likewise.
18431         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18432         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18433         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18434         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18435         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18436         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18437         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18438         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18439         * wcsmbs/wcstok.c (wcstok): Likewise.
18440         * wcsmbs/wctob.c (wctob): Likewise.
18441         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18442         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18443         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18444         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18445         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18446         * wcsmbs/wmemset.c (__wmemset): Likewise.
18447         * wctype/wcfuncs.c (__towlower): Likewise.
18448         (__towupper): Likewise.
18450         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18451         (lll_unlock_elision): Add adapt_count parameter.
18453 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18455         * sysdeps/nptl/configure.ac: Do not give errors based on the
18456         results of top-level configure tests.
18457         * sysdeps/nptl/configure: Regenerated.
18459         * configure.ac (libc_cv_Bgroup): Remove configure test.
18460         * configure: Regenerated.
18461         * config.make.in (have-Bgroup): Remove variable.
18463         * configure.ac (sizeof_long_double): Remove configure test.
18464         * configure: Regenerated.
18465         * config.make.in (sizeof-long-double): Remove variable.
18467         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18468         * configure: Regenerated.
18469         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18470         variable.
18471         (exceptions): Likewise.
18472         * sysdeps/arm/configure: Regenerated.
18473         * config.make.in (exceptions): Remove variable.
18474         * Makeconfig (uses-callbacks): Use -fexceptions instead of
18475         $(exceptions).
18476         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18477         (CFLAGS-vdprintf_chk.c): Likewise.
18478         (CFLAGS-printf_chk.c): Likewise.
18479         (CFLAGS-fprintf_chk.c): Likewise.
18480         (CFLAGS-vprintf_chk.c): Likewise.
18481         (CFLAGS-vfprintf_chk.c): Likewise.
18482         (CFLAGS-gets_chk.c): Likewise.
18483         (CFLAGS-fgets_chk.c): Likewise.
18484         (CFLAGS-fgets_u_chk.c): Likewise.
18485         (CFLAGS-fread_chk.c): Likewise.
18486         (CFLAGS-fread_u_chk.c): Likewise.
18487         (CFLAGS-wprintf_chk.c): Likewise.
18488         (CFLAGS-fwprintf_chk.c): Likewise.
18489         (CFLAGS-vwprintf_chk.c): Likewise.
18490         (CFLAGS-vfwprintf_chk.c): Likewise.
18491         (CFLAGS-fgetws_chk.c): Likewise.
18492         (CFLAGS-fgetws_u_chk.c): Likewise.
18493         * libio/Makefile (CFLAGS-fileops.c): Likewise.
18494         (CFLAGS-fputc.c): Likewise.
18495         (CFLAGS-fputwc.c): Likewise.
18496         (CFLAGS-freopen64.c): Likewise.
18497         (CFLAGS-freopen.c): Likewise.
18498         (CFLAGS-fseek.c): Likewise.
18499         (CFLAGS-fseeko64.c): Likewise.
18500         (CFLAGS-fseeko.c): Likewise.
18501         (CFLAGS-ftello64.c): Likewise.
18502         (CFLAGS-ftello.c): Likewise.
18503         (CFLAGS-fwide.c): Likewise.
18504         (CFLAGS-genops.c): Likewise.
18505         (CFLAGS-getc.c): Likewise.
18506         (CFLAGS-getchar.c): Likewise.
18507         (CFLAGS-getwc.c): Likewise.
18508         (CFLAGS-getwchar.c): Likewise.
18509         (CFLAGS-iofclose.c): Likewise.
18510         (CFLAGS-iofflush.c): Likewise.
18511         (CFLAGS-iofgetpos64.c): Likewise.
18512         (CFLAGS-iofgetpos.c): Likewise.
18513         (CFLAGS-iofgets.c): Likewise.
18514         (CFLAGS-iofgetws.c): Likewise.
18515         (CFLAGS-iofputs.c): Likewise.
18516         (CFLAGS-iofputws.c): Likewise.
18517         (CFLAGS-iofread.c): Likewise.
18518         (CFLAGS-iofsetpos64.c): Likewise.
18519         (CFLAGS-iofsetpos.c): Likewise.
18520         (CFLAGS-ioftell.c): Likewise.
18521         (CFLAGS-iofwrite.c): Likewise.
18522         (CFLAGS-iogetdelim.c): Likewise.
18523         (CFLAGS-iogetline.c): Likewise.
18524         (CFLAGS-iogets.c): Likewise.
18525         (CFLAGS-iogetwline.c): Likewise.
18526         (CFLAGS-ioputs.c): Likewise.
18527         (CFLAGS-ioseekoff.c): Likewise.
18528         (CFLAGS-ioseekpos.c): Likewise.
18529         (CFLAGS-iosetbuffer.c): Likewise.
18530         (CFLAGS-iosetvbuf.c): Likewise.
18531         (CFLAGS-ioungetc.c): Likewise.
18532         (CFLAGS-ioungetwc.c): Likewise.
18533         (CFLAGS-oldfileops.c): Likewise.
18534         (CFLAGS-oldiofclose.c): Likewise.
18535         (CFLAGS-oldiofgetpos64.c): Likewise.
18536         (CFLAGS-oldiofgetpos.c): Likewise.
18537         (CFLAGS-oldiofsetpos64.c): Likewise.
18538         (CFLAGS-oldiofsetpos.c): Likewise.
18539         (CFLAGS-peekc.c): Likewise.
18540         (CFLAGS-putc.c): Likewise.
18541         (CFLAGS-putchar.c): Likewise.
18542         (CFLAGS-putwc.c): Likewise.
18543         (CFLAGS-putwchar.c): Likewise.
18544         (CFLAGS-rewind.c): Likewise.
18545         (CFLAGS-wfileops.c): Likewise.
18546         (CFLAGS-wgenops.c): Likewise.
18547         (CFLAGS-oldiofopen.c): Likewise.
18548         (CFLAGS-iofopen.c): Likewise.
18549         (CFLAGS-iofopen64.c): Likewise.
18550         (CFLAGS-oldtmpfile.c): Likewise.
18551         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18552         (CFLAGS-fprintf.c): Likewise.
18553         (CFLAGS-printf.c): Likewise.
18554         (CFLAGS-vfwprintf.c): Likewise.
18555         (CFLAGS-vfscanf.c): Likewise.
18556         (CFLAGS-vfwscanf.c): Likewise.
18557         (CFLAGS-fscanf.c): Likewise.
18558         (CFLAGS-scanf.c): Likewise.
18559         (CFLAGS-isoc99_vfscanf.c): Likewise.
18560         (CFLAGS-isoc99_vscanf.c): Likewise.
18561         (CFLAGS-isoc99_fscanf.c): Likewise.
18562         (CFLAGS-isoc99_scanf.c): Likewise.
18563         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
18564         (CFLAGS-isoc99_fwscanf.c): Likewise.
18565         (CFLAGS-isoc99_vwscanf.c): Likewise.
18566         (CFLAGS-isoc99_vfwscanf.c): Likewise.
18568         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
18569         after mkstemp64.
18570         * login/tst-utmp.c (do_prepare): Likewise.
18571         * rt/tst-aio.c (do_prepare): Likewise.
18572         * rt/tst-aio64.c (do_prepare): Likewise.
18574 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18576         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18577         (__lll_lock_elision): Remove adapt_count decrement...
18578         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18579         (__lll_trylock_elision): Likewise.
18580         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18581         (__lll_unlock_elision): ... to here. And utilize
18582         new adapt_count parameter.
18583         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18584         (__lll_unlock_elision): Update to include adapt_count
18585         parameter.
18586         (lll_unlock_elision): Pass pointer to adapt_count
18587         variable.
18589 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18591         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18592         Add elision adapt_count parameter to list of arguments.
18593         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18594         (lll_unlock_elision): Update with new parameter list
18595         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18596         (lll_unlock_elision): Likewise.
18597         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18598         (lll_unlock_elision): Likewise.
18600 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18602         [BZ #19122]
18603         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18604         attribute_hidden.
18606         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18607         attribute_hidden.
18608         [IS_IN (rtld)] (__strdup): Likewise.
18609         [IS_IN (rtld)] (__strerror_r): Likewise.
18610         [IS_IN (rtld)] (__strsep_g): Likewise.
18611         [IS_IN (rtld)] (memchr): Likewise.
18612         [IS_IN (rtld)] (memcmp): Likewise.
18613         [IS_IN (rtld)] (memcpy): Likewise.
18614         [IS_IN (rtld)] (memmove): Likewise.
18615         [IS_IN (rtld)] (memset): Likewise.
18616         [IS_IN (rtld)] (rawmemchr): Likewise.
18617         [IS_IN (rtld)] (stpcpy): Likewise.
18618         [IS_IN (rtld)] (strchr): Likewise.
18619         [IS_IN (rtld)] (strcmp): Likewise.
18620         [IS_IN (rtld)] (strlen): Likewise.
18621         [IS_IN (rtld)] (strnlen): Likewise.
18622         [IS_IN (rtld)] (strsep): Likewise.
18624         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18625         attribute_hidden.
18626         [IS_IN (rtld)] (__strtoul_internal): Likewise.
18628         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18629         attribute_hidden.
18630         [IS_IN (rtld)] (__libc_sigaction): Likewise.
18632         * include/setjmp.h (__longjmp): Add attribute_hidden.
18633         [IS_IN (rtld)] (__sigsetjmp): Likewise.
18635         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18636         Add attribute_hidden.
18638         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18639         [IS_IN (rtld)] (__open): Likewise.
18640         [IS_IN (rtld)] (__fcntl): Likewise.
18642         * include/dirent.h (__opendirat): Add attribute_hidden.
18643         (__getdents): Likewise.
18644         (__getdents64): Likewise.
18645         (__alloc_dir): Likewise.
18646         [IS_IN (rtld)] (__closedir): Likewise.
18647         [IS_IN (rtld)] (__fdopendir): Likewise.
18648         [IS_IN (rtld)] (__readdir): Likewise.
18649         [IS_IN (rtld)] (__readdir64): Likewise.
18650         [IS_IN (rtld)] (__rewinddir): Likewise.
18652         * include/dlfcn.h (_dl_catch_error): Moved to ...
18653         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18654         attribute_hidden.
18656         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18657         (_itoa_word): Likewise.
18659         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18660         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18661         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18662         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18663         (_dl_higher_prime_number): Likewise.
18664         (_dl_debug_printf_c): Likewise.
18665         (_dl_signal_cerror): Likewise.
18666         (_dl_receive_error): Likewise.
18667         (_dl_reloc_bad_type): Likewise.
18668         (_dl_resolve_conflicts): Likewise.
18669         (_dl_check_all_versions): Likewise.
18670         (_dl_check_map_versions): Likewise.
18671         (_dl_sort_fini): Likewise.
18672         (_dl_debug_initialize): Likewise.
18673         (_dl_init_paths): Likewise.
18674         (_dl_show_auxv): Likewise.
18675         (_dl_next_ld_env_entry): Likewise.
18676         (_dl_important_hwcaps): Likewise.
18677         (_dl_load_cache_lookup): Likewise.
18678         (_dl_update_slotinfo): Likewise.
18679         (_dl_show_scope): Likewise.
18681         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18682         attribute_hidden.
18683         (_wordcopy_fwd_dest_aligned): Likewise.
18684         (_wordcopy_bwd_aligned): Likewise.
18685         (_wordcopy_bwd_dest_aligned): Likewise.
18687         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18688         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18689         Likewise.
18690         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18691         Likewise.
18692         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18694 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18696         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18697         GCC 5 requirement.
18699 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18701         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18702         test.
18703         * sysdeps/i386/configure: Regenerated.
18704         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18705         code unconditional.
18707         * configure.ac (libc_cv_asm_previous_directive): Remove configure
18708         test.
18709         (libc_cv_asm_popsection_directive): Likewise.
18710         * configure: Regenerated.
18711         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18712         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18713         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18714         (__make_section_unallocated): Make definition unconditional.
18715         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18716         Remove conditional definition.
18717         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18718         (__make_section_unallocated): Likewise.
18720         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18721         * configure: Regenerated.
18722         * config.make.in (static-libgcc): Remove variable.
18723         * Makerules (build-shlib-helper): Use -static-libgcc instead of
18724         $(static-libgcc).
18725         (build-module-helper): Likewise.
18727         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18728         * configure: Regenerated.
18730 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18732         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18733         (struct char_buffer): New type.
18734         (char_buffer_start, char_buffer_size, char_buffer_error)
18735         (char_buffer_rewind, char_buffer_add): New functions.
18736         (ADDW): Remove macro, replaced by the char_buffer_add function.
18737         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18738         of extend_alloca.  Make control flow more explicit.
18740 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18742         [BZ #19137]
18743         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18744         Add -fomit-frame-pointer.
18745         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18747 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18749         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18750         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18751         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18752         only if !__GNUC_PREREQ (5,0).
18753         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18754         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18755         (INTERNAL_SYSCALL_NCS): Likewise.
18756         (LOADREGS_0): New macro for GCC 5.
18757         (ASMARGS_0): Likewise.
18758         (LOADREGS_1): Likewise.
18759         (ASMARGS_1): Likewise.
18760         (LOADREGS_2): Likewise.
18761         (ASMARGS_2): Likewise.
18762         (LOADREGS_3): Likewise.
18763         (ASMARGS_3): Likewise.
18764         (LOADREGS_4): Likewise.
18765         (ASMARGS_4): Likewise.
18766         (LOADREGS_5): Likewise.
18767         (ASMARGS_5): Likewise.
18768         (LOADREGS_6): Likewise.
18769         (ASMARGS_6): Likewise.
18771 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18773         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18774         -fomit-frame-pointer.
18775         (CFLAGS-mmap64.c): Likewise.
18776         (CFLAGS-semtimedop.c): Likewise.
18777         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18778         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18779         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18780         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18782 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18784         [BZ #18928]
18785         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18786         _dl_pointer_guard member.
18787         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18788         initializer.
18789         (security_init): Always set up pointer guard.
18790         (process_envvars): Do not process LD_POINTER_GUARD.
18792 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
18794         [BZ #19134]
18795         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18796         (.LC2): Likewise.
18797         (.LC3): Likewise.
18798         (__lround): Do not add 0.5 to integer or out-of-range arguments.
18800 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18802         [BZ #19129]
18803         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18804         r0 and r1.
18806 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
18808         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18810 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
18812         * include/stap-probe.h: Fix macro definition formatting.
18814 2015-10-14  Florian Weimer  <fweimer@redhat.com>
18816         [BZ #19074]
18817         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18818         load and store num_ifs.
18820 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18822         [BZ #18822]
18823         * sysdeps/unix/sysv/linux/sched_getaffinity.c
18824         (__sched_getaffinity_new): Add libc_hidden_proto and
18825         libc_hidden_def.
18827 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18829         [BZ #19007]
18830         * scripts/localplt.awk: Also allow GOT references.
18831         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18832         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18833         with "+ REL R_386_GLOB_DAT".
18834         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18835         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18837 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18839         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18840         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18841         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18842         Likewise.
18843         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18844         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18845         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18846         INTERNAL_SYSCALLINTERNAL_SYSCALL and
18847         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18848         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18849         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18850         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18851         Likewise.
18852         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18854 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18856         [BZ #19125]
18857         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18858         <math_private.h> and <stdint.h>.
18859         (__llround): Avoid conversions to and from long long int, and
18860         subtractions, where those might raise spurious exceptions.
18861         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18862         <math_private.h> and <stdint.h>.
18863         (__llroundf): Avoid conversions to and from long long int, and
18864         subtractions, where those might raise spurious exceptions.
18866 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18868         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18869         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18870         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18871         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18872         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18873         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18874         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18875         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18876         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18877         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18878         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18879         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18880         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18881         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18882         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18883         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18884         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18885         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18886         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18887         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18888         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18889         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18890         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18891         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18892         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18893         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18894         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18895         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18896         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18897         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18898         (__xstat64_conv): Likewise.
18899         (__xstat32_conv): Likewise.
18901 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18903         * sysdeps/unix/sysv/linux/sysdep.h: New file.
18904         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18905         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18906         <sysdeps/unix/sysv/linux/sysdep.h>.
18907         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18908         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18909         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18910         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18911         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18912         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18913         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18914         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18915         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18918         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18920         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18921         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18923         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18924         (sysdep-dl-routines): Add sysdep.
18925         [$(subdir) == nptl] (libpthread-routines): Likewise.
18926         [$(subdir) == rt] (librt-routines): Likewise.
18927         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18928         PIC when branching to SYSCALL_ERROR_LABEL.
18929         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18930         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18931         <sysdeps/unix/sysv/linux/sysdep.h>.
18932         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18933         (SYSCALL_ERROR_ERRNO): Removed.
18934         (SYSCALL_ERROR_HANDLER): Changed to empty.
18935         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18936         (__syscall_error): New prototype.
18937         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18938         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18940 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18942         [BZ #19124]
18943         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18944         (_dl_runtime_resolve_avx512): Make it a hidden alias of
18945         _dl_runtime_resolve_avx.
18946         (_dl_runtime_profile_avx512): Make it a hidden alias of
18947         _dl_runtime_profile_avx.
18949 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18951         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18952         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18953         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18954         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18956         [BZ #16422]
18957         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18958         New configure test.
18959         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18960         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18961         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18962         <math_private.h> and <stdint.h>.
18963         (__llrint): Avoid conversions to long long int where those might
18964         raise spurious exceptions.
18965         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18966         <math_private.h> and <stdint.h>.
18967         (__llrintf): Avoid conversions to long long int where those might
18968         raise spurious exceptions.
18970 2015-10-12  Andreas Schwab  <schwab@suse.de>
18972         [BZ #18969]
18973         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
18974         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18975         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
18976         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18977         $(gen-locales).
18978         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
18979         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18980         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18981         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18982         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18983         $(gen-locales).
18984         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
18985         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18986         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18987         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18988         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18989         ($(objpfx)tst-ftell-active-handler.out)
18990         ($(objpfx)tst-ftell-append.out)
18991         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18992         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18993         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18994         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18995         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
18996         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18997         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18998         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18999         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
19000         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
19001         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
19002         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
19003         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
19004         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
19005         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
19006         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
19007         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
19008         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
19009         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
19010         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
19011         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
19012         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
19013         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
19014         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
19015         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
19016         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
19017         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
19018         $(gen-locales).
19019         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
19020         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
19021         $(gen-locales).
19022         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
19023         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
19024         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
19025         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
19026         $(gen-locales).
19027         * libio/tst_wprintf2.c (main): Use explicit locale.
19028         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19030 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19032         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19033         __msg_sig_post.
19034         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19036 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19038         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19039         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19041         * sysdeps/arm/libm-test-ulps: Regenerated.
19043         [BZ #15470]
19044         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19046         [BZ #16399]
19047         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19048         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19049         and <fix-fp-int-convert-overflow.h>.
19050         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19051         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19052         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19053         and <fix-fp-int-convert-overflow.h>.
19054         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19055         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19056         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19057         <fix-fp-int-convert-overflow.h>.
19058         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19059         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19060         * sysdeps/ieee754/dbl-64/s_lround.c: Include
19061         <fix-fp-int-convert-overflow.h>.
19062         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19063         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19064         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19065         and <fix-fp-int-convert-overflow.h>.
19066         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19067         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19068         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19069         <limits.h> and <fix-fp-int-convert-overflow.h>.
19070         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19071         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19072         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19073         and <fix-fp-int-convert-overflow.h>.
19074         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19075         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19076         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19077         and <fix-fp-int-convert-overflow.h>.
19078         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19079         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19080         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19082 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
19084         [BZ #18589]
19085         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19086         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19087         $(gen-locales).
19089 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19090             Phil Blundell <pb@pbcl.net>
19092         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19093         * nptl/tst-cancel26.c: New file.
19094         * nptl/tst-cancel27.c: Likewise.
19096 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
19098         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19099         __ILP32__ isn't defined.
19100         (lrint): Likewise.
19101         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19102         (lrintf): Likewise.
19103         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19104         (lrintl): Likewise.
19105         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19106         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19107         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19109 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19111         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19112         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19114         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19115         file.
19116         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19117         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19119 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19121         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19122         configure test.
19123         * sysdeps/i386/configure: Regenerated.
19124         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19125         configure test.
19126         * sysdeps/x86_64/configure: Regenerated.
19127         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19128         Make code unconditional.
19130         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19131         test.
19132         * sysdeps/i386/configure: Regenerated.
19133         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19134         test.
19135         * sysdeps/x86_64/configure: Regenerated.
19136         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19137         Make code unconditional.
19138         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19139         Likewise.
19140         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19141         Likewise.
19142         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19143         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19144         code unconditional.
19145         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19146         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19147         code unconditional.
19148         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19149         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19150         code unconditional.
19151         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19152         code unconditional.
19153         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19154         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19155         code unconditional.
19156         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19157         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19158         code unconditional.
19159         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19160         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19161         code unconditional.
19162         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19163         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19164         code unconditional.
19165         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19166         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19168         [BZ #19095]
19169         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19170         mantissa to long int before shifting left.
19172 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19174         [BZ #19094]
19175         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19176         <limits.h>.
19177         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19178         when result overflows but exception would not result from cast.
19179         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19180         <limits.h>.
19181         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19182         when result overflows but exception would not result from cast.
19183         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19184         <limits.h>.
19185         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19186         when result overflows but exception would not result from cast.
19187         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19188         <limits.h>.
19189         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19190         when result overflows but exception would not result from cast.
19191         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19192         <limits.h>.
19193         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19194         when result overflows but exception would not result from cast.
19195         * math/libm-test.inc (lrint_test_data): Add more tests.
19196         (llrint_test_data): Likewise.
19198 2015-10-08  Roland McGrath  <roland@hack.frob.com>
19200         [BZ #18872]
19201         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19202         Move out from under [$(run-built-tests) = yes] conditional.
19203         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19204         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19206 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
19208         [BZ #18589]
19209         * string/Makefile (tests): Add bug-strcoll2.
19210         (LOCALES): Add cs_CZ.UTF-8.
19211         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19213         [BZ #18589]
19214         * string/bug-strcoll2.c: New file.
19215         * locale/categories.def: Revert commit
19216         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19217         * locale/langinfo.h: Likewise.
19218         * locale/localeinfo.h: Likewise.
19219         * locale/C-collate.c: Likewise.
19220         * locale/programs/ld-collate.c (collate_output): Likewise.
19221         * string/strcoll_l.c (STRDIFF): Likewise.
19222         (STRCOLL): Likewise.
19223         * wcsmbs/wcscoll_l.c: Likewise.
19225 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19227         * math/libm-test.inc (lround_test_data): Do not expect the absence
19228         of "inexact" for some tests with non-integer arguments.
19229         (llround_test_data): Likewise.
19231         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19232         test.
19233         (libc_cv_cc_sse2avx): Likewise.
19234         * sysdeps/i386/configure: Regenerated.
19235         * sysdeps/i386/i686/multiarch/Makefile
19236         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19237         [$(subdir) = math].
19238         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19239         code unconditional.
19240         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19241         Likewise.
19242         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19243         Likewise.
19244         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19245         Likewise.
19246         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19247         test.
19248         (libc_cv_cc_sse2avx): Likewise.
19249         * sysdeps/x86_64/configure: Regenerated.
19250         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19251         unconditional.
19252         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19253         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19254         unconditional.
19255         (_dl_runtime_profile)
19256         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19257         conditional code.
19258         * sysdeps/x86_64/fpu/multiarch/Makefile
19259         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19260         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19261         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19262         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19263         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19264         * sysdeps/x86_64/fpu/multiarch/e_log.c
19265         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19266         * sysdeps/x86_64/fpu/multiarch/s_atan.c
19267         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19268         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19269         Likewise.
19270         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19271         Likewise.
19272         * sysdeps/x86_64/fpu/multiarch/s_sin.c
19273         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19274         * sysdeps/x86_64/fpu/multiarch/s_tan.c
19275         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19276         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19277         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19278         (HAVE_SSE2AVX_SUPPORT): Likewise.
19280 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
19282         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19283         instead of #pragma optimize.
19285 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19287         [BZ #17195]
19288         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19289         as is similarly done in systrim and _int_free already.
19291 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19293         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19295 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19297         [BZ #19088]
19298         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19299         <limits.h>.
19300         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19301         overflows but exception would not result from cast.
19302         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19303         and <limits.h>.
19304         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19305         overflows but exception would not result from cast.
19306         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19307         <limits.h>.
19308         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19309         overflows but exception would not result from cast.
19310         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19311         <limits.h>.
19312         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19313         overflows but exception would not result from cast.
19314         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19315         <limits.h>.
19316         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19317         overflows but exception would not result from cast.
19318         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19319         <limits.h>.
19320         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19321         overflows but exception would not result from cast.
19322         * math/libm-test.inc (lround_test_data): Add more tests.
19323         (llround_test_data): Likewise.
19325 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
19327         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19328         (CFLAGS-ialloc.c): Ditto.
19329         (CFLAGS-scheck.c): Ditto.
19331 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19333         [BZ #19086]
19334         * manual/filesys.texi (Storage Allocation): Fix argument order for
19335         posix_fallocate64.
19337 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19339         [BZ #19085]
19340         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19341         exponent below 48 inside case for non-overflowing exponent.
19342         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19344 2015-10-07  Florian Weimer  <fweimer@redhat.com>
19346         * iconvdata/cp737.h (from_idx): Add const.
19347         * iconvdata/cp775.h (from_idx): Likewise.
19349 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19351         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19352         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19353         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19355         [BZ #19079]
19356         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19357         file, conditioned on [!_LP64].
19358         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19359         [!_LP64] (__lround): Do not define as function or alias.
19360         [!_LP64] (lround): Likewise.
19361         [!_LP64] (__lroundl): Likewise.
19362         [!_LP64] (lroundl): Likewise.
19363         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19364         macro.
19365         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19366         Likewise.
19368 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19370         * math/libm-test.inc (lrint_test_data): Add more tests.
19371         (llrint_test_data): Likewise.
19372         (lround_test_data): Likewise.
19373         (llround_test_data): Likewise.
19375         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19376         (llrint_test_data): Add tests used for lrint.
19378         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19379         test.
19380         * sysdeps/i386/configure: Regenerated.
19381         * sysdeps/i386/i686/multiarch/Makefile
19382         [$(config-cflags-sse4) = yes]: Make code unconditional.
19383         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19384         Likewise.
19385         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19386         Likewise.
19387         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19388         test.
19389         * sysdeps/x86_64/configure: Regenerated.
19390         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19391         Make code unconditional.
19392         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19393         Likewise.
19394         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19395         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19397         * scripts/rpm2dynsym.sh: Remove file.
19399 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19401         * configure.ac (libc_cv_cxx_thread_local): Define.
19402         * configure: Regenerate.
19403         * config.make.in (have-cxx-thread_local): Define.
19404         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19405         (LDLIBS-tst-thread_local1): Define.
19406         (tests): Add tst-thread_local1.
19407         [have-cxx-thread_local != yes] (tests-unsupported): Add
19408         tst-thread_local1.
19409         * nptl/tst-thread_local1.cc: New file.
19411 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19413         [BZ #19078]
19414         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19415         (u_thres): Likewise.
19416         (__expl): Determine whether to call __kernel_standard_l based on
19417         value of result, not argument.
19419         * math/libm-test.inc (scalb_test_data): Add more expectations for
19420         the "inexact" exception.
19422         [BZ #19077]
19423         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19424         0.0L for argument 1.0L.
19426         [BZ #19076]
19427         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19428         constant 0.0L when computing infinite result.
19430 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19432         [BZ #10432]
19433         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19434         malloc_usable_size.
19436 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19438         [BZ #19018]
19439         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19440         Mangle function pointer before storing it.
19441         (__call_tls_dtors): Demangle function pointer before calling it.
19443 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19445         [BZ #19012]
19446         * iconv/gconv_db.c (gen_steps): Check for additional errors.
19447         Clean up on failure.
19449 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
19451         [BZ #19071]
19452         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19453         long int variable to store possibly incremented high part of
19454         mantissa.
19455         * math/libm-test.inc (lround_test_data): Add tests used for
19456         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
19457         for tests requiring 64-bit long.  Do not condition tests on
19458         [TEST_FLOAT] unnecessarily.
19459         (llround_test_data): Add tests used for lround.  Add another
19460         expectation for the "inexact" exception.  Do not condition tests
19461         on [TEST_FLOAT] unnecessarily.
19463         [BZ #887]
19464         [BZ #19049]
19465         [BZ #19050]
19466         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19467         * sysdeps/ieee754/dbl-64/e_log10.c: Include
19468         <fix-int-fp-convert-zero.h>.
19469         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19470         * sysdeps/ieee754/dbl-64/e_log2.c: Include
19471         <fix-int-fp-convert-zero.h>.
19472         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19473         * sysdeps/ieee754/dbl-64/s_erf.c: Include
19474         <fix-int-fp-convert-zero.h>.
19475         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19476         * sysdeps/ieee754/dbl-64/s_logb.c: Include
19477         <fix-int-fp-convert-zero.h>.
19478         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19479         * sysdeps/ieee754/flt-32/e_log10f.c: Include
19480         <fix-int-fp-convert-zero.h>.
19481         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19482         * sysdeps/ieee754/flt-32/e_log2f.c: Include
19483         <fix-int-fp-convert-zero.h>.
19484         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19485         * sysdeps/ieee754/flt-32/s_erff.c: Include
19486         <fix-int-fp-convert-zero.h>.
19487         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19488         * sysdeps/ieee754/flt-32/s_logbf.c: Include
19489         <fix-int-fp-convert-zero.h>.
19490         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19491         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19492         <fix-int-fp-convert-zero.h>.
19493         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19494         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19495         <fix-int-fp-convert-zero.h>.
19496         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19497         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19498         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19499         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19500         file.
19501         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19503 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19505         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19507 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
19509         [BZ #19059]
19510         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19511         overflowing computation.
19512         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19513         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19514         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19515         Likewise.
19516         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19517         Likewise.
19518         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19519         Likewise.
19520         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19521         Likewise.
19522         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19523         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19524         Likewise.
19525         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19526         Likewise.
19527         * math/libm-test.inc (nexttoward_test_data): Add more tests.
19529         * nss/rewrite_field.c (__nss_rewrite_field): Use
19530         internal_function.
19531         * nss/valid_field.c (__nss_valid_field): Likewise.
19532         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19534 2015-10-02  Florian Weimer  <fweimer@redhat.com>
19536         [BZ #18724]
19537         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19538         (__nss_invalid_field_characters, __nss_valid_field)
19539         (__nss_valid_list_field, __nss_rewrite_field): Declare.
19540         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
19541         tst-field.c: New file.
19542         * nss/Makefile (routines): Add valid_field, rewrite_field.
19543         (tests-static): Define unconditionally.
19544         (tests): Include tests-static.
19545         [build-static-nss] (tests-static): Use append.
19546         [build-static-nss] (tests): Remove modification.
19547         * nss/getent.c (print_group): Call putgrent.  Report error.
19548         (print_gshadow): Call putsgent.  Report error.
19549         (print_passwd): Call putpwent.  Report error.
19550         (print_shadow): Call putspent.  Report error.
19551         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19552         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
19553         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
19554         name, password, directory, shell fields for valid syntax.  Rewrite
19555         GECOS field to match syntax.
19556         * pwd/Makefile (tests): Add tst-putpwent.
19557         * pwd/tst-putpwent.c: New file.
19558         * grp/putgrent.c (putgrent): Convert to ISO function definition.
19559         Check grName, grpasswd, gr_mem fields for valid syntax.
19560         Change loop variable i to size_t.
19561         * grp/Makefile (tests): Add tst-putgrent.
19562         * grp/tst-putgrent.c: New file.
19563         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
19564         valid syntax.
19565         * shadow/Makefile (tests): Add tst-putspent.
19566         * shadow/tst-putspent.c: New file.
19567         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
19568         sg_mem fields for valid syntax.
19569         * gshadow/Makefile (tests): Add tst-putsgent.
19570         * gshadow/tst-putsgent.c: New file.
19572 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19574         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
19575         assembly instructions.
19577 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19579         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19580         prefix from operands.
19582 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
19584         [BZ #16347]
19585         [BZ #19046]
19586         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19587         <libc-internal.h>.
19588         (MAXLGM): Do not use diagnostic control macros.
19589         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19590         threshold for ldbl-128ibm.
19591         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19592         instead of multiplying by log then subtracting.
19593         * math/auto-libm-test-in: Add more tests of lgamma.
19594         * math/auto-libm-test-out: Regenerated.
19596         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19597         (TYPE_HEX_DIG): Likewise.
19598         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19599         precisions when printing floating-point numbers.
19600         (check_float_internal): Likewise.
19602 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19604         [BZ #16620]
19605         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19606         of log (10) rounded downward to 48 bits.
19607         (log10_low): Use corresponding low part of log (10).
19609         [BZ #19032]
19610         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19611         compute result as (x - x) / (x - x) not as 0 / 0.
19612         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19613         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19615         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19616         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19617         and expm1.
19618         * math/auto-libm-test-out: Regenerated.
19619         * math/libm-test.inc (acos_test_data): Add more tests.
19620         (asin_test_data): Likewise.
19621         (asinh_test_data): Likewise.
19622         (atan_test_data): Likewise.
19623         (atanh_test_data): Likewise.
19624         (atan2_test_data): Likewise.
19625         (cbrt_test_data): Likewise.
19626         (ceil_test_data): Likewise.
19627         (copysign_test_data): Likewise.
19628         (cos_test_data): Likewise.
19629         (cosh_test_data): Likewise.
19630         (erf_test_data): Likewise.
19631         (erfc_test_data): Likewise.
19632         (exp_test_data): Likewise.
19633         (exp10_test_data): Likewise.
19634         (exp2_test_data): Likewise.
19635         (expm1_test_data): Likewise.
19636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19638 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
19640         [BZ #19006]
19641         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19642         to ...
19643         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19644         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19645         to ...
19646         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19647         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19648         to ...
19649         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19650         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19651         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19652         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19653         to ...
19654         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19655         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19656         Moved to ...
19657         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19658         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19659         Moved to ...
19660         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19661         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19662         to ...
19663         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19664         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19665         Moved to ...
19666         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19667         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19668         to ...
19669         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19670         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19671         Removed.
19672         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19673         Likewise.
19674         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19675         Likewise.
19676         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19677         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19678         Likewise.
19679         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19680         Likewise.
19681         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19682         Likewise.
19683         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19684         Likewise.
19685         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19686         Likewise.
19687         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19688         Likewise.
19689         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19690         Likewise.
19691         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19692         Likewise.
19693         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19694         Likewise.
19695         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19696         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19697         Likewise.
19698         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19699         Likewise.
19700         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19701         Likewise.
19702         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19703         Likewise.
19704         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19705         Likewise.
19706         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19707         Replace ../i486/pthread_cond_timedwait.S with
19708         ../pthread_cond_timedwait.S.
19710 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19712         * math/libm-test.inc (acos_test_data): Refine expectations for
19713         errno and "inexact" exceptions.
19714         (acosh_test_data): Likewise.
19715         (asin_test_data): Likewise.
19716         (asinh_test_data): Likewise.
19717         (atan_test_data): Likewise.
19718         (atanh_test_data): Likewise.
19719         (atan2_test_data): Likewise.
19720         (cbrt_test_data): Likewise.
19721         (ceil_test_data): Likewise.
19722         (copysign_test_data): Likewise.
19723         (cosh_test_data): Likewise.
19724         (erf_test_data): Likewise.
19725         (erfc_test_data): Likewise.
19726         (exp_test_data): Likewise.
19727         (exp10_test_data): Likewise.
19728         (exp2_test_data): Likewise.
19729         (expm1_test_data): Likewise.
19730         (fabs_test_data): Likewise.
19731         (floor_test_data): Likewise.
19732         (fma_test_data): Likewise.
19733         (fmax_test_data): Likewise.
19734         (fmin_test_data): Likewise.
19735         (fmod_test_data): Likewise.
19736         (fpclassify_test_data): Likewise.
19737         (frexp_test_data): Likewise.
19738         (hypot_test_data): Likewise.
19739         (ilogb_test_data): Likewise.
19740         (isgreater_test_data): Likewise.
19741         (isgreaterequal_test_data): Likewise.
19742         (isinf_test_data): Likewise.
19743         (isless_test_data): Likewise.
19744         (islessequal_test_data): Likewise.
19745         (islessgreater_test_data): Likewise.
19746         (isnan_test_data): Likewise.
19747         (isnormal_test_data): Likewise.
19748         (issignaling_test_data): Likewise.
19749         (isunordered_test_data): Likewise.
19750         (j0_test_data): Likewise.
19751         (j1_test_data): Likewise.
19752         (jn_test_data): Likewise.
19753         (lgamma_test_data): Likewise.
19754         (lrint_test_data): Likewise.
19755         (llrint_test_data): Likewise.
19756         (log_test_data): Likewise.
19757         (log10_test_data): Likewise.
19758         (log1p_test_data): Likewise.
19759         (log2_test_data): Likewise.
19760         (logb_test_data): Likewise.
19761         (lround_test_data): Likewise.
19762         (llround_test_data): Likewise.
19763         (modf_test_data): Likewise.
19764         (nearbyint_test_data): Likewise.
19765         (nextafter_test_data): Likewise.
19766         (nexttoward_test_data): Likewise.
19767         (pow_test_data): Likewise.
19768         (remainder_test_data): Likewise.
19769         (remquo_test_data): Likewise.
19770         (rint_test_data): Likewise.
19771         (round_test_data): Likewise.
19772         (signbit_test_data): Likewise.
19773         (sinh_test_data): Likewise.
19774         (sqrt_test_data): Likewise.
19775         (tanh_test_data): Likewise.
19776         (tgamma_test_data): Likewise.
19777         (trunc_test_data): Likewise.
19778         (y0_test_data): Likewise.
19779         (y1_test_data): Likewise.
19780         (yn_test_data): Likewise.
19781         (significand_test_data): Likewise.
19783 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
19785         * manual/filesys.texi (Storage Allocation): Document that
19786         posix_fallocate emulation fails when fd is open with O_WRONLY.
19788 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
19790         [BZ #19016]
19791         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19792         allow more cases with X^2 + Y^2 >= 0.5.
19793         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
19794         normal element in sum instead of special-casing based on values of
19795         arguments.
19796         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19797         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
19798         -1 as normal element in sum instead of special-casing based on
19799         values of arguments.
19800         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19801         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19802         (__x2y2m1): Update comment.
19803         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
19804         as normal element in sum instead of special-casing based on values
19805         of arguments.
19806         * math/s_clog.c (__clog): Handle more cases using log1p without
19807         hypot.
19808         * math/s_clog10.c (__clog10): Likewise.
19809         * math/s_clog10f.c (__clog10f): Likewise.
19810         * math/s_clog10l.c (__clog10l): Likewise.
19811         * math/s_clogf.c (__clogf): Likewise.
19812         * math/s_clogl.c (__clogl): Likewise.
19813         * math/auto-libm-test-in: Add more tests of clog and clog10.
19814         * math/auto-libm-test-out: Regenerated.
19815         * sysdeps/i386/fpu/libm-test-ulps: Update.
19816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19818 2015-09-28  Martin Sebor  <msebor@redhat.com>
19820         [BZ #18969]
19821         * string/Makefile (LOCALES): Define.
19822         (gen-locales.mk): Include.
19823         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19824         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19825         * string/tst-strxfrm2.c (do_test): Print the name of the locale
19826         on setlocale failure.
19828 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19830         [BZ #18985]
19831         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19832         (__strftime_internal): Likewise.
19833         * time/tst-strftime.c (do_bz18985): New test.
19834         (do_test): Call it.
19836 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
19838         [BZ #18956]
19839         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19840         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
19841         extracting high part.
19842         * math/auto-libm-test-in: Add another test of pow.
19843         * math/auto-libm-test-out: Regenerated.
19844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19846 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19848         [BZ #18825]
19849         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19850         New macro.
19851         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19852         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19853         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19854         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19855         DBL_NARROW_EVAL, reloading the PIC register as needed.
19856         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19857         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19858         FLT_NARROW_EVAL.  Use separate return path for case when first
19859         argument is NaN.
19860         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
19861         DEFINE_LDBL_MIN.
19862         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19863         PIC register.
19864         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19865         math_check_force_underflow_nonneg.
19866         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19867         underflow for subnormal result.
19868         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19869         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19870         math_check_force_underflow_nonneg.
19871         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19872         math_check_force_underflow.
19873         * sysdeps/x86_64/fpu/x86_64-math-asm.h
19874         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19875         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
19876         DEFINE_LDBL_MIN.
19877         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19878         * math/auto-libm-test-in: Add more tests of pow.
19879         * math/auto-libm-test-out: Regenerated.
19881 2015-09-25  Florian Weimer  <fweimer@redhat.com>
19883         * nss/bug17079.c (init_test_items): Add diagnostic for
19884         inconsistent entries.
19885         (test_buffer_size): Skip inconsistent entries.
19887 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19889         [BZ #13304]
19890         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19891         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19892         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19894         [BZ #13304]
19895         * sysdeps/microblaze/s_fma.c: New file.
19896         * sysdeps/microblaze/s_fmaf.c: Likewise.
19897         * sysdeps/microblaze/sfp-machine.h: Likewise.
19899 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
19901         [BZ #17250]
19902         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19903         member.
19905 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19907         [BZ #18803]
19908         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19909         (MO): New macro.
19910         (__ieee754_hypot) [PIC]: Load PIC register.
19911         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19912         DBL_NARROW_EVAL.
19913         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19914         math_check_force_underflow_nonneg in case where result might be
19915         tiny.
19916         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19917         Likewise.
19918         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19919         Likewise.
19920         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19921         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19922         * math/auto-libm-test-in: Add more tests of hypot.
19923         * math/auto-libm-test-out: Regenerated.
19925 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
19927         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19929 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19931         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19932         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19933         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19934         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19935         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19936         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19937         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19939         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19940         LOAD_PIC_REG.
19942         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19943         (FLT_CHECK_FORCE_UFLOW): Likewise.
19944         (DBL_CHECK_FORCE_UFLOW): Likewise.
19945         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19946         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19947         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19948         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19949         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19950         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19951         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19952         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19953         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19954         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19955         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19956         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19957         (flt_min): Replace with use of DEFINE_FLT_MIN.
19958         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19959         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19960         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19961         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19962         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19963         (flt_min): Replace with use of DEFINE_FLT_MIN.
19964         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19965         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19966         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19967         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19968         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19969         (flt_min): Replace with use of DEFINE_FLT_MIN.
19970         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19971         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19972         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19973         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19974         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19975         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19976         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19977         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19978         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19979         (__atan): Use DBL_CHECK_FORCE_UFLOW.
19980         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19981         (flt_min): Replace with use of DEFINE_FLT_MIN.
19982         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19983         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19984         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19985         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
19986         main computation.
19987         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19988         (flt_min): Replace with use of DEFINE_FLT_MIN.
19989         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
19990         main computation.
19991         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19992         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19993         (MO): New macro.
19994         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19995         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19996         (flt_min): Replace with use of DEFINE_FLT_MIN.
19997         (MO): New macro.
19998         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19999         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
20000         (__log1pl): Use MO.
20002         [BZ #19003]
20003         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
20004         $(config-cflags-nofma).
20006 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20008         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20010 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
20012         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
20013         (TWO127): Likewise.
20015         * sysdeps/generic/math_private.h (fabs_tg): New macro.
20016         (min_of_type): Likewise.
20017         (math_check_force_underflow): Likewise.
20018         (math_check_force_underflow_nonneg): Likewise.
20019         (math_check_force_underflow_complex): Likewise.
20020         * math/e_exp2l.c (__ieee754_exp2l): Use
20021         math_check_force_underflow_nonneg.
20022         * math/k_casinh.c (__kernel_casinh): Likewise.
20023         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20024         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20025         * math/s_catan.c (__catan): Use
20026         math_check_force_underflow_complex.
20027         * math/s_catanf.c (__catanf): Likewise.
20028         * math/s_catanh.c (__catanh): Likewise.
20029         * math/s_catanhf.c (__catanhf): Likewise.
20030         * math/s_catanhl.c (__catanhl): Likewise.
20031         * math/s_catanl.c (__catanl): Likewise.
20032         * math/s_ccosh.c (__ccosh): Likewise.
20033         * math/s_ccoshf.c (__ccoshf): Likewise.
20034         * math/s_ccoshl.c (__ccoshl): Likewise.
20035         * math/s_cexp.c (__cexp): Likewise.
20036         * math/s_cexpf.c (__cexpf): Likewise.
20037         * math/s_cexpl.c (__cexpl): Likewise.
20038         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20039         * math/s_clog10.c (__clog10): Likewise.
20040         * math/s_clog10f.c (__clog10f): Likewise.
20041         * math/s_clog10l.c (__clog10l): Likewise.
20042         * math/s_clogf.c (__clogf): Likewise.
20043         * math/s_clogl.c (__clogl): Likewise.
20044         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20045         * math/s_csinf.c (__csinf): Likewise.
20046         * math/s_csinh.c (__csinh): Likewise.
20047         * math/s_csinhf.c (__csinhf): Likewise.
20048         * math/s_csinhl.c (__csinhl): Likewise.
20049         * math/s_csinl.c (__csinl): Likewise.
20050         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20051         * math/s_csqrtf.c (__csqrtf): Likewise.
20052         * math/s_csqrtl.c (__csqrtl): Likewise.
20053         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20054         * math/s_ctanf.c (__ctanf): Likewise.
20055         * math/s_ctanh.c (__ctanh): Likewise.
20056         * math/s_ctanhf.c (__ctanhf): Likewise.
20057         * math/s_ctanhl.c (__ctanhl): Likewise.
20058         * math/s_ctanl.c (__ctanl): Likewise.
20059         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20060         instead of volatile.
20061         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20062         math_check_force_underflow.
20063         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20064         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20065         volatile when forcing underflow.
20066         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20067         math_check_force_underflow_nonneg.
20068         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20069         Likewise.
20070         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20071         math_check_force_underflow.
20072         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20073         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20074         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20075         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20076         math_check_force_underflow_nonneg.
20077         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20078         math_check_force_underflow.
20079         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20080         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20081         instead of volatile.
20082         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20083         math_check_force_underflow.
20084         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20085         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20086         math_check_force_underflow_nonneg.
20087         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20088         math_check_force_underflow.
20089         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20090         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20091         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20092         math_check_force_underflow_nonneg.
20093         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20094         Likewise.
20095         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20096         math_check_force_underflow.
20097         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20098         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20099         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20100         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20101         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20102         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20103         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20104         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20105         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20106         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20107         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20108         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20109         Likewise.
20110         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20111         math_check_force_underflow_nonneg.
20112         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20113         Likewise.
20114         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20115         math_check_force_underflow.
20116         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20117         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20118         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20119         Likewise.
20120         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20121         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20122         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20123         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20124         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20125         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20126         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20127         instead of volatile.
20128         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20129         math_check_force_underflow.
20130         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20131         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20132         math_check_force_underflow.
20133         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20134         Likewise.
20135         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20136         Use math_check_force_underflow_nonneg.
20137         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20138         math_check_force_underflow.
20139         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20140         Likewise.
20141         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20142         Likewise.
20143         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20144         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20145         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20146         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20147         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20148         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20149         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20150         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20151         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20152         math_check_force_underflow_nonneg.
20153         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20154         math_check_force_underflow.
20155         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20156         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20157         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20158         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20159         math_check_force_underflow_nonneg.
20160         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20161         math_check_force_underflow.
20162         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20164         instead of volatile.
20165         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20166         math_check_force_underflow.
20168         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20169         * stdlib/strtod_l.c: Include <math_private.h>.
20170         (overflow_value): Use math_narrow_eval.
20171         (underflow_value): Likewise.
20172         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20173         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20174         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20175         (__ieee754_gamma_r): Likewise.
20176         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20177         Likewise.
20178         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20179         Likewise.
20180         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20181         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20182         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20183         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20184         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20185         (__ieee754_gammaf_r): Likewise.
20186         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20187         Likewise.
20188         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20189         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20190         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20191         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20192         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20193         volatile.
20194         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20195         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20196         math_narrow_eval.
20197         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20198         Likewise.
20199         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20200         Likewise.
20201         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20202         Likewise.
20203         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20204         volatile.
20205         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20206         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20207         math_narrow_eval.
20208         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20209         Likewise.
20210         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20211         Likewise.
20213 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
20215         * nptl/Versions: Remove ignored symbols.
20217 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20219         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
20220         * nss/Makefile (tests): Update.
20222 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20224         * nss/bug18287.c: New file.
20225         * nss/Makefile (tests): Add bug18287.
20227 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20229         * mach/Versions (__mach_host_self_): Add symbol.
20231 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20233         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20234         vm_page_size.
20236 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20238         Really fix sysdeps/i386/fpu/s_scalbn.S build
20240         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20241         (libc: GLIBC_2_22): Remove unused version set.
20243 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20245         * config.make.in (enable-timezone-tools): New variable.
20246         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20247         (enable_timezone_tools): Export to generated files.
20248         * configure: Regenerate.
20249         * INSTALL: Regenerate.
20250         * manual/install.texi (--disable-timezone-tools): Document new flag.
20251         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20252         ifeq ($(enable-timezone-tools),yes) check.
20254 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20256         * timezone/Makefile: Revert previous change.
20258         [BZ #18980]
20259         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20260         (DEFINE_DBL_MIN): Likewise.
20261         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20262         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20263         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20264         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20265         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20266         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20267         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20268         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20269         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20270         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20271         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20272         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20273         (flt_min): Replace with use of DEFINE_FLT_MIN.
20274         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20275         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20276         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20277         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20278         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20279         (flt_min): Replace with use of DEFINE_FLT_MIN.
20280         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20281         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20282         (flt_min): Replace with use of DEFINE_FLT_MIN.
20283         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20284         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20285         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20286         (__ieee754_hypot): Use DBL_NARROW_EVAL.
20287         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20288         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20289         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20290         (__ieee754_pow): Use DBL_NARROW_EVAL.
20291         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20292         (__ieee754_powf): Use FLT_NARROW_EVAL.
20293         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20294         (__ieee754_expf_sse2): Convert double-precision result to single
20295         precision.
20296         * sysdeps/i386/fpu/libm-test-ulps: Update.
20298 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20300         * timezone/Makefile: Ignore unused variable errors due to private.h
20301         (time_t_min) and (time_t_max).
20302         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
20303         Likewise.
20305 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20307         [BZ #18981]
20308         * sysdeps/i386/fpu/i386-math-asm.h: New file.
20309         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20310         (__ieee754_scalb): Use DBL_NARROW_EVAL.
20311         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20312         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20313         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20314         (__scalbn): Use DBL_NARROW_EVAL.
20315         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20316         (__scalbnf): Use FLT_NARROW_EVAL.
20318 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20320         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20321         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20322         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20323         * stdio-common/printf_fp.c (___printf_fp):
20324         Use signbit to get the sign. Use isinf macro to allow inlining.
20325         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20326         * stdio-common/printf_size.c (__printf_size): Likewise.
20328 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20330         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20332 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20334         [BZ #18980]
20335         * sysdeps/generic/math_private.h: Include <float.h>.
20336         (math_narrow_eval): New macro.
20337         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20338         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20339         math_narrow_eval on overflowing return value.
20340         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20341         Likewise.
20342         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20343         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20344         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20345         Likewise.
20346         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20348 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20350         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20351         * math/Makefile: Remove isinf_ns.c.
20352         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20353         * math/multc3.c (__multc3): Likewise.
20354         * math/s_casin.c (__casin): Likewise.
20355         * math/s_casinf.c (__casinf): Likewise.
20356         * math/s_casinl.c (__casinl): Likewise.
20357         * math/s_cproj.c (__cproj): Likewise.
20358         * math/s_cprojf.c (__cprojf): Likewise.
20359         * math/s_cprojl.c (__cprofl): Likewise.
20360         * math/s_ctan.c (__ctan): Likewise.
20361         * math/s_ctanf.c (__ctanf): Likewise.
20362         * math/s_ctanh.c (__ctanh): Likewise.
20363         * math/s_ctanhf.c (__ctanhf): Likewise.
20364         * math/s_ctanhl.c (__ctanhl): Likewise.
20365         * math/s_ctanl.c (__ctanl): Likewise.
20366         * math/w_fmod.c (__fmod): Likewise.
20367         * math/w_fmodf.c (__fmodf): Likewise.
20368         * math/w_fmodl.c (_fmodl): Likewise.
20369         * math/w_remainder.c (__remainder): Likewise.
20370         * math/w_remainderf.c (__remainderf): Likewise.
20371         * math/w_remainderl.c (__remainderl): Likewise.
20372         * math/w_scalb.c (__scalb): Likewise.
20373         * math/w_scalbf.c (__scalbf): Likewise.
20374         * math/w_scalbl.c (__scalbl): Likewise.
20375         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20376         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20377         with isinf.
20378         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20379         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20380         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20381         __isinf_nsf with isinf.
20382         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20383         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20384         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20385         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20386         with isinf.
20387         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20388         __isinf_nsl with isinf.
20389         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20390         with isinf.
20391         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20392         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20393         __isinf_nsl with isinf.
20394         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20395         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20396         with isinf.
20398 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20400         * resolv/base64.c (rcsid): Remove unused static.
20401         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20402         static.  (tqpi1): Likewise.
20403         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20404         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20405         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20406         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20407         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20408         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20409         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20410         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
20411         Likewise.
20413 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
20415         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20416         <nptl/pthreadP.h>.
20417         (_longjmp_unwind): Use __libc_ptf_call.
20418         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20420 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
20422         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20423         * sysdeps/arm/__longjmp.S: Likewise.
20425 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20427         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20428         Use __builtin_signbit.
20429         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20430         Use __builtin_signbitf.
20431         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20432         Use __builtin_signbitl.
20433         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20434         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20436 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20438         [BZ #15367]
20439         [BZ #17441]
20441         * math/Makefile: Build test-snan.c with -fsignaling-nans.
20442         * math/math.h (fpclassify): Use __builtin_fpclassify when
20443         available.  (signbit): Use __builtin_signbit(f/l).
20444         (isfinite): Use__builtin_isfinite.  (isnormal): Use
20445         __builtin_isnormal.  (isnan): Use __builtin_isnan.
20446         (isinf): Use __builtin_isinf_sign.
20448 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20450         * benchtests/Makefile: Add bench-math-inlines, link with libm.
20451         * benchtests/bench-math-inlines.c: New benchmark.
20452         * benchtests/bench-util.h: New file.
20453         * benchtests/bench-util.c: New file.
20454         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20456 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
20458         * elf/tst-dlmopen1.c: Define TEST_SO.
20459         (do_test): Use TEST_SO.
20461         * elf/dl-load.c: Include libc-internal.h.
20462         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20464 2015-09-18  Vincent Bernat  <vincent@bernat.im>
20466         [BZ #17887]
20467         * time/strptime_l.c (__strptime_internal): Make %z accept
20468         [+-]HH:MM time zones.
20470 2015-09-18  Vincent Bernat  <vincent@bernat.im>
20472         [BZ #17886]
20473         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20474         valid time zone.
20476 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
20478         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20479         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20480         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20481         (__ASSUME_FDATASYNC): Delete.
20483 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20485         * conform/linknamespace.pl: Require weak undefined symbols to be
20486         in the standard namespace.
20487         (%strong_syms): Rename to %seen_syms.
20488         (%strong_seen): Rename to %seen_where.
20490 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
20492         [BZ #18970]
20493         * misc/error.c (error): Replace pthread_setcancelstate with
20494         __pthread_setcancelstate.
20495         (error_at_line): Likewise.
20496         * posix/wordexp.c (parse_comm): Likewise.
20497         * stdlib/fmtmsg.c (fmtmsg): Likewise.
20498         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20499         (__pthread_setcancelstate): This.
20500         (pthread_setcancelstate): Add an alias.
20501         * nptl/nptl-init.c (pthread_functions): Replace
20502         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20503         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20504         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20505         hidden_proto.
20506         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20507         it with hidden_def.
20508         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20509         (pthread_setcancelstate): Renamed to ...
20510         (__pthread_setcancelstate): This.
20511         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20512         __libc_ptf_call with __pthread_setcancelstate.
20514 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20515             Andreas Schwab  <schwab@suse.de>
20517         [BZ #17118]
20518         * math/s_ctan.c (__ctan): Determine sign of zero real part of
20519         result when imaginary part of argument is infinite using sine and
20520         cosine.
20521         * math/s_ctanf.c (__ctanf): Likewise.
20522         * math/s_ctanl.c (__ctanl): Likewise.
20523         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20524         of result when real part of argument is infinite using sine and
20525         cosine.
20526         * math/s_ctanhf.c (__ctanhf): Likewise.
20527         * math/s_ctanhl.c (__ctanhl): Likewise.
20528         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20529         (ctanh_test_data): Add more tests of ctanh.
20531 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20533         [BZ #15384]
20534         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20535         bit-mask as in subtraction.
20536         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20537         Likewise.
20538         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20539         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20540         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
20542         [BZ #18951]
20543         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
20544         underflow exception for small results.
20545         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20546         Likewise.
20547         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20548         Likewise.
20549         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20550         Likewise.
20551         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20552         Likewise.
20553         * math/auto-libm-test-in: Add more tests of tgamma.
20554         * math/auto-libm-test-out: Regenerated.
20556 2015-09-17  Andreas Schwab  <schwab@suse.de>
20558         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
20560 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20562         [BZ #18977]
20563         * math/bits/mathcalls.h
20564         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
20565         not declare.
20566         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
20567         Likewise.
20568         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
20569         Likewise.
20570         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
20571         Likewise.
20572         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
20573         Likewise.
20574         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20575         Likewise.
20576         * conform/data/math.h-data
20577         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
20578         function.
20579         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20580         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20581         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20582         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20583         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20584         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20585         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20586         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20587         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20588         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20589         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20591         [BZ #6803]
20592         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20593         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20594         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20595         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20596         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20597         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20598         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20599         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20600         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20601         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20602         Likewise.
20603         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20604         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20605         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20606         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20607         long_double_symbol calls.
20608         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20609         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20610         strong alias of __ldexpl.
20611         (scalbnl): Define using long_double_symbol.
20612         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20613         Remove alias.
20614         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20615         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20616         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20617         (scalbln_test_data): Add more errno expectations.
20619 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
20621         Cache the host port like we cache the task port.  This way we do not
20622         need to call the kernel just to get the port.  Furthermore, we no
20623         longer increase the reference count on every invocation of
20624         `mach_host_self'.
20626         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20627         Protect declarations against the macro expansion.
20628         * mach/mach_init.c (__mach_host_self_): New variable.
20629         (mach_init): Initialize `__mach_host_self_'.
20630         * mach/mach_init.h (__mach_host_self_): New declaration.
20631         (__mach_host_self, mach_host_self): New macros.
20632         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20633         Release reference.
20635 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20637         [BZ #4404]
20638         * po/de.po: Update from Translation Project.
20640         [BZ #16415]
20641         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20642         (__expm1l): Remove code to handle positive infinity and overflow.
20643         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20644         variable.
20645         (__expm1l): Remove code to handle positive infinity and overflow.
20647 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
20648             Paul Pluzhnikov  <ppluzhnikov@google.com>
20650         [BZ #18872]
20651         * stdio-common/Makefile (tst-printf-bz18872): New test.
20652         (tst-printf-bz18872-mem.out): Likewise.
20653         * stdio-common/tst-printf-bz18872.sh: Generate new test.
20654         * stdio-common/vfprintf.c: Fix memory leaks.
20656 2015-09-16  Andreas Schwab  <schwab@suse.de>
20658         [BZ #17244]
20659         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20660         Remove extra va_start/va_end calls.
20662         [BZ #17243]
20663         * posix/execl.c (execl): Add missing va_end.
20664         * posix/execle.c (execle): Likewise.
20665         * posix/execlp.c (execlp): Likewise.
20667 2015-09-15  Roland McGrath  <roland@hack.frob.com>
20669         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20670         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20672 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
20674         [BZ #18967]
20675         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
20676         undefine around includes of <bits/mathcalls.h>.
20677         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20678         not declare function.
20679         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20680         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20681         (scalb): Likewise.
20682         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20683         not define macro.
20684         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20685         variable.
20686         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20687         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20688         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20690         [BZ #18857]
20691         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20692         return non-finite argument without doing ordered comparisons on
20693         it.
20695         [BZ #16296]
20696         * math/fenv.h (fegetround): Use __attribute_pure__.
20697         * include/fenv.h (__fegetround): Likewise.
20699         [BZ #18595]
20700         * math/s_ctan.c (__ctan): Force underflow exception for results
20701         whose real or imaginary part has small absolute value.
20702         * math/s_ctanf.c (__ctanf): Likewise.
20703         * math/s_ctanh.c (__ctanh): Likewise.
20704         * math/s_ctanhf.c (__ctanhf): Likewise.
20705         * math/s_ctanhl.c (__ctanhl): Likewise.
20706         * math/s_ctanl.c (__ctanl): Likewise.
20707         * math/auto-libm-test-in: Do not allow missing underflow for ctan
20708         and ctanh.  Add more tests of ctan and ctanh.
20710         [BZ #15918]
20711         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20712         handling of cases where one argument is an infinity.
20714         [BZ #18875]
20715         [BZ #18966]
20716         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20717         (MO): New macro.
20718         (__ieee754_exp10): For small results, force underflow exception
20719         and remove excess range and precision from return value.
20720         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20721         (MO): New macro.
20722         (__ieee754_exp10f): For small results, force underflow exception
20723         and remove excess range and precision from return value.
20724         * math/auto-libm-test-in: Add more tests of exp10.
20725         * math/auto-libm-test-out: Regenerated.
20727 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
20729         [BZ #18875]
20730         [BZ #18961]
20731         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20732         (MO): New macro.
20733         (__ieee754_exp): For small results, force underflow exception and
20734         remove excess range and precision from return value.
20735         (__exp_finite): Likewise.
20736         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20737         (MO): New macro.
20738         (__ieee754_expf): For small results, force underflow exception and
20739         remove excess range and precision from return value.
20740         (__expf_finite): Likewise.
20741         * math/auto-libm-test-in: Add more tests of exp.
20742         * math/auto-libm-test-out: Regenerated.
20744         [BZ #16521]
20745         [BZ #18875]
20746         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20747         small results.
20748         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20749         (MO): New macro.
20750         (__ieee754_exp2): For small results, force underflow exception and
20751         remove excess range and precision from return value.
20752         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20753         (MO): New macro.
20754         (__ieee754_exp2f): For small results, force underflow exception
20755         and remove excess range and precision from return value.
20756         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20757         (MO): New macro.
20758         (__ieee754_exp2l): Force underflow exception for small results.
20759         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20760         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20761         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20762         (MO): New macro.
20763         (__ieee754_exp2l): Force underflow exception for small results.
20764         * math/auto-libm-test-in: Add more tests or exp2.
20765         * math/auto-libm-test-out: Regenerated.
20767 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
20769         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20771         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20772         /dev/null.
20774 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20776         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20777         io fs process)): Drop spurious backslash.
20779 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20781         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20782         Use sysinfo system call instead of parsing /proc/meminfo.
20783         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20784         Likewise.
20786 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
20788         [BZ #16985]
20789         * programs/localedef.c (main): Display argv[remaining] when
20790         output_path is NULL.
20792 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20794         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20795         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20796         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20797         tanh.
20798         * math/auto-libm-test-out: Regenerated.
20799         * sysdeps/i386/fpu/libm-test-ulps: Update.
20800         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20801         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20804 2015-09-11  Roland McGrath  <roland@hack.frob.com>
20806         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20807         Use 'override' keyword to freeze the value here, preventing
20808         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20810 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20812         [BZ #14912]
20813         * sysdeps/aarch64/bits/atomic.h: Move to ...
20814         * sysdeps/aarch64/atomic-machine.h: ...here.
20815         (_AARCH64_BITS_ATOMIC_H): Rename macro to
20816         _AARCH64_ATOMIC_MACHINE_H.
20817         * sysdeps/alpha/bits/atomic.h: Move to ...
20818         * sysdeps/alpha/atomic-machine.h: ...here.
20819         * sysdeps/arm/bits/atomic.h: Move to ...
20820         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
20821         * bits/atomic.h: Move to ...
20822         * sysdeps/generic/atomic-machine.h: ...here.
20823         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20824         * sysdeps/i386/bits/atomic.h: Move to ...
20825         * sysdeps/i386/atomic-machine.h: ...here.
20826         * sysdeps/ia64/bits/atomic.h: Move to ...
20827         * sysdeps/ia64/atomic-machine.h: ...here.
20828         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20829         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20830         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20831         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20832         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20833         * sysdeps/microblaze/bits/atomic.h: Move to ...
20834         * sysdeps/microblaze/atomic-machine.h: ...here.
20835         * sysdeps/mips/bits/atomic.h: Move to ...
20836         * sysdeps/mips/atomic-machine.h: ...here.
20837         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20838         * sysdeps/powerpc/bits/atomic.h: Move to ...
20839         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
20840         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20841         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
20842         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
20843         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20844         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
20845         <atomic-machine.h> instead of <bits/atomic.h>.
20846         * sysdeps/s390/bits/atomic.h: Move to ...
20847         * sysdeps/s390/atomic-machine.h: ...here.
20848         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20849         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20850         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20851         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20852         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20853         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20854         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20855         * sysdeps/tile/bits/atomic.h: Move to ...
20856         * sysdeps/tile/atomic-machine.h: ...here.
20857         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20858         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
20859         <sysdeps/tile/atomic-machine.h> instead of
20860         <sysdeps/tile/bits/atomic.h>.
20861         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20862         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20863         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
20864         <sysdeps/tile/atomic-machine.h> instead of
20865         <sysdeps/tile/bits/atomic.h>.
20866         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20867         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20868         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
20869         <sysdeps/arm/atomic-machine.h> instead of
20870         <sysdeps/arm/bits/atomic.h>.
20871         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20872         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20873         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20874         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20875         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20876         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20877         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20878         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20879         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20880         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20881         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20882         * sysdeps/x86_64/bits/atomic.h: Move to ...
20883         * sysdeps/x86_64/atomic-machine.h: ...here.
20884         * include/atomic.h: Include <atomic-machine.h> instead of
20885         <bits/atomic.h>.
20887         * sysdeps/mips/mips32/libm-test-ulps: Update.
20888         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20890         [BZ #18952]
20891         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20892         not convert non-integer negative arguments to int to determine the
20893         value of signgam.
20894         * math/auto-libm-test-in: Add more tests of lgamma.
20895         * math/auto-libm-test-out: Regenerated.
20897         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20898         cosh, csqrt, erfc, expm1 and lgamma.
20899         * math/auto-libm-test-out: Regenerated.
20900         * sysdeps/i386/fpu/libm-test-ulps: Update.
20901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20903 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
20905         [BZ #2542]
20906         [BZ #2543]
20907         [BZ #2558]
20908         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20909         __lgamma_neg for arguments from -28.0 to -2.0.
20910         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20911         __lgamma_negf for arguments from -15.0 to -2.0.
20912         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20913         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20914         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20915         Call __lgamma_negl for arguments from -33.0 to -2.0.
20916         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20917         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20918         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20919         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20920         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20921         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20922         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20923         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20924         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20925         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20926         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20927         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20928         (__lgamma_neg): Likewise.
20929         (__lgamma_negl): Likewise.
20930         (__lgamma_product): Likewise.
20931         (__lgamma_productl): Likewise.
20932         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20933         * math/auto-libm-test-in: Add more tests of lgamma.
20934         * math/auto-libm-test-out: Regenerated.
20935         * sysdeps/i386/fpu/libm-test-ulps: Update.
20936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20938 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
20940         [BZ #18675]
20941         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20943 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
20945         [BZ #14912]
20946         * bits/libc-lock.h: Move to ...
20947         * sysdeps/generic/libc-lock.h: ...here.
20948         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20949         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20950         * sysdeps/mach/hurd/libc-lock.h: ...here.
20951         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20952         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20953         * sysdeps/mach/bits/libc-lock.h: Move to ...
20954         * sysdeps/mach/libc-lock.h: ...here.
20955         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20956         * sysdeps/nptl/bits/libc-lock.h: Move to ...
20957         * sysdeps/nptl/libc-lock.h: ...here.
20958         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20959         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20960         * sysdeps/nptl/libc-lockP.h: ...here.
20961         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20962         * crypt/crypt_util.c: Include <libc-lock.h> instead of
20963         <bits/libc-lock.h>.
20964         * dirent/scandir-tail.c: Likewise.
20965         * dlfcn/dlerror.c: Likewise.
20966         * elf/dl-close.c: Likewise.
20967         * elf/dl-iteratephdr.c: Likewise.
20968         * elf/dl-lookup.c: Likewise.
20969         * elf/dl-open.c: Likewise.
20970         * elf/dl-support.c: Likewise.
20971         * elf/dl-writev.h: Likewise.
20972         * elf/rtld.c: Likewise.
20973         * grp/fgetgrent.c: Likewise.
20974         * gshadow/fgetsgent.c: Likewise.
20975         * gshadow/sgetsgent.c: Likewise.
20976         * iconv/gconv_conf.c: Likewise.
20977         * iconv/gconv_db.c: Likewise.
20978         * iconv/gconv_dl.c: Likewise.
20979         * iconv/gconv_int.h: Likewise.
20980         * iconv/gconv_trans.c: Likewise.
20981         * include/link.h: Likewise.
20982         * inet/getnameinfo.c: Likewise.
20983         * inet/getnetgrent.c: Likewise.
20984         * inet/getnetgrent_r.c: Likewise.
20985         * intl/bindtextdom.c: Likewise.
20986         * intl/dcigettext.c: Likewise.
20987         * intl/finddomain.c: Likewise.
20988         * intl/gettextP.h: Likewise.
20989         * intl/loadmsgcat.c: Likewise.
20990         * intl/localealias.c: Likewise.
20991         * intl/textdomain.c: Likewise.
20992         * libidn/idn-stub.c: Likewise.
20993         * libio/libioP.h: Likewise.
20994         * locale/duplocale.c: Likewise.
20995         * locale/freelocale.c: Likewise.
20996         * locale/newlocale.c: Likewise.
20997         * locale/setlocale.c: Likewise.
20998         * login/getutent_r.c: Likewise.
20999         * login/getutid_r.c: Likewise.
21000         * login/getutline_r.c: Likewise.
21001         * login/utmp-private.h: Likewise.
21002         * login/utmpname.c: Likewise.
21003         * malloc/mtrace.c: Likewise.
21004         * misc/efgcvt.c: Likewise.
21005         * misc/error.c: Likewise.
21006         * misc/fstab.c: Likewise.
21007         * misc/getpass.c: Likewise.
21008         * misc/mntent.c: Likewise.
21009         * misc/syslog.c: Likewise.
21010         * nis/nis_call.c: Likewise.
21011         * nis/nis_callback.c: Likewise.
21012         * nis/nss-default.c: Likewise.
21013         * nis/nss_compat/compat-grp.c: Likewise.
21014         * nis/nss_compat/compat-initgroups.c: Likewise.
21015         * nis/nss_compat/compat-pwd.c: Likewise.
21016         * nis/nss_compat/compat-spwd.c: Likewise.
21017         * nis/nss_nis/nis-alias.c: Likewise.
21018         * nis/nss_nis/nis-ethers.c: Likewise.
21019         * nis/nss_nis/nis-grp.c: Likewise.
21020         * nis/nss_nis/nis-hosts.c: Likewise.
21021         * nis/nss_nis/nis-network.c: Likewise.
21022         * nis/nss_nis/nis-proto.c: Likewise.
21023         * nis/nss_nis/nis-pwd.c: Likewise.
21024         * nis/nss_nis/nis-rpc.c: Likewise.
21025         * nis/nss_nis/nis-service.c: Likewise.
21026         * nis/nss_nis/nis-spwd.c: Likewise.
21027         * nis/nss_nisplus/nisplus-alias.c: Likewise.
21028         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21029         * nis/nss_nisplus/nisplus-grp.c: Likewise.
21030         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21031         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21032         * nis/nss_nisplus/nisplus-network.c: Likewise.
21033         * nis/nss_nisplus/nisplus-proto.c: Likewise.
21034         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21035         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21036         * nis/nss_nisplus/nisplus-service.c: Likewise.
21037         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21038         * nis/ypclnt.c: Likewise.
21039         * nptl/libc_pthread_init.c: Likewise.
21040         * nss/getXXbyYY.c: Likewise.
21041         * nss/getXXent.c: Likewise.
21042         * nss/getXXent_r.c: Likewise.
21043         * nss/nss_db/db-XXX.c: Likewise.
21044         * nss/nss_db/db-netgrp.c: Likewise.
21045         * nss/nss_db/nss_db.h: Likewise.
21046         * nss/nss_files/files-XXX.c: Likewise.
21047         * nss/nss_files/files-alias.c: Likewise.
21048         * nss/nsswitch.c: Likewise.
21049         * posix/regex_internal.h: Likewise.
21050         * posix/wordexp.c: Likewise.
21051         * pwd/fgetpwent.c: Likewise.
21052         * resolv/res_hconf.c: Likewise.
21053         * resolv/res_libc.c: Likewise.
21054         * shadow/fgetspent.c: Likewise.
21055         * shadow/lckpwdf.c: Likewise.
21056         * shadow/sgetspent.c: Likewise.
21057         * socket/opensock.c: Likewise.
21058         * stdio-common/reg-modifier.c: Likewise.
21059         * stdio-common/reg-printf.c: Likewise.
21060         * stdio-common/reg-type.c: Likewise.
21061         * stdio-common/vfprintf.c: Likewise.
21062         * stdio-common/vfscanf.c: Likewise.
21063         * stdlib/abort.c: Likewise.
21064         * stdlib/cxa_atexit.c: Likewise.
21065         * stdlib/fmtmsg.c: Likewise.
21066         * stdlib/random.c: Likewise.
21067         * stdlib/setenv.c: Likewise.
21068         * string/strsignal.c: Likewise.
21069         * sunrpc/auth_none.c: Likewise.
21070         * sunrpc/bindrsvprt.c: Likewise.
21071         * sunrpc/create_xid.c: Likewise.
21072         * sunrpc/key_call.c: Likewise.
21073         * sunrpc/rpc_thread.c: Likewise.
21074         * sysdeps/arm/backtrace.c: Likewise.
21075         * sysdeps/generic/ldsodefs.h: Likewise.
21076         * sysdeps/generic/stdio-lock.h: Likewise.
21077         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21078         * sysdeps/i386/backtrace.c: Likewise.
21079         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21080         * sysdeps/m68k/backtrace.c: Likewise.
21081         * sysdeps/mach/hurd/cthreads.c: Likewise.
21082         * sysdeps/mach/hurd/dirstream.h: Likewise.
21083         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21084         * sysdeps/nptl/malloc-machine.h: Likewise.
21085         * sysdeps/nptl/stdio-lock.h: Likewise.
21086         * sysdeps/posix/dirstream.h: Likewise.
21087         * sysdeps/posix/getaddrinfo.c: Likewise.
21088         * sysdeps/posix/system.c: Likewise.
21089         * sysdeps/pthread/aio_suspend.c: Likewise.
21090         * sysdeps/s390/s390-32/backtrace.c: Likewise.
21091         * sysdeps/s390/s390-64/backtrace.c: Likewise.
21092         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21093         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21094         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21095         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21096         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21097         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21098         * sysdeps/unix/sysv/linux/system.c: Likewise.
21099         * sysdeps/x86_64/backtrace.c: Likewise.
21100         * time/alt_digit.c: Likewise.
21101         * time/era.c: Likewise.
21102         * time/tzset.c: Likewise.
21103         * wcsmbs/wcsmbsload.c: Likewise.
21104         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21105         instead of <bits/libc-lock.h> in comment.
21107 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
21109         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21110         Only use .set mips2 if the current ISA is below mips2.
21111         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21112         Likewise.
21113         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21114         mips32r2 if the current ISA is below mips32r2.
21115         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21116         (TLS_IE): Updated to use the TLD_RDHWR macro.
21117         (TLS_LE): Likewise.
21118         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21119         __ASSEMBLER__ condition.
21121 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21123         Fix parallel build of before-compile targets.
21125         * sysdeps/mach/Makefile ($(patsubst
21126         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21127         mach-before-compile target.
21128         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21129         io fs process)): Move rule to dedicated hurd-before-compile target.
21131 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21133         Fix rules generating headers in hurd/ and mach/ when initial make call
21134         has subdir= explicitly set.
21136         * sysdeps/mach/Makefile ($(patsubst
21137         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21138         calling $(MAKE).
21139         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21140         io fs process)): Force subdir to hurd when calling $(MAKE).
21141         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21142         subdir to mach when calling $(MAKE).
21144 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
21146         Check sysheaders when looking for Mach and Hurd headers
21148         * sysdeps/mach/configure.ac: Add sysheaders check.
21149         * sysdeps/mach/configure: Regenerate.
21150         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21151         * sysdeps/mach/hurd/configure: Regenerate.
21153 2015-09-04  Roland McGrath  <roland@hack.frob.com>
21155         [BZ #18921]
21156         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21157         Fix inverted sense of test of 'o_directory_works' value.
21158         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21159         Bernhard Voelker <mail@bernhard-voelker.de>.
21161 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21163         [BZ #14912]
21164         * bits/linkmap.h: Move to ...
21165         * sysdeps/generic/linkmap.h: ...here.
21166         * sysdeps/aarch64/bits/linkmap.h: Move to ...
21167         * sysdeps/aarch64/linkmap.h: ...here.
21168         * sysdeps/arm/bits/linkmap.h: Move to ...
21169         * sysdeps/arm/linkmap.h: ...here.
21170         * sysdeps/hppa/bits/linkmap.h: Move to ...
21171         * sysdeps/hppa/linkmap.h: ...here.
21172         * sysdeps/ia64/bits/linkmap.h: Move to ...
21173         * sysdeps/ia64/linkmap.h: ...here.
21174         * sysdeps/mips/bits/linkmap.h: Move to ...
21175         * sysdeps/mips/linkmap.h: ...here.
21176         * sysdeps/s390/bits/linkmap.h: Move to ...
21177         * sysdeps/s390/linkmap.h: ...here.
21178         * sysdeps/sh/bits/linkmap.h: Move to ...
21179         * sysdeps/sh/linkmap.h: ...here.
21180         * sysdeps/x86/bits/linkmap.h: Move to ...
21181         * sysdeps/x86/linkmap.h: ...here.
21182         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21184 2015-09-04  Andreas Schwab  <schwab@suse.de>
21186         [BZ #18635]
21187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21188         (__makecontext): Terminate FDE before return label.
21189         (__novec_makecontext): Likewise.
21191 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21193         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21194         first member of struct sv in syscall macro.
21196 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21198         [BZ #14912]
21199         * bits/stdio-lock.h: Move to ...
21200         * sysdeps/generic/stdio-lock.h: ...here.
21201         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21202         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21203         * sysdeps/nptl/stdio-lock.h: ...here.
21204         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21205         * include/libio.h: Include <stdio-lock.h> instead of
21206         <bits/stdio-lock.h>.
21207         * sysdeps/nptl/fork.c: Likewise.
21208         * sysdeps/pthread/flockfile.c: Likewise.
21209         * sysdeps/pthread/ftrylockfile.c: Likewise.
21210         * sysdeps/pthread/funlockfile.c: Likewise.
21212         [BZ #14912]
21213         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21214         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21215         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21216         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21217         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21218         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21219         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21221 2015-09-03  Roland McGrath  <roland@hack.frob.com>
21223         * elf/Makefile (test-xfail-tst-protected1a): New variable.
21224         (test-xfail-tst-protected1b): New variable.
21226 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
21228         [BZ #14912]
21229         * bits/libc-tsd.h: Move to ...
21230         * sysdeps/generic/libc-tsd.h: ...here.
21231         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21232         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21233         * sysdeps/mach/hurd/libc-tsd.h: ...here.
21234         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21235         * include/ctype.h: Include <libc-tsd.h> instead of
21236         <bits/libc-tsd.h>.
21237         * include/rpc/rpc.h: Likewise.
21238         * locale/localeinfo.h: Likewise.
21239         * sunrpc/rpc_thread.c: Likewise.
21240         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21241         * sysdeps/nptl/malloc-machine.h: Likewise.
21243         * Makefile (headers): Remove bits/libc-lock.h.
21244         * libio/Makefile (headers): Remove bits/stdio-lock.h.
21246         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21247         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21248         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21249         <bits/stdio-lock.h>.
21250         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21251         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21253 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21255         [BZ #18757]
21256         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21257         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21258         BZ #18757.
21260 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21262         * malloc/mtrace.pl: Filter out NULL entries.
21264 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
21266         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21267         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21268         macro.
21270         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21271         (TCP_CC_INFO): Likewise.
21272         (TCP_SAVE_SYN): Likewise.
21273         (TCP_SAVED_SYN): Likewise.
21275 2015-08-31  Brett Neumeier <brett@neumeier.us>
21277         [BZ #18870]
21278         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21280 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
21282         [BZ #18873]
21283         Fix broken overflow check in posix_fallocate
21284         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21285         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21286         Fix parenthesization typo.
21288 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
21290         [BZ #18887]
21291         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21292         tst-mntent-blank-passno.
21293         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21294         * misc/tst-mntent-blank-corrupt.c: New test.
21295         * misc/tst-mntent-blank-passno.c: New test ripped from ...
21296         * misc/tst-mntent.c (do_test): ... here.
21298 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
21300         [BZ #4404]
21301         * po/de.po: Fix SIGALRM typo.
21303 2015-08-28  James Perkins  <james@loowit.net>
21305         * time/tst-strptime2.c (tests): Replace short list of test
21306         strings for strptime %z specifier with code which exhaustively
21307         tests every combination of sign and 0 to 5 digits. Tests for
21308         rejection of invalid strings.
21310 2015-08-28  James Perkins  <james@loowit.net>
21312         [BZ #16141]
21313         * time/strptime_l.c (__strptime_internal): Fix %z minutes
21314         calculation, removing incorrect decimal time rounding, so that
21315         all minute values result in a valid seconds value.
21316         * time/strptime_l.c (__strptime_internal): Extend %z time zone
21317         offset range limits to UTC-99:59 through UTC+99:59 to parse
21318         current and historical use cases.
21319         * time/tst-strptime2.c (tests): Modify and add tests for the
21320         strptime %z input field descriptor, specifically conversion of
21321         minutes to seconds and validating an offset range of -9959 to
21322         +9959.
21324 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21325             Dmitry V. Levin  <ldv@altlinux.org>
21327         [BZ #18877]
21328         * posix/Makefile (tests): Add tst-mmap-offset.
21329         * posix/tst-mmap.c: New file.
21330         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21331         offset calculation for negative values.
21333 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21335         * sysdeps/i386/init-arch.h: New file.
21336         * sysdeps/i386/i586/init-arch.h: Likewise.
21337         * sysdeps/i386/i686/init-arch.h: Likewise.
21338         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21339         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
21340         * sysdeps/x86/cpu-features.h (bit_I586): New.
21341         (bit_I686): Likewise.
21342         (bit_CX8): Likewise.
21343         (bit_CMOV): Likewise.
21344         (index_CX8): Likewise.
21345         (index_CMOV): Likewise.
21346         (index_I586): Likewise.
21347         (index_I686): Likewise.
21348         (reg_CX8): Likewise.
21349         (reg_CMOV): Likewise.
21350         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21351         available at compile-time.
21352         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21353         available at compile-time.
21354         * sysdeps/x86/init-arch.h (USE_I586): New macro.
21355         (USE_I686): Likewise.
21357 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21359         * sysdeps/i386/bcopy.S: New file.
21360         * sysdeps/i386/bzero.S: Likewise.
21361         * sysdeps/i386/memcpy.S: Likewise.
21362         * sysdeps/i386/memmove.S: Likewise.
21363         * sysdeps/i386/mempcpy.S: Likewise.
21364         * sysdeps/i386/memset.S: Likewise.
21365         * sysdeps/i386/bzero.c: Removed.
21366         * sysdeps/i386/memset.c: Likewise.
21367         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21368         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21369         * sysdeps/i386/i586/memset_chk.S: Likewise.
21370         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21371         * sysdeps/i386/memcpy_chk.S: Here.
21372         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21373         * sysdeps/i386/memmove_chk.S: Here.
21374         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21375         * sysdeps/i386/mempcpy_chk.S: Likewise.
21376         * sysdeps/i386/i686/memset_chk.S: Moved to ...
21377         * sysdeps/i386/memset_chk.S: Likewise.
21379 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
21381         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21382         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21383         file, move DIAG_POP_NEEDS_COMMENT to end of file.
21384         * soft-fp/fmadf4.c: Ditto.
21385         * soft-fp/fmatf4.c: Ditto.
21387 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21389         * sysdeps/i386/i586/Implies: Removed.
21390         * sysdeps/i386/i686/Implies: Likewise.
21392 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21394         * sysdeps/i386/i486/strlen.S: Moved to ...
21395         * sysdeps/i386/strlen.S: Here.
21397 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21399         * sysdeps/i386/i486/strcat.S: Moved to ...
21400         * sysdeps/i386/strcat.S: Here.
21402 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21404         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21405         * sysdeps/i386/pthread_spin_trylock.S: Here.
21406         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21407         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21409 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21411         * sysdeps/i386/i486/string-inlines.c: Moved to ...
21412         * sysdeps/i386/string-inlines.c: Here.
21414 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21416         * sysdeps/i386/i486/htonl.S: Moved ...
21417         * sysdeps/i386/htonl.S: here.
21419 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21421         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21422         * sysdeps/i386/bits/atomic.h: Here.
21424 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21426         * sysdeps/i386/i486/Versions: Removed.
21428 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21430         [BZ #2898]
21431         * misc/mktemp.c: Add mkdtemp to the link_warning message.
21432         Based on patch by Aurelien Jarno.
21434 2015-08-26  Stan Shebs  <stanshebs@google.com>
21436         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21437         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21439 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21441         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21442         * sysdeps/powerpc/dl-procinfo.c:
21443         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21444         feature so it shows when LD_SHOW_AUXV=1.
21446 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21448         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21449         (__arch_compare_and_exchange_val_32_acq): Remove and use common
21450         definition.  ISA 2.07B no longer requires full sync.
21452 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
21454         [BZ #18863]
21455         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21456         (si_call_addr): Define.
21457         (si_syscall): Define.
21458         (si_arch): Define.
21460 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
21462         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21463         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21464         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21465         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21466         (__memset_zero_constant_len_parameter): New.
21467         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21468         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21469         (__memset_zero_constant_len_parameter): Don't define if
21470         __memset_chk or USE_AS_BZERO are defined.
21472         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21473         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21474         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21476         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21477         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21478         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21479         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
21480         comments.
21481         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21482         -mno-mmx for $(all-rtld-routines).
21483         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21484         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
21485         i386.
21487 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21489         * sysdeps/generic/unwind.h
21490         (_Unwind_Word): Use __mode__(__unwind_word__)
21491         instead of __mode__(__word__).
21492         (_Unwind_Sword): Likewise.
21494         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21495         (MAX_NEEDED_INPUT): New define.
21496         (MAX_NEEDED_OUTPUT): New define.
21498         * NEWS: New item for IBM z13 string optimizations.
21500         * sysdeps/s390/multiarch/memrchr-c.c: New File.
21501         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21502         * sysdeps/s390/multiarch/memrchr.c: Likewise.
21503         * sysdeps/s390/multiarch/Makefile
21504         (sysdep_routines): Add memrchr functions.
21505         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21506         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21508         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21509         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21510         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21511         * sysdeps/s390/multiarch/Makefile
21512         (sysdep_routines): Add wmemcmp functions.
21513         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21514         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21515         * benchtests/bench-wmemcmp.c: New File.
21516         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21518         * sysdeps/s390/multiarch/wmemset-c.c: New File.
21519         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21520         * sysdeps/s390/multiarch/wmemset.c: Likewise.
21521         * sysdeps/s390/multiarch/Makefile
21522         (sysdep_routines): Add wmemset functions.
21523         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21524         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21525         * wcsmbs/wmemset.c: Use WMEMSET if defined.
21526         * string/test-memset.c: Add wmemset support.
21527         * wcsmbs/test-wmemset.c: New File.
21528         * wcsmbs/Makefile (strop-tests): Add wmemset.
21529         * benchtests/bench-memset.c: Add wmemset support.
21530         * benchtests/bench-wmemset.c: New File.
21531         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21533         * sysdeps/s390/multiarch/memccpy-c.c: New File.
21534         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21535         * sysdeps/s390/multiarch/memccpy.c: Likewise.
21536         * sysdeps/s390/multiarch/Makefile
21537         (sysdep_routines): Add memccpy functions.
21538         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21539         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21540         * string/memccpy.c: Use MEMCCPY if defined.
21542         * sysdeps/s390/multiarch/memchr-vx.S: New File.
21543         * sysdeps/s390/multiarch/memchr.c: Likewise.
21544         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
21545         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
21546         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
21547         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
21548         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
21549         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
21550         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
21551         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
21552         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
21553         and rawmemchr functions.
21554         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21555         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
21556         and wmemchr.
21557         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
21558         * string/test-memchr.c: Add wmemchr support.
21559         * wcsmbs/test-wmemchr.c: New File.
21560         * wcsmbs/Makefile (strop-tests): Add wmemchr.
21561         * benchtests/bench-memchr.c: Add wmemchr support.
21562         * benchtests/bench-wmemchr.c: New File.
21563         * benchtests/Makefile (wcsmbs-bench): wmemchr.
21565         * sysdeps/s390/multiarch/strcspn-c.c: New File.
21566         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
21567         * sysdeps/s390/multiarch/strcspn.c: Likewise.
21568         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
21569         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
21570         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
21571         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
21572         wcscspn functions.
21573         * sysdeps/s390/multiarch/ifunc-impl-list.c
21574         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
21575         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
21576         * string/test-strcspn.c: Add wcscspn support.
21577         * wcsmbs/test-wcscspn.c: New File.
21578         * wcsmbs/Makefile (strop-tests): Add wcscspn.
21579         * benchtests/bench-strcspn.c: Add wcscspn support.
21580         * benchtests/bench-wcscspn.c: New File.
21581         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21583         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21584         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21585         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21586         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21587         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21588         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21589         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21590         wcspbrk functions.
21591         * sysdeps/s390/multiarch/ifunc-impl-list.c
21592         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21593         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21594         * string/test-strpbrk.c: Add wcspbrk support.
21595         * wcsmbs/test-wcspbrk.c: New File.
21596         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21597         * benchtests/bench-strpbrk.c: Add wcspbrk support.
21598         * benchtests/bench-wcspbrk.c: New File.
21599         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21601         * sysdeps/s390/multiarch/strspn-c.c: New File.
21602         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21603         * sysdeps/s390/multiarch/strspn.c: Likewise.
21604         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21605         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21606         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21607         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21608         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21609         wcsspn functions.
21610         * sysdeps/s390/multiarch/ifunc-impl-list.c
21611         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21612         * string/test-strspn.c: Add wcsspn support.
21613         * wcsmbs/test-wcsspn.c: New File.
21614         * wcsmbs/Makefile (strop-tests): Add wcsspn.
21615         * benchtests/bench-strspn.c: Add wcsspn support.
21616         * benchtests/bench-wcsspn.c: New File.
21617         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21619         * sysdeps/s390/multiarch/strrchr-c.c: New File.
21620         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21621         * sysdeps/s390/multiarch/strrchr.c: Likewise.
21622         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21623         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21624         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21625         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21626         wcsrchr functions.
21627         * sysdeps/s390/multiarch/ifunc-impl-list.c
21628         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21629         * benchtests/bench-wcsrchr.c: New File.
21630         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21632         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21633         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21634         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21635         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21636         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21637         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21638         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21639         wcschrnul functions.
21640         * sysdeps/s390/multiarch/ifunc-impl-list.c
21641         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21642         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21643         * string/test-strchr.c: Add wcschrnul support.
21644         * wcsmbs/test-wcschrnul.c: New File.
21645         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21646         * benchtests/bench-strchr.c: Add wcschrnul support.
21647         * benchtests/bench-wcschrnul.c: New File.
21648         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21650         * sysdeps/s390/multiarch/strchr-c.c: New File.
21651         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21652         * sysdeps/s390/multiarch/strchr.c: Likewise.
21653         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21654         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21655         * sysdeps/s390/multiarch/wcschr.c: Likewise.
21656         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21657         wcschr functions.
21658         * sysdeps/s390/multiarch/ifunc-impl-list.c
21659         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21660         * string/strchr.c (STRCHR): Define and use macro.
21661         * benchtests/bench-wcschr.c: New File.
21662         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21664         * sysdeps/s390/multiarch/strncmp-c.c: New File.
21665         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21666         * sysdeps/s390/multiarch/strncmp.c: Likewise.
21667         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21668         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21669         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21670         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21671         wcsncmp functions.
21672         * sysdeps/s390/multiarch/ifunc-impl-list.c
21673         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21674         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21675         * benchtests/bench-strncmp.c: Add wcsncmp support.
21676         * benchtests/bench-wcsncmp.c: New File.
21677         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21679         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21680         * sysdeps/s390/multiarch/strcmp.c: Likewise.
21681         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21682         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21683         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21684         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21685         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21686         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21687         wcscmp functions.
21688         * sysdeps/s390/multiarch/ifunc-impl-list.c
21689         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21690         * string/strcmp.c (STRCMP): Define and use macro.
21691         * benchtests/bench-wcscmp.c: New File.
21692         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21693         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21694         instead of _HAVE_STRING_ARCH_memchr.
21696         * sysdeps/s390/multiarch/strncat-c.c: New File.
21697         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21698         * sysdeps/s390/multiarch/strncat.c: Likewise.
21699         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21700         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21701         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21702         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21703         wcsncat functions.
21704         * sysdeps/s390/multiarch/ifunc-impl-list.c
21705         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21706         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21707         * string/test-strncat.c: Add wcsncat support.
21708         * wcsmbs/test-wcsncat.c: New File.
21709         * wcsmbs/Makefile (strop-tests): Add wcsncat.
21710         * benchtests/bench-strncat.c: Add wcsncat support.
21711         * benchtests/bench-wcsncat.c: New File.
21712         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21714         * sysdeps/s390/multiarch/strcat-c.c: New File.
21715         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21716         * sysdeps/s390/multiarch/strcat.c: Likewise.
21717         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21718         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21719         * sysdeps/s390/multiarch/wcscat.c: Likewise.
21720         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21721         wcscat functions.
21722         * sysdeps/s390/multiarch/ifunc-impl-list.c
21723         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21724         * string/strcat.c (STRCAT): Define and use macro.
21725         * wcsmbs/wcscat.c: Use WCSCAT if defined.
21726         * string/test-strcat.c: Add wcscat support.
21727         * wcsmbs/test-wcscat.c: New File.
21728         * wcsmbs/Makefile (strop-tests): Add wcscat.
21729         * benchtests/bench-strcat.c: Add wcscat support.
21730         * benchtests/bench-wcscat.c: New File.
21731         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21733         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21734         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21735         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21736         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21737         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21738         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21739         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21740         wcpncpy functions.
21741         * sysdeps/s390/multiarch/ifunc-impl-list.c
21742         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21743         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21744         * string/test-stpncpy.c: Add wcpncpy support.
21745         * wcsmbs/test-wcpncpy.c: New File.
21746         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21747         * benchtests/bench-stpncpy.c: Add wcpncpy support.
21748         * benchtests/bench-wcpncpy.c: New File.
21749         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21751         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21752         * sysdeps/s390/multiarch/strncpy.c: Likewise.
21753         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21754         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21755         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21756         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21757         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21758         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21759         wcsncpy functions.
21760         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21761         * sysdeps/s390/multiarch/ifunc-impl-list.c
21762         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21763         * string/test-strncpy.c: Add wcsncpy support.
21764         * wcsmbs/test-wcsncpy.c: New File.
21765         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21766         * benchtests/bench-strncpy.c: Add wcsncpy support.
21767         * benchtests/bench-wcsncpy.c: New File.
21768         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21770         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21771         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21772         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21773         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21774         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21775         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21776         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21777         wcpcpy functions.
21778         * string/stpcpy.c: Use STPCPY if defined.
21779         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21780         * sysdeps/s390/multiarch/ifunc-impl-list.c
21781         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21782         * string/test-stpcpy.c: Add wcpcpy support.
21783         * wcsmbs/test-wcpcpy.c: New File.
21784         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21785         * benchtests/bench-stpcpy.c: Add wcpcpy support.
21786         * benchtests/bench-wcpcpy.c: New File.
21787         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21789         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21790         * sysdeps/s390/multiarch/strcpy.c: Likewise.
21791         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21792         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21793         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21794         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21795         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21796         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21797         wcscpy functions.
21798         * sysdeps/s390/multiarch/ifunc-impl-list.c
21799         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21800         * benchtests/bench-wcscpy.c: New File.
21801         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21803         * sysdeps/s390/multiarch/strnlen-c.c: New File.
21804         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21805         * sysdeps/s390/multiarch/strnlen.c: Likewise.
21806         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21807         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21808         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21809         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21810         wcsnlen functions.
21811         * sysdeps/s390/multiarch/ifunc-impl-list.c
21812         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21813         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21814         * string/test-strnlen.c: Add wcsnlen support.
21815         * wcsmbs/test-wcsnlen.c: New File.
21816         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21817         * benchtests/bench-strnlen.c: Add wcsnlen support.
21818         * benchtests/bench-wcsnlen.c: New File.
21819         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21821         * sysdeps/s390/multiarch/Makefile: New File.
21822         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21823         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21824         * sysdeps/s390/multiarch/strlen.c: Likewise.
21825         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21826         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21827         * sysdeps/s390/multiarch/wcslen.c: Likewise.
21828         * string/strlen.c (STRLEN): Define and use macro.
21829         * sysdeps/s390/multiarch/ifunc-impl-list.c
21830         (IFUNC_VX_IMPL): New macro function.
21831         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21832         * benchtests/Makefile (wcsmbs-bench): New variable.
21833         (string-bench-all): Added wcsmbs-bench.
21834         * benchtests/bench-wcslen.c: New File.
21836         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21837         s390_vx_libc_ifunc2): New macro function.
21839         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21840         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21841         assembler support.
21842         * sysdeps/s390/configure: Regenerated.
21844         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21845         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21847         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21848         * sysdeps/s390/dl-procinfo.h: Add vector capability.
21849         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21851         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21852         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21853         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21854         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21855         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21856         (memcmp, bcmp): Use __memcmp_default as alias source.
21857         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21858         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21859         Rename to __memcmp_default.
21860         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21861         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21862         (memcpy): Use __memcpy_default as alias source.
21863         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21864         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21865         Rename to __memcpy_default.
21866         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21867         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21868         (memset): Use __memset_default as alias source.
21869         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21870         * sysdeps/s390/s390-32/memset.S (__memset_g5):
21871         Rename to __memset_default.
21872         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21873         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21874         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21875         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21876         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21877         (memcmp, bcmp): Use __memcmp_default as alias source.
21878         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21879         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21880         Rename to __memcmp_default.
21881         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21882         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21883         (memcpy): Use __memcpy_default as alias source.
21884         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21885         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21886         Rename to __memcpy_default.
21887         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21888         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21889         (memset): Use __memset_default as alias source.
21890         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21891         * sysdeps/s390/s390-64/memset.S (__memset_z900):
21892         Rename to __memset_default.
21893         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21894         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21896         [BZ #18610]
21897         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21898         __ieee_instruction_pointer to __unused.
21899         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21900         __ieee_instruction_pointer.
21901         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21902         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21903         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21904         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21905         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21906         Mark dxc-field as reserved.
21908 2015-08-25  Roland McGrath  <roland@hack.frob.com>
21910         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21911         if the weak reference is not null.
21913 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21915         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21917         [BZ #11214]
21918         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21920 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21922         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21923         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21924         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21925         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21926         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21927         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21928         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21929         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21930         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21931         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21932         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21933         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21934         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21935         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21936         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21937         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21938         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21939         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21941 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21943         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21944         register other than r0 for tabort, it has special meaning.
21945         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21946         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21947         transaction before starting syscall.
21949 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21951         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21953 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21955         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21957         * sysdeps/x86_64/rtld-memcmp.c: Removed.
21958         * sysdeps/x86_64/rtld-memset.S: Likewise.
21959         * sysdeps/x86_64/rtld-strchr.S: Likewise.
21960         * sysdeps/x86_64/rtld-strlen.S: Likewise.
21961         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21962         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21964         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21966 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
21968         * debug/strcpy_chk.c: Improve performance.
21969         * debug/stpcpy_chk.c: Likewise.
21970         * sysdeps/x86_64/strcpy_chk.S: Remove.
21971         * sysdeps/x86_64/stpcpy_chk.S: Remove.
21973         [BZ #18240]
21974         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21976 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21978         [BZ #15128]
21979         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21980         ifuncmain8.
21981         (modules-names): Add ifuncmod8.
21982         ($(objpfx)ifuncmain8): New rule.
21983         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21984         <cpuid.h>.
21985         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21986         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21987         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21988         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21989         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21990         * sysdeps/x86_64/dl-trampoline.h: Likewise.
21991         * sysdeps/x86_64/ifuncmain8.c: New file.
21992         * sysdeps/x86_64/ifuncmod8.c: Likewise.
21993         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21994         Removed.
21995         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21996         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21997         Change rtld_savespace_sse to __glibc_unused2.
21998         (RTLD_CHECK_FOREIGN_CALL): Removed.
21999         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
22000         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
22001         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
22003 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
22005         * sysdeps/aarch64/bzero.S (__bzero): Remove.
22007 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
22009         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
22010         Unconditionally set __fpcr to avoid uninialized warning.
22011         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
22013 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22015         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
22016         is corrupt.
22018         * malloc/arena.c (arena_get2): Drop unused argument.
22019         (arena_lock): Adjust.
22020         (arena_get_retry): Likewise.
22022 2015-08-24  Andreas Schwab  <schwab@suse.de>
22024         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
22025         Don't define.
22026         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22027         (__ASSUME_IPC64): Don't undef.
22028         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22029         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22030         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22031         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22032         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22033         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22034         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22035         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22036         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22037         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22038         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22039         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22040         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22041         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22042         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22043         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22044         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22045         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22046         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22047         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22048         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22050 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
22052         * manual/Makefile (install): Only build manual when perl is available.
22054 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22056         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22057         '#undef memcpy' by '#undef memchr'.
22059 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22061         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22062         memchr not point to the internal __GI_memchr implementation.
22064 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
22066         * timezone/Makefile (CFLAGS-zdump.c): Remove
22067         -Wno-strict-prototypes.
22068         (CFLAGS-zic.c): Likewise.
22069         (CFLAGS-ialloc.c): Likewise.
22070         (CFLAGS-scheck.c): Likewise.
22072         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22073         -Wno-error=undef.
22075 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22077         * i386/i686/multiarch/strcasestr-c.c: Removed.
22078         * x86_64/multiarch/strcasestr.c: Likewise.
22079         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22080         Remove strcasestr.
22082 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
22084         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22086         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22087         variables for high and low parts before possibly modifying them.
22089 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22091         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22092         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22093         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22094         of "multiarch/init-arch.h".
22095         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22096         * sysdeps/x86/init-arch.h: This.
22098 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22100         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22101         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22103 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
22105         [BZ #17787]
22106         * manual/macros.texi: Add twoexp macro.
22107         * manual/filesys.texi: Fix exponents.
22108         * manual/llio.texi: Likewise.
22109         * manual/stdio.texi: Likewise.
22111 2015-08-20  Florian Weimer  <fweimer@redhat.com>
22113         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22114         incorrect use.
22116 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22118         [BZ #18370]
22119         * math/s_csqrt.c (__csqrt): Force underflow exception for results
22120         whose real or imaginary part has small absolute value.
22121         * math/s_csqrtf.c (__csqrtf): Likewise.
22122         * math/s_csqrtl.c (__csqrtl): Likewise.
22123         * math/auto-libm-test-in: Add more tests of csqrt.
22124         * math/auto-libm-test-out: Regenerated.
22125         * sysdeps/i386/fpu/libm-test-ulps: Update.
22127 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22129         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22130         __ppc_set_ppr_very_low): New functions.
22131         * manual/platform.texi: Add documentation about
22132         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22134 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
22136         * string/stpncpy.c (stpncpy): Improve performance using
22137         __strnlen/memcpy/memset.
22139 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22141         [BZ #18796]
22142         * scripts/test-installation.pl: Don't add -lmvec to build options if
22143         libmvec wasn't built.
22145 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22147         [BZ #14341]
22148         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22149         case when there is a gap between DT_REL and DT_JMPREL sections.
22150         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22151         (LDFLAGS-tst-split-dynreloc): New.
22152         (tst-split-dynreloc-ENV): Likewise.
22153         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22154         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22156 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22158         [BZ #18822]
22159         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22160         attribute_hidden.
22161         (__xstat64_conv): Likewise.
22162         (__xstat32_conv): Likewise.
22164 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22166         [BZ #18822]
22167         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22168         Don't load %ebx when calling __setcontext.  Call __setcontext
22169         with HIDDEN_JUMPTARGET.
22170         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22171         libc_hidden_def.
22173 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22175         * sysdeps/i386/i686/Makefile
22176         [$(subdir) == string] (sysdep_routines): Moved to ...
22177         * sysdeps/i386/Makefile: Here.
22178         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22179         * sysdeps/i386/cacheinfo.c: Here.
22180         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22181         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22182         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22183         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22185 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22187         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22188         __i586__ is defined.
22189         (HAS_I686): Defined to 1 if __i686__ is defined.
22191 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22193         * elf/Makefile [$(have-z-execstack) = yes]
22194         (CPPFLAGS-tst-execstack.c): New variable.
22196         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22197         conditional to [defined UTMPX || _HAVE_UT_TYPE].
22198         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22199         UTMPX || _HAVE_UT_TV].
22200         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22201         UTMPX || _HAVE_UT_TV - 0].
22203 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
22205         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22206         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22207         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22209 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22211         * sysdeps/powerpc/dl-procinfo.c:
22212         (_dl_powerpc_cap_flags): Added missing strings for some
22213         hwcap features.
22214         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22216 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
22218         Port the 0x7efe...feff pattern to GCC 6.
22219         See Steve Ellcey's bug report in:
22220         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22221         * string/memrchr.c (MEMRCHR):
22222         * string/rawmemchr.c (RAWMEMCHR):
22223         * string/strchr.c (strchr):
22224         * string/strchrnul.c (STRCHRNUL):
22225         Rewrite code to avoid issues with signed shift overflow.
22227 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
22229         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22230         whether cpuid is available only if HAS_CPUID is 0.
22231         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22232         (HAS_I586): Likewise.
22233         (HAS_I686): Likewise.
22235 2015-08-18  Zack Weinberg  <zackw@panix.com>
22237         * misc/Versions (libc): Add GLIBC_2.23.
22239 2015-08-18  Alan Modra  <amodra@gmail.com>
22241         [BZ #18421]
22242         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22243         .Lp__global.
22244         (_start): Load %dp via .Lp__global.
22245         [!SHARED]: Use .section .rodata.
22247 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22249         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22250         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22252 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22254         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22255         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22257 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22259         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22260         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22262 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22264         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22265         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22267 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22269         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22270         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22272 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22274         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22275         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22277 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22279         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22281 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22283         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22284         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
22285         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22286         (__ASSUME_LWS_CAS): Delete.
22288 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22290         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22291         * sysdeps/hppa/configure: Regenerated.
22292         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22293         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22294         * sysdeps/hppa/nptl/tls.h: Likewise.
22296 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
22298         [BZ #18823]
22299         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22300         for scaling up small arguments.
22301         * math/s_csqrtf.c (__csqrtf): Likewise.
22302         * math/s_csqrtl.c (__csqrtl): Likewise.
22303         * math/auto-libm-test-in: Add more tests of csqrt.
22304         * math/auto-libm-test-out: Regenerated.
22306 2015-08-17  Andreas Schwab  <schwab@suse.de>
22308         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22309         version set GLIBC_2.19.
22311 2015-08-16  Zack Weinberg  <zackw@panix.com>
22313         [BZ #18681]
22314         * misc/regexp.h: This interface is no longer supported.
22315         Remove all contents, leaving only an #error directive.
22316         * misc/regexp.c (loc1, loc2, locs, step, advance):
22317         Demote to compatibility symbols.
22319 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
22321         [BZ #18084]
22322         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22323         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22324         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22325         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22326         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22327         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22328         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22329         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22330         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22332 2015-08-15  Zack Weinberg  <zackw@panix.com>
22334         [BZ #18795]
22335         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22336         buffer length is known to be too large, not if it's known to be
22337         small enough.
22338         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22339         overflow at runtime, involving a length parameter, twice: once
22340         with a compile-time constant length parameter, once without.
22342 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
22344         [BZ #18824]
22345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22346         scaling x * y up instead of down.
22347         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22348         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22349         * math/auto-libm-test-in: Add more tests of fma.
22350         * math/auto-libm-test-out: Regenerated.
22352 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22354         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22356 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22358         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22359         unnecessary movq.
22360         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22361         Likewise.
22363 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
22365         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22366         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22367         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22368         and tgamma.
22369         * math/auto-libm-test-out: Regenerated.
22370         * sysdeps/i386/fpu/libm-test-ulps: Update.
22371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22373         [BZ #16520]
22374         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22375         (__tanh): Force underflow exception for arguments with small
22376         absolute value.
22377         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22378         (__tanhf): Force underflow exception for arguments with small
22379         absolute value.
22380         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22381         (__tanhl): Force underflow exception for arguments with small
22382         absolute value.
22383         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22384         (__tanhl): Force underflow exception for arguments with small
22385         absolute value.
22386         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22387         (__tanhl): Force underflow exception for arguments with small
22388         absolute value.
22389         * math/auto-libm-test-in: Add more tests of tanh.
22390         * math/auto-libm-test-out: Regenerated.
22391         * sysdeps/i386/fpu/libm-test-ulps: Update.
22393 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22395         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22396         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22398 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22400         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22401         <cpuid.h>.
22403 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22405         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22406         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22408 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22410         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22411         Remove $(objpfx)init-arch.o.
22412         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22413         init-arch.
22414         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22415         (INIT_ARCH_EXT): Defined as empty.
22416         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22417         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22418         __init_cpu_features call.  Replace HAS_XXX with
22419         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22420         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22421         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22422         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22423         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22424         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22425         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22426         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22427         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22428         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22429         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22430         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22431         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22432         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22433         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22434         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22435         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22436         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22437         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22438         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22439         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22440         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22441         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22442         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22443         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22444         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22445         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22446         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22447         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22448         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22449         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22450         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22451         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22452         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22453         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22454         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22456 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22458         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22459         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22460         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22461         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22462         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22463         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22464         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22465         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22466         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22467         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22468         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22469         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
22470         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22471         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22472         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22473         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22474         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22475         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22476         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22477         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22478         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22479         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22480         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22481         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22482         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22483         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22484         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22485         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22486         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22487         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22488         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22489         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22490         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22491         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22492         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22493         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22494         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22495         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22496         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22497         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22498         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22499         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22500         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22502 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22504         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22505         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22506         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22507         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22508         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22509         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22510         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22511         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22512         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22513         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22514         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22515         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22516         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22517         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22518         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22519         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22520         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22521         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22522         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22523         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22525         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22526         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22527         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22528         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22529         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22530         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22531         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
22532         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22533         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22534         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22535         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22536         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22537         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22538         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22539         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22540         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22541         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22542         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22543         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22544         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22545         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22546         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22548 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22550         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
22551         (dl_platform_init): Call init_cpu_features.
22552         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
22553         * sysdeps/i386/i686/cacheinfo.c
22554         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
22555         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
22556         * sysdeps/i386/i686/multiarch/Versions: Removed.
22557         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
22558         Removed.
22559         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
22560         * sysdeps/unix/sysv/linux/x86/Makefile
22561         (libpthread-sysdep_routines): Remove init-arch.
22562         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
22563         <sysdeps/x86_64/dl-procinfo.c> instead of
22564         sysdeps/generic/dl-procinfo.c>.
22565         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
22566         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
22567         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
22568         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
22569         [$(subdir) == elf] (tests-static): Add
22570         tst-get-cpu-features-static.
22571         * sysdeps/x86/Versions: New file.
22572         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
22573         * sysdeps/x86/cpu-features.c: Likewise.
22574         * sysdeps/x86/cpu-features.h: Likewise.
22575         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
22576         * sysdeps/x86/libc-start.c: Likewise.
22577         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22578         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22579         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22580         * sysdeps/x86_64/dl-procinfo.c: Likewise.
22581         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22582         Assume USE_MULTIARCH is defined and don't check it.
22583         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22584         (is_amd): Likewise.
22585         (max_cpuid): Likewise.
22586         (intel_check_word): Likewise.
22587         (__cache_sysconf): Don't call __init_cpu_features.
22588         (__x86_preferred_memory_instruction): Removed.
22589         (init_cacheinfo): Don't call __init_cpu_features. Replace
22590         __cpu_features with GLRO(dl_x86_cpu_features).
22591         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22592         (dl_platform_init): Call init_cpu_features.
22593         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22594         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22595         * sysdeps/x86_64/multiarch/Versions: Removed.
22596         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22597         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22598         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22599         Removed.
22600         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22602 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22604         [BZ #18820]
22605         * libio/Makefile (test-fmemopen-mem): New test.
22606         * libio/test-fmemopen.c (do_bz18820): New test.
22607         * libio/fmemopen.c (__fmemopen): Fix memory leak.
22608         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22610 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22612         [BZ #16734]
22613         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22614         (FREE_BUF): Delete.
22615         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22616         * libio/genops.c (_IO_setb): Use malloc and free directly.
22617         (_IO_default_doallocate, _IO_default_finish): Likewise.
22618         ( _IO_unbuffer_all): Likewise.
22619         ( libc_freeres_fn): Likewise.
22620         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22621         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22622         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22623         (_IO_wdefault_doallocate): Likewise.
22625 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22627         [BZ #18086]
22628         * sysdeps/posix/nice.c (nice): Restore old errno.
22629         * posix/tst-nice.c (do_test): Add test for BZ #18086.
22631 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
22633         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22635 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22637         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22638         __bcopy and add a weak_alias to bcopy.
22639         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22640         for static build.
22642         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22643         cleanup macro usage.
22644         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22645         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22646         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22647         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22648         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22649         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22650         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22651         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22652         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22653         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22654         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22655         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22656         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22657         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22658         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22659         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22660         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22661         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22662         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22664         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22665         libc_hidden_def.
22666         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22668         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22669         (sysdep_routines): Add strstr-ppc64.
22670         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22672 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
22674         [BZ #18778]
22675         * elf/Makefile (tests): Add Add tst-nodelete2.
22676         (modules-names): Add tst-nodelete2mod.
22677         (tst-nodelete2mod.so-no-z-defs): New.
22678         ($(objpfx)tst-nodelete2): Likewise.
22679         ($(objpfx)tst-nodelete2.out): Likewise.
22680         (LDFLAGS-tst-nodelete2): Likewise.
22681         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22682         out of loop through all loaded libraries.
22683         * elf/tst-nodelete2.c: New file.
22684         * elf/tst-nodelete2mod.c: Likewise.
22685         * elf/tst-znodelete-zlib.cc: Delete.
22687 2015-08-11  Andreas Schwab  <schwab@suse.de>
22689         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22690         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22691         (__openat64_nocancel): Likewise.
22693 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
22695         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22696         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22697         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22698         * math/auto-libm-test-out: Regenerated.
22699         * sysdeps/i386/fpu/libm-test-ulps: Update.
22700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22702 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22704         [BZ #18790]
22705         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22706         threshold for returning +/- 1.
22707         * math/auto-libm-test-in: Add more tests of tanh.
22708         * math/auto-libm-test-out: Regenerated.
22709         * sysdeps/i386/fpu/libm-test-ulps: Update.
22711 2015-08-10  Andreas Schwab  <schwab@suse.de>
22713         [BZ #18781]
22714         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22715         MORE_OFLAGS to oflag.
22716         * io/test-lfs.c (do_test): Test openat64.
22718 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22720         [BZ #18789]
22721         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22722         smaller threshold for returning the argument.
22723         * math/auto-libm-test-in: Add more tests of sinh.
22724         * math/auto-libm-test-out: Regenerated.
22725         * sysdeps/i386/fpu/libm-test-ulps: Update.
22727 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22729         [BZ #18674]
22730         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22731         break.
22733 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
22735         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22736         (generated): Don't add $(addprefix z.,$(tzfiles)).
22738 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22740         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22741         * scripts/sysd-rules.awk: Likewise.
22743 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22745         * iconvdata/tst-tables.sh: Change echo -n to printf.
22746         * nss/db-Makefile: Likewise.
22747         * posix/tst-getconf.sh: Likewise.
22748         * stdio-common/tst-unbputc.sh: Likewise.
22750 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22752         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22753         MADV_*_PAGES defines behind this feature check.
22755 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
22757         [BZ #18480]
22758         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22759         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22760         Define.
22761         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22762         LOAD_REGS_5, LOAD_REGS_6): Update.
22763         (INTERNAL_SYSCALL): Update using new LOAD defines.
22764         (INTERNAL_SYSCALL_NCS): Likewise.
22765         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22767 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22769         [BZ #16734]
22770         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22772 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22774         [BZ #17905]
22775         * catgets/Makefile (tst-catgets-mem): New test.
22776         * catgets/catgets.c (catopen): Don't use unbounded alloca.
22777         * catgets/open_catalog.c (__open_catalog): Likewise.
22778         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22780 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
22782         [BZ #18787]
22783         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22784         clobber registers.
22785         (atomic_compare_and_exchange_val_acq): Use register asms to assign
22786         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
22787         Cast return to __typeof (oldval).
22789 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
22791         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22792         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
22793         and delete sys/syscall.h include.
22795 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
22797         [BZ #16517]
22798         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22799         (tan): Force underflow exception for arguments with small absolute
22800         value.
22801         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22802         (__kernel_tanf): Force underflow exception for arguments with
22803         small absolute value.
22804         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22805         (__kernel_tanl): Force underflow exception for arguments with
22806         small absolute value.
22807         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22808         (__kernel_tanl): Force underflow exception for arguments with
22809         small absolute value.
22810         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22811         (__kernel_tanl): Force underflow exception for arguments with
22812         small absolute value.
22813         * math/auto-libm-test-in: Add more tests of tan.
22814         * math/auto-libm-test-out: Regenerated.
22816 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22818         Fix sysdeps/i386/fpu/s_scalbn.S build
22820         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22822 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
22824         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22826 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22828         Fix gcrt0.o compilation
22830         When static-start-installed-name is different from
22831         start-installed-name, we must not use the shared objects.
22833         * csu/Makefile
22834         (extra-objs): Add gmon-start.o when building shared library and
22835         $(static-start-installed-name) is different from
22836         $(start-installed-name).
22837         $(objpfx)g$(static-start-installed-name): When building shared
22838         library and $(static-start-installed-name) is different from
22839         $(static-start-installed-name), revert to non-shared rule,
22840         i.e. using $(objpfx)% and gmon-start.o.
22842 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
22844         [BZ #16519]
22845         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22846         (__ieee754_sinh): Force underflow exception for arguments with
22847         small absolute value.
22848         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22849         (__ieee754_sinhf): Force underflow exception for arguments with
22850         small absolute value.
22851         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22852         (__ieee754_sinhl): Force underflow exception for arguments with
22853         small absolute value.
22854         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22855         (__ieee754_sinhl): Force underflow exception for arguments with
22856         small absolute value.
22857         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22858         (__ieee754_sinhl): Force underflow exception for arguments with
22859         small absolute value.
22860         * math/auto-libm-test-in: Add more tests of sinh.
22861         * math/auto-libm-test-out: Regenerated.
22862         * sysdeps/i386/fpu/libm-test-ulps: Update.
22864 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22866         * libio/oldfileops.c: Include unistd.h.
22868 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
22870         * stdlib/isomac.c: Include ctype.h.
22872 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
22874         * dirent/tst-seekdir.c (main): Converted to ...
22875         (do_test): ... this.
22876         (TEST_FUNCTION): New macro.
22877         Include test-skeleton.c.
22878         * elf/tst-dlmodcount.c (main): Converted to ...
22879         (do_test): ... this.
22880         (TEST_FUNCTION): New macro.
22881         Include test-skeleton.c.
22882         * elf/tst-order-main.c (main): Converted to ...
22883         (do_test): ... this.
22884         (TEST_FUNCTION): New macro.
22885         Include test-skeleton.c.
22886         * elf/tst-pie2.c (main): Converted to ...
22887         (do_test): ... this.
22888         (TEST_FUNCTION): New macro.
22889         Include test-skeleton.c.
22890         * inet/tst-ether_aton.c (main): Converted to ...
22891         (do_test): ... this.
22892         (TEST_FUNCTION): New macro.
22893         Include test-skeleton.c.
22894         * misc/tst-mntent.c (main): Converted to ...
22895         (do_test): ... this.
22896         (TEST_FUNCTION): New macro.
22897         Include test-skeleton.c.
22898         * misc/tst-tsearch.c (main): Converted to ...
22899         (do_test): ... this.
22900         (TEST_FUNCTION): New macro.
22901         Include test-skeleton.c.
22902         * posix/tst-regexloc.c (main): Converted to ...
22903         (do_test): ... this.
22904         (TEST_FUNCTION): New macro.
22905         Include test-skeleton.c.
22906         * resolv/tst-aton.c (main): Converted to ...
22907         (do_test): ... this.
22908         (TEST_FUNCTION): New macro.
22909         Include test-skeleton.c.
22910         * stdio-common/test-fwrite.c (main): Converted to ...
22911         (do_test): ... this.
22912         (TEST_FUNCTION): New macro.
22913         Include test-skeleton.c.
22914         * stdio-common/tst-ferror.c (main): Converted to ...
22915         (do_test): ... this.
22916         (TEST_FUNCTION): New macro.
22917         Include test-skeleton.c.
22918         * stdio-common/tst-printf.c (main): Converted to ...
22919         (do_test): ... this.
22920         (TEST_FUNCTION): New macro.
22921         Include test-skeleton.c.
22922         * stdio-common/tst-printfsz.c (main): Converted to ...
22923         (do_test): ... this.
22924         (TEST_FUNCTION): New macro.
22925         Include test-skeleton.c.
22926         * stdlib/tst-strtod.c (main): Converted to ...
22927         (do_test): ... this.
22928         (TEST_FUNCTION): New macro.
22929         Include test-skeleton.c.
22930         * string/tst-strlen.c (main): Converted to ...
22931         (do_test): ... this.
22932         (TEST_FUNCTION): New macro.
22933         Include test-skeleton.c.
22934         * string/tst-svc.c (main): Converted to ...
22935         (do_test): ... this.
22936         (TEST_FUNCTION): New macro.
22937         Include test-skeleton.c.
22938         * time/tst-strptime.c (main): Converted to ...
22939         (do_test): ... this.
22940         (TEST_FUNCTION): New macro.
22941         Include test-skeleton.c.
22942         * timezone/tst-timezone.c (main): Converted to ...
22943         (do_test): ... this.
22944         (TEST_FUNCTION): New macro.
22945         Include test-skeleton.c.
22947 2015-08-05  Zack Weinberg  <zackw@panix.com>
22949         * misc/regexp.h: Update comments.
22951 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
22953         [BZ #18635]
22954         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22955         before return label.
22957 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22959         [BZ #18661]
22960         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22961         when calling __errno_location.
22962         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22963         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22965 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22967         [BZ #18661]
22968         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22969         (__lll_timedwait_tid): Align stack to 16 bytes when calling
22970         __gettimeofday.
22972 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22974         [BZ #18661]
22975         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22976         (__start_context): Don't use pop to restore %rdi so that stack
22977         is aligned to 16 bytes when calling __setcontext.
22979 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22981         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22982         only for libc.
22983         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22985 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22987         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22988         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
22989         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22991 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22993         * string/memccpy.c (memccpy):
22994         Improve performance by using memchr/memcpy/__mempcpy.
22996 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22998         * string/strncpy.c (strncpy):
22999         Improve performance by using __strnlen/memcpy.
23001 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23003         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23004         Optimize to avoid an unnecessary FPCR read.
23006 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23008         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23009         Optimize to reduce FPCR/FPSR accesses.
23011 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23013         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
23014         dead->data[category] != NULL.
23016 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
23018         [BZ #18647]
23019         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
23020         and |x| close to 1, use absolute value of x when computing log.
23021         * math/auto-libm-test-in: Add more tests of pow.
23022         * math/auto-libm-test-out: Regenerated.
23024 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23026         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23027         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23028         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23030 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
23032         [BZ #18525]
23033         * locales/km_KH: Remove timezone definition.
23034         * locales/lo_LA: Likewise.
23035         * locales/my_MM: Likewise.
23036         * locales/nan_TW@latin: Likewise.
23037         * locales/th_TH: Likewise.
23038         * locales/uk_UA: Likewise.
23040 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23042         [BZ #18265]
23043         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23044         (wcsncat): Likewise.
23045         (wcscmp): Likewise.
23046         (wcsncmp): Likewise.
23048 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23050         * test-skeleton.c (usage): New function.
23051         (main): Call usage when opt is '?'.
23053 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23055         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23056         before first use.
23058 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23060         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23061         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
23062         in there too.
23064 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
23066         * version.h (RELEASE): Set to "development".
23067         (VERSION): Set to "2.22.90"
23069         * version.h (RELEASE): Set to "stable".
23070         (VERSION): Set to "2.22"
23071         * include/features.h (__GLIBC_MINOR__): Set to 22.
23073 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
23075         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23076         Restructure macro to avoid "value computed is not used" warning.
23077         (atomic_compare_and_exchange_val_acq): Likewise.
23079 2015-08-04  Andreas Schwab  <schwab@suse.de>
23081         [BZ #18635]
23082         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23083         ret.
23084         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23086 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
23088         * po/pl.po: Updated translation.
23089         * po/uk.po: Likewise.
23090         * po/fi.po: Likewise.
23091         * po/ko.po: Likewise.
23092         * po/ru.po: Likewise.
23093         * po/vi.po: Likewise.
23095 2015-07-31  Zack Weinberg  <zackw@panix.com>
23097         [BZ #18681]
23098         * regexp.h: Add unconditional #warning stating that this header
23099         will be removed soon.  Revise banner comment to match.
23100         (compile): Consistently use ERROR instead of RETURN to report
23101         errors (partial fix for bz#18681).
23102         * regexp.c: Don't include regexp.h. Remove some unnecessary
23103         declarations.
23105 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
23107         * po/libc.pot: Regenerated.
23109 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23111         [BZ #18740]
23112         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23113         float-vlen4-arch-ext-cflags): Removed.
23114         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23115         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23117 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23119         [BZ #14113]
23120         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23121         aligned to __aligned__.
23122         (pthread_cond_t, pthread_rwlock_t): Likewise.
23124 2015-07-30  Torvald Riegel  <triegel@redhat.com>
23126         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23128 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23130         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23131         (struct sigaction): Change sa_flags from a long to an int, and add
23132         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23134 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23136         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23137         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23138         sysdeps/generic/sysdep.h include.
23139         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23140         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
23141         sysdeps/hppa/sysdep.h.
23142         (ENTRY, PSEUDO): Undefine before defining.
23144 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23146         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23147         from scratch to use INTERNAL_SYSCALL.
23149 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
23151         [BZ #18078]
23152         * scripts/check-localplt.awk: Support alternate relocations.
23153         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23154         sections.
23155         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23156         malloc entries with + REL R_386_GLOB_DAT.
23157         * sysdeps/x86_64/localplt.data: New file.
23159 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
23161         [BZ #18731]
23162         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23163         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23164         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23166 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23168         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23170 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23172         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23173         directly in terms of __sync_fetch_and_add and delete (int) cast.
23175 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23177         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23178         the -D_ASM_IA64_CURRENT_H flag.
23180 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23182         [BZ #18641]
23183         * pwd/pwd.h (putpwent): Delete __nonnull markings.
23185 2015-07-27  Andreas Schwab  <schwab@suse.de>
23187         * conform/conformtest.pl (checknamespace): Filter out string
23188         literals while tokenizing.
23190 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23192         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23193         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23194         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23196 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23198         * nptl/tst-join7mod.c: Add #include <string.h>.
23200 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23202         * sysdeps/nios2/libm-test-ulps: Update.
23204 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23206         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23207         Fix order of arguments to the rt_sigprocmask syscall.
23208         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23209         Likewise.
23211 2015-07-24  Roland McGrath  <roland@hack.frob.com>
23213         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23215 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23217         [BZ #18457]
23218         * nptl/Makefile (tests): New test case tst-join7.
23219         (modules-names): New test case module tst-join7mod.
23220         * nptl/tst-join7.c: New file.
23221         * nptl/tst-join7mod.c: New file.
23222         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23223         all translation units in libc.so, libpthread.so and rtld.
23225 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23229 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23231         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23232         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23233         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23234         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23235         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23236         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23237         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23238         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23239         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23240         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23241         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23242         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23243         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23244         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23245         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23246         implementation.
23248 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23250         [BZ #17711]
23251         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23252         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23253         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23254         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23255         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23256         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23258 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23260         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23261         instead of just saying load lock in the comments.
23263 2015-07-23  Roland McGrath  <roland@hack.frob.com>
23265         * sysdeps/unix/Subdirs: Moved ...
23266         * sysdeps/posix/Subdirs: ... here.
23267         * login/pty.h (struct termios, struct winsize): Add forward decls.
23268         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23269         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23270         * sysdeps/arm/nacl/libc.abilist: Updated.
23271         * sysdeps/nacl/libutil.abilist: New file.
23273         * bits/signum.h: Update comments to mention 1003.1-2013 too.
23274         (SIGWINCH): New macro.
23276         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23277         * sysdeps/arm/nacl/libc.abilist: Add it.
23279 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23281         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23283 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23285         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23286         Swap __glibc_reserved0 and sa_flags order.
23288 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23290         [BZ #18657]
23291         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23292         are pending TLS destructor calls.
23293         * include/link.h (struct link_map): Add concurrency note for
23294         L_TLS_DTOR_COUNT.
23295         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23296         Don't touch the link map flag.  Atomically increment
23297         l_tls_dtor_count.
23298         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23299         Avoid taking the load lock and don't touch the link map flag.
23300         * stdlib/tst-tls-atexit-nodelete.c: New test case.
23301         * stdlib/Makefile (tests): Use it.
23302         * stdlib/tst-tls-atexit.c (do_test): dlopen
23303         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
23304         to allow tst-tls-atexit-nodelete test case to use it.
23306 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23308         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23309         to bits/types.h.
23310         (msgqnum_t): New typedef.
23311         (msglen_t): Likewise.
23312         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
23313         and msg_qbytes type to msglen_t.
23315 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23317         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23318         pad0 to __glibc_reserved0.
23319         (struct stat64): Likewise.
23321 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23323         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23324         Change sa_flags from a long to an int and add __glibc_reserved0 before
23325         it for padding.
23327 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23329         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23330         anonymous by deleting "siginfo" name.
23332 2015-07-21  Roland McGrath  <roland@hack.frob.com>
23334         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23335         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23336         rather than __nacl_irt_filename.
23337         * sysdeps/nacl/xstat.c (__xstat): Likewise.
23339         * NEWS: New item for arm-nacl port.
23340         * sysdeps/arm/nacl/libc.abilist: New file.
23341         * sysdeps/nacl/ld.abilist: New file.
23342         * sysdeps/nacl/libBrokenLocale.abilist: New file.
23343         * sysdeps/nacl/libanl.abilist: New file.
23344         * sysdeps/nacl/libcrypt.abilist: New file.
23345         * sysdeps/nacl/libdl.abilist: New file.
23346         * sysdeps/nacl/libm.abilist: New file.
23347         * sysdeps/nacl/libpthread.abilist: New file.
23348         * sysdeps/nacl/libresolv.abilist: New file.
23349         * sysdeps/nacl/librt.abilist: New file.
23351 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
23353         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23354         __startcontext to initialize the new context.
23355         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23356         up CFI directive to forbid further backtracing.
23358 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
23360         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23361         reference.
23362         * charmaps/ANSI_X3.4-1968: Likewise.
23363         * charmaps/BS_4730: Likewise.
23364         * charmaps/BS_VIEWDATA: Likewise.
23365         * charmaps/CP1250: Likewise.
23366         * charmaps/CP1251: Likewise.
23367         * charmaps/CP1252: Likewise.
23368         * charmaps/CP1253: Likewise.
23369         * charmaps/CP1254: Likewise.
23370         * charmaps/CP1255: Likewise.
23371         * charmaps/CP1256: Likewise.
23372         * charmaps/CSN_369103: Likewise.
23373         * charmaps/EBCDIC-DK-NO: Likewise.
23374         * charmaps/GB_1988-80: Likewise.
23375         * charmaps/GREEK-CCITT: Likewise.
23376         * charmaps/GREEK7: Likewise.
23377         * charmaps/INIS-8: Likewise.
23378         * charmaps/ISIRI-3342: Likewise.
23379         * charmaps/ISO_2033-1983: Likewise.
23380         * charmaps/ISO_5427-EXT: Likewise.
23381         * locales/POSIX: Likewise.
23382         * locales/ar_SA: Likewise.
23383         * locales/be_BY: Likewise.
23384         * locales/be_BY@latin: Likewise.
23385         * locales/ca_ES: Likewise.
23386         * locales/cs_CZ: Likewise.
23387         * locales/da_DK: Likewise.
23388         * locales/de_BE: Likewise.
23389         * locales/de_CH: Likewise.
23390         * locales/de_LU: Likewise.
23391         * locales/en_AU: Likewise.
23392         * locales/en_BW: Likewise.
23393         * locales/en_CA: Likewise.
23394         * locales/en_DK: Likewise.
23395         * locales/en_GB: Likewise.
23396         * locales/en_IE: Likewise.
23397         * locales/en_NZ: Likewise.
23398         * locales/en_ZA: Likewise.
23399         * locales/en_ZW: Likewise.
23400         * locales/es_AR: Likewise.
23401         * locales/es_BO: Likewise.
23402         * locales/es_CL: Likewise.
23403         * locales/es_CO: Likewise.
23404         * locales/es_DO: Likewise.
23405         * locales/es_EC: Likewise.
23406         * locales/es_ES: Likewise.
23407         * locales/es_HN: Likewise.
23408         * locales/es_MX: Likewise.
23409         * locales/es_PA: Likewise.
23410         * locales/es_PE: Likewise.
23411         * locales/es_PY: Likewise.
23412         * locales/es_SV: Likewise.
23413         * locales/es_US: Likewise.
23414         * locales/es_UY: Likewise.
23415         * locales/es_VE: Likewise.
23416         * locales/et_EE: Likewise.
23417         * locales/fa_IR: Likewise.
23418         * locales/fo_FO: Likewise.
23419         * locales/fr_CA: Likewise.
23420         * locales/fr_CH: Likewise.
23421         * locales/gv_GB: Likewise.
23422         * locales/he_IL: Likewise.
23423         * locales/hr_HR: Likewise.
23424         * locales/id_ID: Likewise.
23425         * locales/is_IS: Likewise.
23426         * locales/it_CH: Likewise.
23427         * locales/iw_IL: Likewise.
23428         * locales/kl_GL: Likewise.
23429         * locales/ko_KR: Likewise.
23430         * locales/kw_GB: Likewise.
23431         * locales/lg_UG: Likewise.
23432         * locales/lt_LT: Likewise.
23433         * locales/lv_LV: Likewise.
23434         * locales/mi_NZ: Likewise.
23435         * locales/nhn_MX: Likewise.
23436         * locales/nl_BE: Likewise.
23437         * locales/pl_PL: Likewise.
23438         * locales/sk_SK: Likewise.
23439         * locales/sl_SI: Likewise.
23440         * locales/sv_FI: Likewise.
23441         * locales/tl_PH: Likewise.
23442         * locales/tr_TR: Likewise.
23443         * locales/vi_VN: Likewise.
23445 2015-07-21  Khem Raj  <raj.khem@gmail.com>
23447         [BZ #17475]
23448         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23449         of tu_IN and bh_IN.
23451 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
23453         [BZ #18694]
23454         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23455         bits/wordsize.h.
23456         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23458 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23460         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23461         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23462         (spawn_thread): New function.
23463         (load): Rename to reg_dtor_and_close.  Move dlopen to...
23464         (do_test): ... here.  Use IS_LOADED to test for its
23465         availability.
23467 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
23469         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23471 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
23473         [BZ #18696]
23474         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23475         si_addr_bnd.
23476         (si_lower): New.
23477         (si_upper): Likewise.
23479 2015-07-16  David S. Miller  <davem@davemloft.net>
23481         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23483 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23485         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23486         buffer.
23487         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23488         fail output information.
23490 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23493         and strstr-ppc64..
23494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23495         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23496         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23497         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23498         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23500 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
23502         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23503         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23504         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23505         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23507 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
23509         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23510         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23511         rtld_hidden_proto.
23512         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23514 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23516         * tst-nodelete-opened.c (do_test): Add comment to clarify how
23517         the test can fail.
23519         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23521         [BZ #18676]
23522         * elf/tst-nodelete-opened.c: New test case.
23523         * elf/tst-nodelete-opened-lib.c: New test case module.
23524         * elf/Makefile (tests, modules-names): Use them.
23525         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23526         early.
23528 2015-07-15  David S. Miller  <davem@davemloft.net>
23530         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23531         futex-intenal.h
23532         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23533         * sysdeps/sparc/sparc64/Makefile: Likewise.
23534         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23535         Remove space from macro define.
23536         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23538 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
23540         [BZ #17475]
23541         * locale/iso-639.def: Update Bhili and Tulu language codes as
23542         per iso639-3.
23544 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
23546         * elf/tst-leaks1.c (main): Converted to ...
23547         (do_test): ... this.
23548         (TEST_FUNCTION): New macro.
23549         Include test-skeleton.c.
23550         * localedata/tst-langinfo.c (main): Converted to ...
23551         (do_test): ... this.
23552         (TEST_FUNCTION): New macro.
23553         Include test-skeleton.c.
23554         * math/test-fpucw.c (main): Converted to ...
23555         (do_test): ... this.
23556         (TEST_FUNCTION): New macro.
23557         Include test-skeleton.c.
23558         * math/test-tgmath.c (main): Converted to ...
23559         (do_test): ... this.
23560         (TEST_FUNCTION): New macro.
23561         Include test-skeleton.c.
23562         * math/test-tgmath2.c (main): Converted to ...
23563         (do_test): ... this.
23564         (TEST_FUNCTION): New macro.
23565         Include test-skeleton.c.
23566         * setjmp/tst-setjmp.c (main): Converted to ...
23567         (do_test): ... this.
23568         (TEST_FUNCTION): New macro.
23569         Include test-skeleton.c.
23570         * stdio-common/tst-sscanf.c (main): Converted to ...
23571         (do_test): ... this.
23572         (TEST_FUNCTION): New macro.
23573         Include test-skeleton.c.
23574         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
23575         (do_test): ... this.
23576         (TEST_FUNCTION): New macro.
23577         Include test-skeleton.c.
23579         * elf/tst-audit9.c (main): Converted to ...
23580         (do_test): ... this.
23581         (TEST_FUNCTION): New macro.
23582         Include test-skeleton.c.
23584 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
23586         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23588 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23590         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23591         New variable.
23593 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23595         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23597 2015-07-14  Roland McGrath  <roland@hack.frob.com>
23599         * sysdeps/generic/dl-fileid.h: New file.
23600         * sysdeps/posix/dl-fileid.h: New file.
23601         * sysdeps/nacl/dl-fileid.h: New file.
23602         * include/link.h: Include <dl-fileid.h>.
23603         (struct link_map): Replace l_dev and l_ino with l_file_id.
23604         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23605         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
23606         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
23608 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23610         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23612 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23614         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23615         Add iff $CXX is set.
23616         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23617         Likewise.
23618         (tst-nodelete-zmodiff): Likewise.
23619         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23621 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23623         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23625 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23627         * sysdeps/aarch64/fpu/math_private.h
23628         (define math_opt_barrier): Add AArch64 version.
23629         (math_force_eval): Likewise.
23631 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23633         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23635 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
23637         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23638         %ld with %jd and cast to intmax_t.
23639         (do_test_length_zero): Likewise.
23641 2015-07-10  Roland McGrath  <roland@hack.frob.com>
23643         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23645 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
23647         * sysdeps/tile/libm-test-ulps: Regenerated.
23649         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23650         Comment out the whole function, not just its body.
23652 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23654         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23655         locks.
23657         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23659 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23661         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23662         (sem_assume_only_signals_cause_futex_EINTR): Remove.
23664 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23666         * sysdeps/nptl/futex-internal.h: New file.
23667         * sysdeps/nacl/futex-internal.h: New file.
23668         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23669         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23670         error checking.
23671         (setxid_unmark_thread): Likewise.
23672         (__nptl_setxid): Likewise.
23673         (__wait_lookup_done): Likewise.
23674         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23675         * nptl/nptl-init.c (sighandler_setxid): Likewise.
23676         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23677         * nptl/pthread_once.c (clear_once_control): Likewise.
23678         (__pthread_once_slow): Likewise.
23679         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23680         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23681         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23682         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23683         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23684         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23685         Likewise.
23686         (__pthread_rwlock_rdlock): Likewise.
23687         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23688         Likewise.
23689         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23690         Likewise.
23691         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23692         Likewise.
23693         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23694         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23695         Likewise.
23696         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23697         __ASSUME_PRIVATE_FUTEX check.
23698         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23699         Check that shared futexes are supported.
23700         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23701         wrappers with error checking.
23702         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23703         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23704         * nptl/pthread_barrierattr_setpshared.c
23705         (pthread_barrierattr_setpshared): Check that shared futexes are
23706         supported.
23707         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23708         Likewise.
23709         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23710         Likewise.
23711         * nptl/sem_init.c (futex_private_if_supported): Remove.
23712         (__new_sem_init): Adapt and check that shared futexes are supported.
23713         * nptl/sem_open.c (sem_open): Likewise.
23714         * nptl/sem_post.c (futex_wake): Remove.
23715         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23716         (do_futex_wait): Use futex wrappers with error checking.
23717         * nptl/sem_wait.c: Include lowlevellock.h.
23718         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23719         Use futex_supports_pshared.
23720         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23721         Use futex wrappers with error checking.
23722         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23723         Likewise.
23724         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23725         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23726         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23727         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23728         (futex_wake): Likewise.
23729         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23730         (do_futex_wait): Use futex wrappers with error checking.
23731         (__new_sem_wait_slow): Update EINTR handling.
23732         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23734 2015-07-09  Martin Sebor  <msebor@redhat.com>
23736         [BZ #18435]
23737         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23738         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23739         * nptl/Makefile (test-xfail-tst-once5): Define.
23741 2015-07-09  Roland McGrath  <roland@hack.frob.com>
23743         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23744         * elf/dl-minimal.c: For readability, reorder some definitions and
23745         introduce more page breaks.  Include <stdio.h>.
23746         (__libc_fatal): New function.
23748         * include/unistd.h: Add rtld_hidden_proto for _exit.
23749         * posix/_exit.c: Add rtld_hidden_def.
23750         * sysdeps/mach/hurd/_exit.c: Likewise.
23751         * sysdeps/nacl/_exit.c: Likewise.
23752         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23753         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23755 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
23757         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23758         bndmov encoding with zero displacement.
23760 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23761             H.J. Lu  <hongjiu.lu@intel.com>
23763         [BZ #18134]
23764         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23765         * sysdeps/i386/configure: Regenerated.
23766         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23767         (_dl_runtime_profile): Save and restore Intel MPX return bound
23768         registers when calling _dl_call_pltexit.  Add
23769         PRESERVE_BND_REGS_PREFIX before return.
23770         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23771         (LRV_BND1_OFFSET): Likewise.
23772         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23773         lrv_bnd1.
23774         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23775         typo in bndmov encoding.
23776         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23777         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
23778         branch instructions to preserve bounds.
23780 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23783         [GLIBC_2.22]: Add fmemopen.
23785 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23787         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23788         returns an error, also try to use host port from __mach_host_self for
23789         the __vm_wire call.
23790         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23792 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23794         [BZ #18400]
23795         [BZ #18648]
23796         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23797         Fix pr_uid and pr_gid members.
23798         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23799         definition to elf_greg_t.
23801 2015-07-08  Roland McGrath  <roland@hack.frob.com>
23803         [BZ #18383]
23804         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23805         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23806         * sysdeps/arm/configure: Regenerated.
23807         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23808         (test-xfail-tst-tlsalign-static): Variable removed.
23810         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23811         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23812         rather than explicit 'ln -s'.
23814         * resolv/rpc/netdb.h: New file.
23815         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23817 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23819         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23820         length buffers.
23821         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23822         test-skeleton.c.
23824         [BZ #6544]
23825         [BZ #11216]
23826         [BZ #12836]
23827         [BZ #13151]
23828         [BZ #13152]
23829         [BZ #14292]
23830         * include/stdio.h (fmemopen): Remove hidden prototype.
23831         (__fmemopen): Add new hidden prototype.
23832         * libio/Makefile: Add oldfmemopen object.
23833         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23834         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23835         compliance.
23836         * libio/oldfmemopen.c: New file: old fmemopen implementation for
23837         symbol compatibility.
23838         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23839         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23840         fmemopen.
23841         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23842         on append and read mode.
23843         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23844         fmemopen.
23845         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23846         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23847         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23848         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23849         Likewise.
23850         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23851         [GLIBC_2.22]: Likewise.
23852         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23853         Likewise.
23854         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23855         Likewise.
23856         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23857         [GLIBC_2.22]: Likewise.
23858         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23859         [GLIBC_2.22]: Likewise.
23860         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23861         [GLIBC_2.22]: Likewise.
23862         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23863         [GLIBC_2.22]: Likewise.
23864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23865         [GLIBC_2.22]: Likewise.
23866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23867         [GLIBC_2.22]: Likewise.
23868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23869         [GLIBC_2.22]: Likewise.
23870         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23871         Likewise.
23872         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23873         Likewise.
23874         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23875         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23876         [GLIBC_2.22]: Likewise.
23877         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23878         [GLIBC_2.22]: Likewise.
23879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23880         [GLIBC_2.22]: Likewise.
23881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23882         [GLIBC_2.22]: Likewise.
23883         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23884         Likewise.
23885         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23886         Likewise.
23887         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23888         Likewise.
23889         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23890         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23892 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23894         [BZ #18643]
23895         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23896         IPV6_PATHMTU, and IPV6_DONTFRAG.
23898 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
23900         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23901         and _IO_UNBUFFERED.
23902         * libio/oldfileops.c: Likewise.
23903         * libio/wfileops.c: Likewise.
23905 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23907         * nscd/selinux.c: Delete selinux/flask.h include.
23909 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23911         [BZ #18641]
23912         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23913         (putpwent): Likewise.
23914         (getpwnam): Likewise.
23915         (getpwent_r): Likewise.
23916         (getpwuid_r): Likewise.
23917         (getpwnam_r): Likewise.
23918         (fgetpwent_r): Likewise.
23920 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23922         [BZ #18557]
23923         * inet/rcmd.c (__validuser2_sa): Check user first to
23924         short-circuit host check.
23926 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
23927             Mikhail Ilin  <m.ilin@samsung.com>
23929         [BZ #17833]
23930         * elf/Makefile (tests): Add tst-nodelete.
23931         (modules-names): Add tst-nodelete-uniquemod.
23932         (tst-nodelete-uniquemod.so-no-z-defs): New.
23933         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23934         (tst-nodelete-zmod.so-no-z-defs): Likewise.
23935         ($(objpfx)tst-nodelete): Likewise.
23936         ($(objpfx)tst-nodelete.out): Likewise.
23937         (LDFLAGS-tst-nodelete): Likewise.
23938         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23939         * elf/dl-close.c (_dl_close_worker): Add a parameter to
23940         implement forced object deletion.
23941         (_dl_close): Pass false to _dl_close_worker.
23942         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23943         * elf/tst-nodelete.cc: New file.
23944         * elf/tst-nodeletelib.cc: Likewise.
23945         * elf/tst-znodeletelib.cc: Likewise.
23946         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23948 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23950         [BZ #18508]
23951         * stdlib/Makefile ($(objpfx)tst-makecontext3):
23952         Depend on $(libdl).
23953         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23954         is not called infinitely times.
23955         (backtrace_helper): New function.
23956         (trace_arg): New struct.
23957         (st1): Enlarge stack size.
23958         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23959         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23960         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23961         Likewise.
23963 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23965         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23967 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23969         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23970         Include sys/types.h instead of bits/types.h.
23971         Remove inclusion of bits/wordsize.h.
23973 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23975         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23976         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23977         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23978         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23979         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23980         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23982 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23984         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23985         link-defines.sym.
23986         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23987         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23988         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23989         and LR_SIZE.
23990         * sysdeps/i386/link-defines.sym: New file.
23992 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23994         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23995         (modules-names): Add tst-auditmod3a tst-auditmod3b.
23996         ($(objpfx)tst-audit3): New rule.
23997         ($(objpfx)tst-audit3.out): Likewise.
23998         * sysdeps/i386/tst-audit3.c: New file.
23999         * sysdeps/i386/tst-audit3.h: Likewise.
24000         * sysdeps/i386/tst-auditmod3a.c: Likewise.
24001         * sysdeps/i386/tst-auditmod3b.c: Likewise.
24003 2015-07-07  Torvald Riegel  <triegel@redhat.com>
24005         [BZ #18633]
24006         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
24007         pointer in C code.
24008         (__strcat_c): Likewise.
24009         (__strcat_g): Likewise.
24011 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
24013         [BZ #18592]
24014         * misc/sbrk.c: Set errno to ENOMEM on overflow.
24016 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
24018         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
24019         New function.  (__ieee754_sqrtf): New function.
24020         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
24021         New function.
24022         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
24023         New function.
24025 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
24027         * sysdeps/ieee754/support.c: Remove unused file.
24029 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24031         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24032         registers instead of d ones so the layout is kernel abi compatible.
24033         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24034         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24035         Likewise.
24037 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24039         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24041 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
24043         [BZ #18619]
24044         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24045         and return argument in case of subnormal argument.
24047 2015-07-01  Martin Sebor  <msebor@redhat.com>
24049         [BZ #18435]
24050         * nptl/Makefile: Add tst-once5.cc.
24051         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24052         Remove macro redefinitions.
24053         * nptl/tst-once5.cc: New test.
24055 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
24057         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24059         * sysdeps/arm/libm-test-ulps: Regenerated.
24061         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24062         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24064 2015-06-30  Torvald Riegel  <triegel@redhat.com>
24066         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24067         lll_lock_wait_private and lll_futex_wake probes.
24069         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24070         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24071         Likewise.
24072         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24073         atomic_spin_nop.
24074         * sysdeps/x86_64/bits/atomic.h: Likewise.
24075         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24076         to atomic_spin_nop and move ...
24077         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24078         ... here and ...
24079         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24080         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24081         atomic_spin_nop instead of BUSY_WAIT_NOP.
24082         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24083         Likewise.
24084         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24085         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24086         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24087         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24088         instead of atomic_delay.
24090 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
24092         [BZ #18613]
24093         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24094         X_ADJ not X when adjusting exponent.
24095         (__ieee754_gamma_r): Do intermediate computations in
24096         round-to-nearest then adjust overflowing and underflowing results
24097         as needed.
24098         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24099         of X_ADJ not X when adjusting exponent.
24100         (__ieee754_gammaf_r): Do intermediate computations in
24101         round-to-nearest then adjust overflowing and underflowing results
24102         as needed.
24103         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24104         log of X_ADJ not X when adjusting exponent.
24105         (__ieee754_gammal_r): Do intermediate computations in
24106         round-to-nearest then adjust overflowing and underflowing results
24107         as needed.  Use 1.0L not 1.0f as numerator of division.
24108         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24109         log of X_ADJ not X when adjusting exponent.
24110         (__ieee754_gammal_r): Do intermediate computations in
24111         round-to-nearest then adjust overflowing and underflowing results
24112         as needed.  Use 1.0L not 1.0f as numerator of division.
24113         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24114         of X_ADJ not X when adjusting exponent.
24115         (__ieee754_gammal_r): Do intermediate computations in
24116         round-to-nearest then adjust overflowing and underflowing results
24117         as needed.  Use 1.0L not 1.0f as numerator of division.
24118         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
24119         to auto-libm-test-in.
24120         (tgamma_test): Use ALL_RM_TEST.
24121         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
24122         tests of tgamma with spurious-overflow.
24123         * math/auto-libm-test-out: Regenerated.
24124         * math/gen-libm-have-vector-test.sh: Do not check for START.
24125         * sysdeps/i386/fpu/libm-test-ulps: Update.
24126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24128         [BZ #18612]
24129         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24130         arguments, just return 0.5 times the argument, with underflow
24131         forced as needed.
24132         * math/auto-libm-test-in: Add more tests of j1.
24133         * math/auto-libm-test-out: Regenerated.
24135         [BZ #16559]
24136         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24137         (__ieee754_j1): Force underflow exception for small results.
24138         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24139         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24140         (__ieee754_j1f): Force underflow exception for small results.
24141         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24142         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24143         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24144         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24145         (__ieee754_j1l): Force underflow exception for small results.
24146         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24147         * math/auto-libm-test-in: Add more tests of j1 and jn.
24148         * math/auto-libm-test-out: Regenerated.
24150         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24151         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24152         (PF_MPLS): Likewise.
24153         (AF_IB): Likewise.
24154         (AF_MPLS): Likewise.
24155         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24156         value and macro.
24157         (MS_RMT_MASK): Include MS_LAZYTIME.
24159 2015-06-26  Mel Gorman  <mgorman@suse.de>
24161         [BZ #18502]
24162         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24163         already minimal.
24165 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
24167         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24168         (DT_MIPS_NUM): Update.
24169         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24170         DT_MIPS_RLD_MAP_REL.
24172 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
24174         [BZ #16559]
24175         [BZ #18602]
24176         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24177         round-to-nearest internally then recompute results that
24178         underflowed to zero in the original rounding mode.
24179         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24180         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24182         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24183         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24184         * sysdeps/i386/fpu/libm-test-ulps: Update.
24185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24187 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24189         * NEWS: Fixed description of link with vector math library.
24191 2015-06-25  Andreas Schwab  <schwab@suse.de>
24193         [BZ #18549]
24194         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24195         * libio/test-fmemopen.c (do_test): Add test for it.
24197 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24199         [BZ #17841]
24200         * Makeconfig (no-pie-ldflag): New.
24201         (+link): Set to $(+link-pie) if default to PIE.
24202         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24203         * config.make.in (build-pie-default): New.
24204         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
24205         is default.  AC_SUBST.
24206         * configure: Regenerated.
24207         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24209 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24211         * nptl/descr.h (struct pthread): Change type of field setxid_futex
24212         to 'unsigned int'.
24214         * resolv/gai_misc.h (struct waitlist): Change type of field
24215         counterp to 'volatile unsigned int *'.
24216         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24217         FUTEXADDR and OLDVAL.
24218         * resolv/getaddrinfo_a.c (getaddrinfo_a):
24219         Give local variable TOTAL type 'volatile unsigned int'.
24220         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24221         * resolv/gai_suspend.c (gai_suspend):
24222         Give local variable CNTR type 'unsigned int'.
24224         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24225         counterp to 'volatile unsigned int *'.
24226         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24227         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24228         (aio_suspend): Give local variable CNTR type 'unsigned int'.
24229         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24230         Give local variable TOTAL type 'volatile unsigned int'.
24231         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24233 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24235         [BZ #18383]
24236         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24237         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
24238         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24239         comment for i386/x86-64.
24240         (test-xfail-tst-tlsalign-extern-static): Removed.
24242 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24244         * math/test-double.h: New file.
24245         * math/test-float.h: Likewise.
24246         * math/test-ldouble.h: Likewise.
24247         * math/test-math-inline.h: Likewise.
24248         * math/test-math-no-inline.h: Likewise.
24249         * math/test-math-scalar.h: Likewise.
24250         * math/test-math-vector.h: Likewise.
24251         * math/test-vec-loop.h: Remove file.  Contents moved into
24252         test-math-vector.h.
24253         * math/libm-test.inc (MATHCONST): Do not document macro.
24254         * math/test-double.c: Include test-double.h, test-math-no-inline.h
24255         and test-math-scalar.h.
24256         (FUNC): Remove macro.
24257         (FUNC_TEST): Likewise.
24258         (FLOAT): Likewise.
24259         (MATHCONST): Likewise.
24260         (PRINTF_EXPR): Likewise.
24261         (PRINTF_XEXPR): Likewise.
24262         (PRINTF_NEXPR): Likewise.
24263         (TEST_DOUBLE): Likewise.
24264         (TEST_MATHVEC): Likewise.
24265         (__NO_MATH_INLINES): Likewise.
24266         * math/test-float.c: Include test-float.h, test-math-no-inline.h
24267         and test-math-scalar.h.
24268         (FUNC): Remove macro.
24269         (FUNC_TEST): Likewise.
24270         (FLOAT): Likewise.
24271         (MATHCONST): Likewise.
24272         (PRINTF_EXPR): Likewise.
24273         (PRINTF_XEXPR): Likewise.
24274         (PRINTF_NEXPR): Likewise.
24275         (TEST_FLOAT): Likewise.
24276         (TEST_MATHVEC): Likewise.
24277         (__NO_MATH_INLINES): Likewise.
24278         * math/test-idouble.c: Include test-double.h, test-math-inline.h
24279         and test-math-scalar.h.
24280         (FUNC): Remove macro.
24281         (FUNC_TEST): Likewise.
24282         (FLOAT): Likewise.
24283         (MATHCONST): Likewise.
24284         (PRINTF_EXPR): Likewise.
24285         (PRINTF_XEXPR): Likewise.
24286         (PRINTF_NEXPR): Likewise.
24287         (TEST_DOUBLE): Likewise.
24288         (TEST_MATHVEC): Likewise.
24289         (TEST_INLINE): Likewise.
24290         (__NO_MATH_INLINES): Likewise.
24291         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24292         test-math-scalar.h.
24293         (FUNC): Remove macro.
24294         (FUNC_TEST): Likewise.
24295         (FLOAT): 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         (TEST_INLINE): Likewise.
24303         (__NO_MATH_INLINES): Likewise.
24304         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24305         and test-math-scalar.h.
24306         (FUNC): Remove macro.
24307         (FUNC_TEST): Likewise.
24308         (FLOAT): Likewise.
24309         (MATHCONST): Likewise.
24310         (PRINTF_EXPR): Likewise.
24311         (PRINTF_XEXPR): Likewise.
24312         (PRINTF_NEXPR): Likewise.
24313         (TEST_LDOUBLE): Likewise.
24314         (TEST_MATHVEC): Likewise.
24315         (TEST_INLINE): Likewise.
24316         (__NO_MATH_INLINES): Likewise.
24317         * math/test-ldouble.c: Include test-ldouble.h,
24318         test-math-no-inline.h and test-math-scalar.h.
24319         (FUNC): Remove macro.
24320         (FUNC_TEST): Likewise.
24321         (FLOAT): Likewise.
24322         (MATHCONST): Likewise.
24323         (PRINTF_EXPR): Likewise.
24324         (PRINTF_XEXPR): Likewise.
24325         (PRINTF_NEXPR): Likewise.
24326         (TEST_LDOUBLE): Likewise.
24327         (TEST_MATHVEC): Likewise.
24328         (__NO_MATH_INLINES): Likewise.
24329         * math/test-double-vlen2.h: Include test-double.h,
24330         test-math-no-inline.h and test-math-vector.h.
24331         (FLOAT): Remove macro.
24332         (FUNC): Likewise.
24333         (MATHCONST): Likewise.
24334         (PRINTF_EXPR): Likewise.
24335         (PRINTF_XEXPR): Likewise.
24336         (PRINTF_NEXPR): Likewise.
24337         (TEST_DOUBLE): Likewise.
24338         (TEST_MATHVEC): Likewise.
24339         (__NO_MATH_INLINES): Likewise.
24340         (CNCT): Likewise.
24341         (CONCAT): Likewise.
24342         (WRAPPER_NAME): Likewise.
24343         (WRAPPER_DECL): Likewise.
24344         (WRAPPER_DECL_ff): Likewise.
24345         (WRAPPER_DECL_fFF): Likewise.
24346         (VECTOR_WRAPPER): Likewise.
24347         (VECTOR_WRAPPER_ff): Likewise.
24348         (VECTOR_WRAPPER_fFF): Likewise.
24349         (VEC_LEN): New macro.
24350         * math/test-double-vlen4.h: Include test-double.h,
24351         test-math-no-inline.h and test-math-vector.h.
24352         (FLOAT): Remove macro.
24353         (FUNC): Likewise.
24354         (MATHCONST): Likewise.
24355         (PRINTF_EXPR): Likewise.
24356         (PRINTF_XEXPR): Likewise.
24357         (PRINTF_NEXPR): Likewise.
24358         (TEST_DOUBLE): Likewise.
24359         (TEST_MATHVEC): Likewise.
24360         (__NO_MATH_INLINES): Likewise.
24361         (CNCT): Likewise.
24362         (CONCAT): Likewise.
24363         (WRAPPER_NAME): Likewise.
24364         (WRAPPER_DECL): Likewise.
24365         (WRAPPER_DECL_ff): Likewise.
24366         (WRAPPER_DECL_fFF): Likewise.
24367         (VECTOR_WRAPPER): Likewise.
24368         (VECTOR_WRAPPER_ff): Likewise.
24369         (VECTOR_WRAPPER_fFF): Likewise.
24370         (VEC_LEN): New macro.
24371         * math/test-double-vlen8.h: Include test-double.h,
24372         test-math-no-inline.h and test-math-vector.h.
24373         (FLOAT): Remove macro.
24374         (FUNC): Likewise.
24375         (MATHCONST): Likewise.
24376         (PRINTF_EXPR): Likewise.
24377         (PRINTF_XEXPR): Likewise.
24378         (PRINTF_NEXPR): Likewise.
24379         (TEST_DOUBLE): Likewise.
24380         (TEST_MATHVEC): Likewise.
24381         (__NO_MATH_INLINES): Likewise.
24382         (CNCT): Likewise.
24383         (CONCAT): Likewise.
24384         (WRAPPER_NAME): Likewise.
24385         (WRAPPER_DECL): Likewise.
24386         (WRAPPER_DECL_ff): Likewise.
24387         (WRAPPER_DECL_fFF): Likewise.
24388         (VECTOR_WRAPPER): Likewise.
24389         (VECTOR_WRAPPER_ff): Likewise.
24390         (VECTOR_WRAPPER_fFF): Likewise.
24391         (VEC_LEN): New macro.
24392         * math/test-float-vlen4.h: Include test-float.h,
24393         test-math-no-inline.h and test-math-vector.h.
24394         (FLOAT): Remove macro.
24395         (FUNC): Likewise.
24396         (MATHCONST): Likewise.
24397         (PRINTF_EXPR): Likewise.
24398         (PRINTF_XEXPR): Likewise.
24399         (PRINTF_NEXPR): Likewise.
24400         (TEST_FLOAT): Likewise.
24401         (TEST_MATHVEC): Likewise.
24402         (__NO_MATH_INLINES): Likewise.
24403         (CNCT): Likewise.
24404         (CONCAT): Likewise.
24405         (WRAPPER_NAME): Likewise.
24406         (WRAPPER_DECL): Likewise.
24407         (WRAPPER_DECL_ff): Likewise.
24408         (WRAPPER_DECL_fFF): Likewise.
24409         (VECTOR_WRAPPER): Likewise.
24410         (VECTOR_WRAPPER_ff): Likewise.
24411         (VECTOR_WRAPPER_fFF): Likewise.
24412         (VEC_LEN): New macro.
24413         * math/test-float-vlen8.h: Include test-float.h,
24414         test-math-no-inline.h and test-math-vector.h.
24415         (FLOAT): Remove macro.
24416         (FUNC): Likewise.
24417         (MATHCONST): Likewise.
24418         (PRINTF_EXPR): Likewise.
24419         (PRINTF_XEXPR): Likewise.
24420         (PRINTF_NEXPR): Likewise.
24421         (TEST_FLOAT): Likewise.
24422         (TEST_MATHVEC): Likewise.
24423         (__NO_MATH_INLINES): Likewise.
24424         (CNCT): Likewise.
24425         (CONCAT): Likewise.
24426         (WRAPPER_NAME): Likewise.
24427         (WRAPPER_DECL): Likewise.
24428         (WRAPPER_DECL_ff): Likewise.
24429         (WRAPPER_DECL_fFF): Likewise.
24430         (VECTOR_WRAPPER): Likewise.
24431         (VECTOR_WRAPPER_ff): Likewise.
24432         (VECTOR_WRAPPER_fFF): Likewise.
24433         (VEC_LEN): New macro.
24434         * math/test-float-vlen16.h: Include test-float.h,
24435         test-math-no-inline.h and test-math-vector.h.
24436         (FLOAT): Remove macro.
24437         (FUNC): Likewise.
24438         (MATHCONST): Likewise.
24439         (PRINTF_EXPR): Likewise.
24440         (PRINTF_XEXPR): Likewise.
24441         (PRINTF_NEXPR): Likewise.
24442         (TEST_FLOAT): Likewise.
24443         (TEST_MATHVEC): Likewise.
24444         (__NO_MATH_INLINES): Likewise.
24445         (CNCT): Likewise.
24446         (CONCAT): Likewise.
24447         (WRAPPER_NAME): Likewise.
24448         (WRAPPER_DECL): Likewise.
24449         (WRAPPER_DECL_ff): Likewise.
24450         (WRAPPER_DECL_fFF): Likewise.
24451         (VECTOR_WRAPPER): Likewise.
24452         (VECTOR_WRAPPER_ff): Likewise.
24453         (VECTOR_WRAPPER_fFF): Likewise.
24454         (VEC_LEN): New macro.
24455         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24456         test-vec-loop.h.
24457         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24458         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24459         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24460         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24461         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24462         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24463         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24465 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24467         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24468         (__getlogin_r): ... this.
24470 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24472         [BZ #18594]
24473         * math/s_ccosh.c (__ccosh): Compare with least normal value
24474         instead of comparing class with FP_SUBNORMAL.
24475         * math/s_ccoshf.c (__ccoshf): Likewise.
24476         * math/s_ccoshl.c (__ccoshl): Likewise.
24477         * math/s_cexp.c (__cexp): Likewise.
24478         * math/s_cexpf.c (__cexpf): Likewise.
24479         * math/s_cexpl.c (__cexpl): Likewise.
24480         * math/s_csin.c (__csin): Likewise.
24481         * math/s_csinf.c (__csinf): Likewise.
24482         * math/s_csinh.c (__csinh): Likewise.
24483         * math/s_csinhf.c (__csinhf): Likewise.
24484         * math/s_csinhl.c (__csinhl): Likewise.
24485         * math/s_csinl.c (__csinl): Likewise.
24486         * math/s_ctan.c (__ctan): Likewise.
24487         * math/s_ctanf.c (__ctanf): Likewise.
24488         * math/s_ctanh.c (__ctanh): Likewise.
24489         * math/s_ctanhf.c (__ctanhf): Likewise.
24490         * math/s_ctanhl.c (__ctanhl): Likewise.
24491         * math/s_ctanl.c (__ctanl): Likewise.
24492         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24493         csin, csinh, ctan and ctanh.
24494         * math/auto-libm-test-out: Regenerated.
24495         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24496         * sysdeps/i386/fpu/libm-test-ulps: Update.
24497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24499 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24501         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24502         return value is wrong, print the expected value too.
24504 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24506         [BZ #18585]
24507         * elf/readlib.c (is_gdb_python_file): New.
24508         (process_file): Don't issue errors on filenames with -gdb.py
24509         suffix.
24511 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24513         * math/auto-libm-test-in: Add more tests of csin and csinh.
24514         * math/auto-libm-test-out: Regenerated.
24515         * math/libm-test.inc (csin_test_data): Remove tests moved to
24516         auto-libm-test-in.
24517         (csinh_test_data): Likewise.
24519         [BZ #18593]
24520         * math/s_csin.c (__csin): Negate before rather than after possibly
24521         overflowing multiplication.
24522         * math/s_csinf.c (__csinf): Likewise.
24523         * math/s_csinh.c (__csinh): Likewise.
24524         * math/s_csinhf.c (__csinhf): Likewise.
24525         * math/s_csinhl.c (__csinhl): Likewise.
24526         * math/s_csinl.c (__csinl): Likewise.
24527         * math/auto-libm-test-in: Add some tests of csin and csinh.
24528         * math/auto-libm-test-out: Regenerated.
24529         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24530         (csinh_test_data): Likewise.
24531         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24533         [BZ #18586]
24534         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24535         underflow exception for small results.
24537 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
24539         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24540         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
24541         variable and included header.
24542         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
24543         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
24544         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
24545         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
24546         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
24547         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
24548         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
24549         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
24550         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
24551         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
24552         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
24553         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24554         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
24555         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
24556         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
24557         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
24559 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24561         [BZ #16526]
24562         [BZ #16538]
24563         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
24564         (__sin): Force underflow exception for arguments with small
24565         absolute value.
24566         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
24567         (__kernel_sinf): Force underflow exception for arguments with
24568         small absolute value.
24569         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
24570         (__kernel_sincosl): Force underflow exception for arguments with
24571         small absolute value.
24572         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
24573         (__kernel_sinl): Force underflow exception for arguments with
24574         small absolute value.
24575         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
24576         (__kernel_sincosl): Force underflow exception for arguments with
24577         small absolute value.
24578         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24579         (__kernel_sinl): Force underflow exception for arguments with
24580         small absolute value.
24581         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24582         (__kernel_sinl): Force underflow exception for arguments with
24583         small absolute value.
24584         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24585         (__kernel_sinf): Force underflow exception for arguments with
24586         small absolute value.
24587         * math/auto-libm-test-in: Add more tests of sin and sincos.
24588         * math/auto-libm-test-out: Regenerated.
24590         [BZ #18245]
24591         [BZ #18583]
24592         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24593         (__kernel_standard_l): Use feholdexcept and fesetenv around
24594         conversion to double instead of special-casing overflow and
24595         underflow.
24596         * math/libm-test.inc (fmod_test_data): Add more tests.
24597         (remainder_test_data): Likewise.
24598         (sqrt_test_data): Likewise.
24600 2015-06-23  Torvald Riegel  <triegel@redhat.com>
24602         [BZ #17403]
24603         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24604         atomic_read_barrier, atomic_write_barrier): Define.
24605         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24606         atomic_read_barrier, atomic_write_barrier): Define.
24608 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24610         * math/Makefile [$(PERL) != no]
24611         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24612         dependency on libm-test.stmp below the inclusion of Rules.
24614 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
24616         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24617         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24618         and included header.
24619         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24620         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24621         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24622         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24623         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24624         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24625         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24626         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24627         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24628         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24629         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24630         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24631         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24632         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24633         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24634         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24635         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24636         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24637         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24639 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24641         [BZ #18371]
24642         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24643         intermediate but not final result might underflow.
24644         * math/s_csqrtf.c (__csqrtf): Likewise.
24645         * math/s_csqrtl.c (__csqrtl): Likewise.
24646         * math/auto-libm-test-in: Add more tests of csqrt.
24647         * math/auto-libm-test-out: Regenerated.
24648         * sysdeps/i386/fpu/libm-test-ulps: Update.
24650         [BZ #18219]
24651         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24652         threshold on absolute value of exponent for which scaling is used.
24653         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24654         * math/auto-libm-test-in: Add more tests of exp2.
24655         * math/auto-libm-test-out: Regenerated.
24657 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
24659         [BZ #17977]
24660         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24661         when initializing interface list, based on the bug analysis
24662         and the patch proposed by Eric Newton.
24663         * resolv/tst-res_hconf_reorder.c: New test.
24664         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24665         tst-res_hconf_reorder.
24666         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24667         and $(shared-thread-library).
24668         (tst-res_hconf_reorder-ENV): New variable.
24670         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24671         in comment.
24673 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
24675         [BZ #16353]
24676         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24677         (__expm1): Force underflow exception for arguments with small
24678         absolute value.
24679         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24680         (__expm1f): Force underflow exception for arguments with small
24681         absolute value.
24682         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24683         (__expm1): Force underflow exception for arguments with small
24684         absolute value.
24685         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24686         (__expm1f): Force underflow exception for arguments with small
24687         absolute value.
24688         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24689         Check for small arguments before calling __expm1.
24690         * math/auto-libm-test-in: Do not mark underflow exceptions as
24691         possibly missing for bug 16353.
24692         * math/auto-libm-test-out: Regenerated.
24694 2015-06-22  Andreas Schwab  <schwab@suse.de>
24696         [BZ #18513]
24697         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24698         PTR queries.
24700 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
24702         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24704         * string/strcoll_l.c: Remove unused struct element idxnow.
24706 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
24708         [BZ #18569]
24709         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24710         underflow and return argument in case of subnormal argument.
24711         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24712         Likewise.
24713         * math/auto-libm-test-in: Add more tests of expm1.
24714         * math/auto-libm-test-out: Regenerated.
24716         [BZ #16361]
24717         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24718         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24719         tiny results.
24720         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24721         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24722         tiny results.
24723         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
24724         mark underflow exceptions as possibly missing for bug 16361.
24725         * math/auto-libm-test-out: Regenerated.
24727 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
24729         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24730         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24731         Remove variable.
24732         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24733         (test-xfail-XOPEN2K8/utmpx.h/conform).
24735         * conform/conformtest.pl ($xerrors): New variable.
24736         (note_error): New function.
24737         (compiletest): New argument $xfail.  Use not_error.
24738         (runtest): Likewise.
24739         (top level): Handle xfail- lines.  Update calls to compiletest and
24740         runtest.  Handle xfail- and optional- in headers listed with
24741         allow-header.
24742         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24743         (O_EXEC): Likewise.
24744         (O_SEARCH): Likewise.
24745         * conform/data/stropts.h-data (ioctl): Likewise.
24746         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24747         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24748         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24749         (msghdr.msg_controllen): Likewise.
24750         (cmsghdr.cmsg_len): Likewise.
24751         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24752         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24753         variable.
24754         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24755         (test-xfail-XPG4/stropts.h/conform): Likewise.
24756         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24757         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24758         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24759         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24760         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24761         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24762         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24763         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24764         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24765         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24766         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24767         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24768         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24769         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24770         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24771         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24772         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24773         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24774         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24776 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24778         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24779         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24780         definitions for proper unfolding of __MATHDECL_VEC.
24782 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24784         * benchtests/bench-strcoll.c:
24785         Include string.h.
24786         (main): Remove unused variable res.
24788 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24790         * timezone/Makefile (%/UTC %/Universal):
24791         Generate test-result files for UTC and Universal.
24793 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24795         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24797 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
24799         [BZ #16350]
24800         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24801         for arguments with small absolute value.
24802         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24803         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24804         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24805         (__asinh): Force underflow exception for arguments with small
24806         absolute value.
24807         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24808         (__asinhf): Force underflow exception for arguments with small
24809         absolute value.
24810         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24811         (__asinhl): Force underflow exception for arguments with small
24812         absolute value.
24813         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24814         (__asinhl): Force underflow exception for arguments with small
24815         absolute value.
24816         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24817         (__asinhl): Force underflow exception for arguments with small
24818         absolute value.
24819         * math/auto-libm-test-in: Do not mark underflow exceptions as
24820         possibly missing for bug 16350.
24821         * math/auto-libm-test-out: Regenerated.
24823         * include/bits/ipc.h: Remove file.
24824         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24825         variable.
24826         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24827         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24828         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24829         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24830         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24831         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24832         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24833         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24834         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24836         * math/auto-libm-test-in: Remove spurious underflow allowance for
24837         tests of cexp.
24838         * math/auto-libm-test-out: Regenerated.
24840         [BZ #18558]
24841         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24842         unconditional definition.
24843         (MCAST_BLOCK_SOURCE): Likewise.
24844         (MCAST_UNBLOCK_SOURCE): Likewise.
24845         (MCAST_LEAVE_GROUP): Likewise.
24846         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24847         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24848         (MCAST_MSFILTER): Likewise.
24849         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24850         Remove variable.
24851         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24852         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24853         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24854         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24855         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24857 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
24859         * NEWS: Mention addition of x86_64 vector sincosf.
24860         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24861         * math/test-float-vlen4.h: Likewise.
24862         * math/test-float-vlen8.h: Likewise.
24863         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24864         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24865         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24866         * sysdeps/x86_64/fpu/Versions: New versions added.
24867         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24868         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24869         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24870         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24871         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24872         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24873         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24874         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24875         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24876         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24877         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24878         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24879         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24880         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24881         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24882         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24883         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24884         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24885         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24886         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24887         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24888         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24889         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24890         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24892         * NEWS: Mention addition of x86_64 vector sincos.
24893         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24894         * math/math.h (__MATHDECL_VEC): New macro.
24895         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24896         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24897         declaration under condition.
24898         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24899         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24900         TEST_VEC_LOOP change.
24901         * math/test-double-vlen4.h: Likewise.
24902         * math/test-double-vlen8.h: Likewise.
24903         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24904         * math/test-float-vlen4.h: Likewise.
24905         * math/test-float-vlen8.h: Likewise.
24906         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24907         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24908         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24909         * sysdeps/x86_64/fpu/Versions: New versions added.
24910         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24911         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24912         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24913         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24914         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24915         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24916         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24917         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24918         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24919         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24920         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24921         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24922         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24923         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24924         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24925         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24926         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24927         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24928         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24929         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24930         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24931         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24932         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24933         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24935         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24936         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24937         redirections for powf.
24938         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24939         * sysdeps/x86_64/fpu/Versions: New versions added.
24940         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24941         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24942         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24943         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24944         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24945         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24946         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24947         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24948         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24949         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24950         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24951         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24952         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24953         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24954         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24955         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24956         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24957         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24958         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24959         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24960         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24961         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24962         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24963         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24964         * math/test-float-vlen16.h: Fixed 2 argument macro.
24965         * math/test-float-vlen4.h: Likewise.
24966         * math/test-float-vlen8.h: Likewise.
24967         * NEWS: Mention addition of x86_64 vector powf.
24969 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
24971         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24972         and redefine.
24973         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24974         and redefine.
24975         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24976         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24977         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24979         [BZ #18553]
24980         * resource/getpriority.c (getpriority): Rename to __getpriority
24981         and define as weak alias of __getpriority.
24982         * resource/setpriority.c (setpriority): Rename to __setpriority
24983         and define as weak alias of __setpriority.
24984         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24985         __getpriority and define as weak alias of __getpriority.
24986         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24987         __setpriority and define as weak alias of __setpriority.
24988         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24989         strong name.
24990         (setpriority): Use __setpriority as strong name.
24991         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24992         __getpriority and define as weak alias of __getpriority.
24993         * include/sys/resource.h (__getpriority): Declare.  Use
24994         libc_hidden_proto.
24995         (__setpriority): Likewise.
24996         (getpriority): Don't use libc_hidden_proto.
24997         (setpriority): Likewise.
24998         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24999         getpriority.  Call __setpriority instead of setpriority.
25000         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
25001         Remove variable.
25003         [BZ #18547]
25004         * misc/getttyent.c (getttynam): Rename to __getttynam and define
25005         as weak alias of __getttynam.  Use prototype function definition.
25006         Call __setttyent, __getttyent and __endttyent instead of
25007         setttyent, getttyent and endttyent.
25008         (getttyent): Rename to __getttyent and define as weak alias of
25009         __getttyent.  Call __setttyent instead of setttyent.  Call
25010         __fgets_unlocked instead of fgets_unlocked.
25011         (setttyent): Rename to __setttyent and define as weak alias of
25012         __setttyent.
25013         (endttyent): Rename to __endttyent and define as weak alias of
25014         __endttyent.
25015         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
25016         (__setttyent): Likewise.
25017         (__endttyent): Likewise.
25018         (getttyent): Don't use libc_hidden_proto.
25019         (setttyent): Likewise.
25020         (endttyent): Likewise.
25021         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
25022         __endttyent instead of setttyent, getttyent and endttyent.
25023         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
25024         Remove variable.
25026         [BZ #18546]
25027         * socket/recv.c (__recv): Use libc_hidden_def.
25028         * socket/socket.c (__socket): Likewise.
25029         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25030         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25031         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25032         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25033         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25034         libc_hidden_def.
25035         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25036         libc_hidden_weak.
25037         * include/sys/socket.h (__socket): Do not use attribute_hidden.
25038         Use libc_hidden_proto.
25039         (__recv): Likewise.
25040         * socket/Versions (libc): Export __recv and __socket at version
25041         GLIBC_PRIVATE.
25042         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25043         instead of recv.
25044         (init_mq_netlink): Call __socket instead of socket.
25045         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25046         Remove variable.
25048         [BZ #18545]
25049         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25050         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
25051         hidden_weak.
25052         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25053         define as alias of __mq_timedsend.  Use hidden_weak.
25054         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25055         __mq_timedsend as strong name.
25056         (mq_timedreceive): Use __mq_timedreceive as strong name.
25057         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
25058         (__mq_timedreceive): Likewise.
25059         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25060         __mq_timedreceive instead of mq_timedreceive.
25061         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25062         instead of mq_timedsend.
25063         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25064         Remove variable.
25066         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25067         hidden_def and hidden_weak instead of libc_hidden_def and
25068         libc_hidden_weak.
25069         (top level): Refer to hidden_def in comment.
25070         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25071         macro.  Use it instead of libc_hidden_def.
25072         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25073         specify __GI_* name explicitly.
25074         (mq_timedreceive): Likewise.
25075         (mq_setattr): Likewise.
25077         [BZ #18544]
25078         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25079         __pthread_barrier_init and define as weak alias of
25080         __pthread_barrier_init.
25081         * sysdeps/sparc/nptl/pthread_barrier_init.c
25082         (pthread_barrier_init): Likewise.
25083         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25084         __pthread_barrier_wait and define as weak alias of
25085         __pthread_barrier_wait.
25086         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25087         (pthread_barrier_wait): Likewise.
25088         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25089         (pthread_barrier_wait): Likewise.
25090         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25091         (pthread_barrier_wait): Likewise.
25092         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25093         (pthread_barrier_wait): Likewise.
25094         * nptl/Versions (libpthread): Export __pthread_barrier_init and
25095         __pthread_barrier_wait at version GLIBC_PRIVATE.
25096         * include/pthread.h (__pthread_barrier_init): Declare.
25097         (__pthread_barrier_wait): Likewise.
25098         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25099         Call __pthread_barrier_wait instead of pthread_barrier_wait.
25100         (helper_thread): Likewise.
25101         (init_mq_netlink): Call __pthread_barrier_init instead of
25102         pthread_barrier_init.
25104         [BZ #18542]
25105         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25106         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25107         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
25108         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25109         vswscanf.
25110         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25111         Remove variable.
25113         [BZ #18540]
25114         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25115         strong alias of _IO_fflush.  Use libc_hidden_def.
25116         * libio/iofflush_u.c (fflush_unlocked): Rename to
25117         __fflush_unlocked and define as weak alias of __fflush_unlocked.
25118         Use libc_hidden_weak.
25119         * include/stdio.h (__fflush_unlocked): Declare.  Use
25120         libc_hidden_proto.
25121         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25122         fflush_unlocked.
25123         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25124         Remove variable.
25126         [BZ #18539]
25127         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25128         define as weak alias of __addseverity.
25129         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25130         Remove variable.
25131         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25132         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25133         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25135         [BZ #18536]
25136         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25137         (__tfind): Likewise.
25138         (__tdelete): Likewise.
25139         (__twalk): Likewise.
25140         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25141         __twalk to GLIBC_PRIVATE.
25142         * include/search.h (__tsearch): Use libc_hidden_proto.
25143         (__tfind): Likewise.
25144         (__tdelete): Likewise.
25145         (__twalk): Likewise.
25146         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25147         Call __tdelete instead of tdelete.
25148         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25149         tfind.  Call __tsearch instead of tsearch.
25150         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25151         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25152         Remove variable.
25153         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25155         [BZ #18534]
25156         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25157         (dprintf): Define as a weak alias of __dprintf, not a strong
25158         alias.
25159         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
25160         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25161         dprintf.
25162         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25163         Remove variable.
25164         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25165         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25167         [BZ #18533]
25168         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25169         not a strong alias.
25170         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25171         Remove variable.
25173         [BZ #18532]
25174         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25175         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
25176         (in6addr_loopback): Rename to __in6addr_loopback and define as
25177         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
25178         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
25179         libc_hidden_proto.
25180         (__in6addr_any): Likewise.
25181         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25182         in6addr_any.
25183         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25184         variable.
25185         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25187 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
25189         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25190         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25191         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25192         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25193         redirections for pow.
25194         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25195         * sysdeps/x86_64/fpu/Versions: New versions added.
25196         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25197         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25198         build of SSE, AVX2 and AVX512 IFUNC versions.
25199         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25200         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25201         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25202         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25203         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25204         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25205         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25206         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25207         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25208         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25209         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25210         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25211         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25212         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25213         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25214         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25215         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25216         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25217         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25218         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25219         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25220         * NEWS: Mention addition of x86_64 vector pow.
25222         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25223         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25224         redirections for expf.
25225         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25226         * sysdeps/x86_64/fpu/Versions: New versions added.
25227         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25228         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25229         build of SSE, AVX2 and AVX512 IFUNC versions.
25230         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25231         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25232         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25233         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25234         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25235         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25236         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25237         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25238         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25239         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25240         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25241         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25242         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25243         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25244         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25245         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25246         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25247         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25248         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25249         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25250         * NEWS: Mention addition of x86_64 vector expf.
25252         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25253         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25254         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25255         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25256         redirections for exp.
25257         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25258         * sysdeps/x86_64/fpu/Versions: New versions added.
25259         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25260         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25261         build of SSE, AVX2 and AVX512 IFUNC versions.
25262         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25263         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25264         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25265         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25266         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25267         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25268         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25269         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25270         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25271         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25272         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25273         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25274         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25275         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25276         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25277         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25278         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25279         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25280         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25281         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25282         * NEWS: Mention addition of x86_64 vector exp.
25284         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25285         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25286         redirections for logf.
25287         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25288         * sysdeps/x86_64/fpu/Versions: New versions added.
25289         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25290         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25291         build of SSE, AVX2 and AVX512 IFUNC versions.
25292         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25293         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25294         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25295         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25296         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25297         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25298         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25299         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25300         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25301         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25302         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25303         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25304         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25305         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25306         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25307         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25308         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25309         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25310         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25311         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25312         * NEWS: Mention addition of x86_64 vector logf.
25314         * bits/libm-simd-decl-stubs.h: Added stubs for log.
25315         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25316         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25317         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25318         redirections for log.
25319         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25320         * sysdeps/x86_64/fpu/Versions: New versions added.
25321         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25322         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25323         build of SSE, AVX2 and AVX512 IFUNC versions.
25324         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25325         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25326         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25327         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25328         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25329         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25330         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25331         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25332         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25333         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25334         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25335         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25336         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25337         test.
25338         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25339         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25340         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25341         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25342         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25343         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25344         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25345         * NEWS: Mention addition of x86_64 vector log.
25347 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25349         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25350         cfi_adjust_cfa_offset argument.
25351         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25352         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25354         [BZ #18034]
25355         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25356         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25357         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25358         ordering using ldar.
25359         (_dl_tlsdesc_dynamic): Likewise.
25360         (_dl_tlsdesc_return_lazy): Likewise.
25361         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25362         relaxed atomics instead of volatile and synchronize with release store.
25363         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25364         volatile.
25365         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25367 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
25369         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25370         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25371         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25372         * sysdeps/x86_64/fpu/Versions: New versions added.
25373         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25374         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25375         build of SSE, AVX2 and AVX512 IFUNC versions.
25376         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25377         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25378         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25379         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25380         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25381         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25382         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25383         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25384         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25385         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25386         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25387         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25388         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25389         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25390         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25391         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25392         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25393         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25394         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25395         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25396         * NEWS: Mention addition of x86_64 vector sinf.
25398 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
25400         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25401         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25402         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25403         Remove variable.
25404         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25405         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25407 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25409         [BZ #18530]
25410         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25411         strong alias of _IO_fputs.  Use libc_hidden_def.
25412         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25413         and define as weak alias of __fputs_unlocked.  Use
25414         libc_hidden_weak.
25415         * include/stdio.h (__fputs_unlocked): Declare.  Use
25416         libc_hidden_proto.
25417         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25418         fputs_unlocked.
25420         [BZ #18529]
25421         * resolv/netdb.h [__USE_POSIX]: Change condition to
25422         [__USE_XOPEN2K].
25423         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25424         not expect.
25425         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25426         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25427         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25428         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25429         [XPG4 || UNIX98] (AI_ALL): Likewise.
25430         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25431         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25432         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25433         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25434         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25435         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25436         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25437         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25438         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25439         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25440         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25441         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25442         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25443         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25444         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25445         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25446         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25447         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25448         [XPG4 || UNIX98] (gai_strerror): Likewise.
25449         [XPG4 || UNIX98] (getaddrinfo): Likewise.
25450         [XPG4 || UNIX98] (getnameinfo): Likewise.
25452         [BZ #18528]
25453         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25454         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25455         __USE_XOPEN2K8].
25456         (getgrent): Likewise.
25457         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25458         expect.
25459         [XPG3 || POSIX2008] (endgrent): Likewise.
25460         [XPG3] (setgrent): Likewise.
25461         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25462         variable.
25463         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25465         [BZ #18527]
25466         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25467         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
25468         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25469         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25470         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25471         * include/unistd.h (__getlogin_r): Declare.  Use
25472         libc_hidden_proto.
25473         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25474         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25475         variable.
25476         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25477         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25478         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25480 2015-06-12  Martin Sebor  <msebor@redhat.com>
25482         [BZ #18512]
25483         * Makerules (check-install-supported): New target.
25484         (install): Add check-install-supported as a dependency.
25485         * manual/install.texi (Installing the C Library): Document
25486         that overriding prefix and exec_prefix is not supported.
25487         Mention DESTDIR.
25488         * INSTALL: Regenerate from the above.
25490 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25492         [BZ #18519]
25493         * posix/Versions (libc): Export __libc_pread at version
25494         GLIBC_PRIVATE.
25495         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25496         instead of pread.
25497         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25498         variable.
25500         [BZ #18522]
25501         * misc/efgcvt_r.c
25502         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25503         (cvt_symbol): Use weak_alias instead of strong_alias.
25504         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25505         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25506         Remove variable.
25507         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25508         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25510         [BZ #18520]
25511         * inet/herrno.c (h_errno): Rename to __h_errno.
25512         (__libc_h_errno): Define as alias of __h_errno not h_errno.
25513         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25514         to __h_errno instead of h_errno.
25515         * nptl/herrno.c (h_errno): Rename to __h_errno.
25516         (__h_errno_location): Refer to __h_errno not h_errno.
25517         * resolv/Versions (h_errno): Rename to __h_errno.
25518         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25519         Remove variable.
25520         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25522 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
25524         * configure.ac: More strict check for AVX512 assembler support.
25525         * configure: Regenerated.
25527         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25528         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25529         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25530         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25531         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25532         * sysdeps/x86_64/fpu/Versions: New versions added.
25533         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25534         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25535         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25536         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25537         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25538         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25539         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25540         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
25541         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
25542         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
25543         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
25544         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
25545         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25546         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
25547         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
25548         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
25549         test.
25550         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25551         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25552         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25553         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25554         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25555         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25556         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25557         * NEWS: Mention addition of x86_64 vector sin.
25559 2015-06-11  Florian Weimer  <fweimer@redhat.com>
25561         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
25562         comment.
25564 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25566         [BZ #18479]
25567         * nptl/pt-interp.c: New file.
25568         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
25569         Add pt-interp.
25570         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
25571         $(common-objpfx)runtime-linker.h.
25573 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
25575         * Makeconfig (+interp): Remove unused variable.
25576         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
25577         only.  Depend on $(common-objpfx)runtime-linker.h instead of
25578         $(elf-objpfx)runtime-linker.h.
25579         ($(elf-objpfx)runtime-linker.h): Rename to
25580         $(common-objpfx)runtime-linker.h and move ...
25581         * Makerules [$(build-shared) = yes]: ... here.
25582         * elf/interp.c: Include <runtime-linker.h> instead of
25583         <elf/runtime-linker.h>.
25585 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25587         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25588         (__gettimeofday_syscall): Remove vsyscall fallback.
25589         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25590         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25591         Add syscall fallback function.
25592         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25593         if vDSO is not present.
25594         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25595         fallback function.
25596         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25597         present.
25598         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25599         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25601 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
25603         [BZ #18497]
25604         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25605         of wcscmp.
25606         (wcscmp): Define as weak alias of WCSCMP.
25607         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25608         wcscoll.
25609         (USE_HIDDEN_DEF): Define.
25610         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25611         __wcscoll.  Don't use libc_hidden_weak.
25612         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25613         wcscmp.
25614         * sysdeps/i386/i686/multiarch/wcscmp-c.c
25615         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25616         __GI_wcscmp.
25617         (weak_alias): Undefine and redefine.
25618         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25619         __wcscmp and define as weak alias of __wcscmp.
25620         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25621         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
25622         (__wcscoll): Likewise.
25623         (wcscmp): Don't use libc_hidden_proto.
25624         (wcscoll): Likewise.
25625         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25626         wcscoll.
25627         * posix/regexec.c (check_node_accept_bytes): Likewise.
25628         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25629         variable.
25630         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25631         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25633         [BZ #18507]
25634         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25635         __fstatvfs and define as weak alias of __fstatvfs.  Use
25636         libc_hidden_weak.
25637         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25638         and define as weak alias of __statvfs.  Use libc_hidden_weak.
25639         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25640         Define as alias of __fstatvfs, not fstatvfs.
25641         (fstatvfs64): Likewise.
25642         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25643         Define as alias of __statvfs, not statvfs.
25644         (statvfs64): Likewise.
25645         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25646         Remove variable.
25648 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25651         (HAVE_GETCPU_VSYSCALL): Define.
25652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25653         (HAVE_GETCPU_VSYSCALL): Likewise.
25654         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25655         * sysdeps/unix/sysv/linux/sched_getcpu.c
25656         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25657         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25658         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25659         prototype.
25660         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25661         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25662         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25664         Define.
25665         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25666         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25667         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25668         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25670 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
25672         * sysdeps/x86_64/fpu/Makefile: New file.
25673         * sysdeps/x86_64/fpu/Versions: New file.
25674         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25675         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25676         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25677         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25678         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25679         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25680         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25681         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25682         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25683         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25684         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25685         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25686         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25687         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25688         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25689         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25690         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25691         * sysdeps/x86_64/configure.ac: Options for libmvec build.
25692         * sysdeps/x86_64/configure: Regenerated.
25693         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25694         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25695         * manual/install.texi (Configuring and compiling): Document
25696         --disable-mathvec.
25697         * INSTALL: Regenerated.
25698         * NEWS: Mention addition of libmvec and x86_64 vector cos.
25700         * math/Makefile: Added rules for vector tests.
25701         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25702         declaration under condition.
25703         * math/test-double-vlen2.h: New file.
25704         * math/test-double-vlen4.h: New file.
25705         * math/test-double-vlen8.h: New file.
25706         * math/test-vec-loop.h: Added initialization macro.
25707         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25708         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25709         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25710         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25711         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25712         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25713         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25714         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25715         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25716         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25717         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25719         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25720         * sysdeps/x86_64/fpu/Versions: New versions added.
25721         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25722         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25723         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25724         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25725         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25726         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25727         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25728         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25729         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25730         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25731         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25732         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25733         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25734         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25735         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25736         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25737         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25738         * NEWS: Mention addition of x86_64 vector cosf.
25740         * math/Makefile: Added CFLAGS for new tests.
25741         * math/test-float-vlen16.h: New file.
25742         * math/test-float-vlen4.h: New file.
25743         * math/test-float-vlen8.h: New file.
25744         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25745         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25746         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25747         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25748         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25749         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25750         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25751         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25752         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25753         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25754         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25756 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
25758         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25759         * locale/programs/ld-ctype.c: Likewise.
25761 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
25763         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25764         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25765         bit_ZMM16_31_state): New macro.
25766         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25767         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25769 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
25771         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25773 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
25775         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25777 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
25779         [BZ #18498]
25780         * libio/memstream.c (open_memstream): Rename to __open_memstream
25781         and define as weak alias of __open_memstream.
25782         * include/stdio.h (__open_memstream): Declare.  Use
25783         libc_hidden_proto.
25784         (open_memstream): Don't use libc_hidden_proto.
25785         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25786         open_memstream.
25787         * posix/getopt.c (_getopt_internal_r): Likewise.
25788         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25789         variable.
25790         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25791         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25792         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25794         [BZ #18496]
25795         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25796         instead of wcrtomb.
25798         [BZ #18483]
25799         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25800         [__USE_XOPEN2K8].  Remove redundant #endif.
25801         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25802         Remove redundant #if.
25803         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25804         Remove variable.
25805         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25806         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25808         [BZ #18495]
25809         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25810         (__iswlower): Likewise.
25811         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
25812         (__iswlower): Likewise.
25813         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25814         instead of towlower.
25815         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25816         instead of iswlower.  Call __towupper instead of towupper.
25817         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25818         instead of iswalnum.
25820 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25822         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25823         errors to stderr.
25825 2015-06-05  Florian Weimer  <fweimer@redhat.com>
25827         [BZ #15661]
25828         [BZ #17322]
25829         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25830         Check for overflow properly.  Check for O_APPEND.  Ignore large
25831         file system block sizes.  Add comments about problems.
25832         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25833         * manual/filesys.texi (Storage Allocation): New node.
25835 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25837         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25838         cancellable syscalls.
25839         (SYS_ify): Add guard to no redefine it.
25840         (INLINE_SYSCALL): Likewise.
25841         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25842         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25843         SYSCALL_CANCEL instead.
25844         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25845         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25846         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25847         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25848         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25849         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25850         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25851         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25852         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25853         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25854         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25855         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25856         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25857         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25858         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25859         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25860         Likewise.
25861         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25862         (__libc_pread64): Likewise.
25863         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25864         (__libc_preadv): Likewise.
25865         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25866         (__libc_readv64): Likewise.
25867         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25868         (__libc_pwrite): Likewise.
25869         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25870         (__libc_pwrite64): Likewise.
25871         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25872         (__libc_pwritev): Likewise.
25873         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25874         (__libc_pwritev64): Likewise.
25875         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25876         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25877         (sync_file_range): Likewise.
25878         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25879         Likewise.
25880         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25881         Likewise.
25882         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25883         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25884         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25885         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25886         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25887         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25888         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25889         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25891         Likewise.
25892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25893         (__libc_read64): Likewise.
25894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25895         Likewise.
25896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25897         Likewise.
25898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25899         Likewise.
25900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25901         Likewise.
25902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25903         (__libc_pread64): Likewise.
25904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25905         Likewise.
25906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25907         (__libc_pwrite64): Likewise.
25908         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25909         (sync_file_range): Likewise.
25910         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25911         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25912         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25913         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25914         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25915         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25916         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25917         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25918         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25919         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25920         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25921         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25922         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25923         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25924         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25925         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25926         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25927         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25928         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25929         Likewise.
25930         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25931         Likewise.
25932         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25933         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25934         Likewise.
25935         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25936         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25937         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25938         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25939         Likewise.
25940         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25941         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25942         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25943         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25944         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25946 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
25948         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25949         Include dl-vdso.
25950         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25951         Use VDSO routines for gettimeofday, clock_gettime if
25952         available.
25953         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25954         Declare VDSO symbols.
25955         * sysdeps/unix/sysv/linux/arm/sysdep.h:
25956         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25957         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25958         * sysdeps/unix/sysv/linux/arm/Versions: Add
25959         __vdso_clock_gettime.
25961 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25963         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25964         be an inline implementation regardless of library is built within.
25965         (open_not_cancel_2): Likewise.
25966         (__read_nocancel): Likewise.
25967         (__write_nocancel): Likewise.
25968         (openat_not_cancel): Likewise.
25969         (openat_not_cancel_3): Likewise.
25970         (openat64_not_cancel): Likewise.
25971         (openat64_not_cancel_3): Likewise.
25972         (__close_nocancel): Likewise.
25973         (pause_not_cancel): Likewise.
25974         (nanosleep_not_cancel): Likewise.
25975         (sigsuspend_not_cancel): Likewise.
25977 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25979         [BZ #14958]
25980         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25981         wake-up.
25982         (__pthread_rwlock_rdlock_slow): Likewise.
25983         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25984         Likewise.
25985         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25986         Likewise.
25987         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25988         * nptl/tst-rwlock16.c: New file.
25989         * nptl/Makefile (tests): Add new test.
25991 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25993         [BZ #18324]
25994         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25995         missing wake-up of readers.
25996         * nptl/tst-rwlock15.c: New file.
25997         * nptl/Makefile (tests): Add new test.
25999 2015-06-03  Roland McGrath  <roland@hack.frob.com>
26001         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
26002         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
26003         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
26004         and __nacl_supply_interface_rtld.
26005         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
26006         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
26007         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
26008         Add __nacl_supply_interface_rtld.
26009         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
26011 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
26013         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
26014         isfinite.
26015         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26016         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
26018 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
26020         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
26021         __signbit* with standard C99 macros.
26022         * math/e_exp10l.c: Likewise.
26023         * math/e_exp2l.c: Likewise.
26024         * math/e_scalb.c: Likewise.
26025         * math/e_scalbf.c: Likewise.
26026         * math/e_scalbl.c: Likewise.
26027         * math/s_ldexp.c: Likewise.
26028         * math/s_ldexpf.c: Likewise.
26029         * math/s_ldexpl.c: Likewise.
26030         * math/w_atan2.c: Likewise.
26031         * math/w_atan2f.c: Likewise.
26032         * math/w_atan2l.c: Likewise.
26033         * math/w_cosh.c: Likewise.
26034         * math/w_coshf.c: Likewise.
26035         * math/w_coshl.c: Likewise.
26036         * math/w_exp10.c: Likewise.
26037         * math/w_exp10f.c: Likewise.
26038         * math/w_exp10l.c: Likewise.
26039         * math/w_exp2.c: Likewise.
26040         * math/w_exp2f.c: Likewise.
26041         * math/w_exp2l.c: Likewise.
26042         * math/w_fmod.c: Likewise.
26043         * math/w_fmodf.c: Likewise.
26044         * math/w_fmodl.c: Likewise.
26045         * math/w_hypot.c: Likewise.
26046         * math/w_hypotf.c: Likewise.
26047         * math/w_hypotl.c: Likewise.
26048         * math/w_jnl.c: Likewise.
26049         * math/w_lgamma.c: Likewise.
26050         * math/w_lgamma_r.c: Likewise.
26051         * math/w_lgammaf.c: Likewise.
26052         * math/w_lgammaf_r.c: Likewise.
26053         * math/w_lgammal.c: Likewise.
26054         * math/w_lgammal_r.c: Likewise.
26055         * math/w_pow.c: Likewise.
26056         * math/w_powf.c: Likewise.
26057         * math/w_powl.c: Likewise.
26058         * math/w_remainder.c: Likewise.
26059         * math/w_remainderf.c: Likewise.
26060         * math/w_remainderl.c: Likewise.
26061         * math/w_scalb.c: Likewise.
26062         * math/w_scalbf.c: Likewise.
26063         * math/w_scalbl.c: Likewise.
26064         * math/w_scalbln.c: Likewise.
26065         * math/w_scalblnf.c: Likewise.
26066         * math/w_scalblnl.c: Likewise.
26067         * math/w_sinh.c: Likewise.
26068         * math/w_sinhf.c: Likewise.
26069         * math/w_sinhl.c: Likewise.
26070         * math/w_tgamma.c: Likewise.
26071         * math/w_tgammaf.c: Likewise.
26072         * math/w_tgammal.c: Likewise.
26073         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26074         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26075         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26076         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26077         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26078         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26079         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26080         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26081         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26082         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26083         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26084         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26085         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26086         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26087         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26088         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26089         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26090         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26091         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26092         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26093         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26094         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26095         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26096         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26097         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26098         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26099         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26100         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26101         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26102         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26103         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26104         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26105         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26106         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26107         * stdio-common/printf_fp.c: Likewise.
26108         * stdio-common/printf_fphex.c: Likewise.
26109         * stdio-common/printf_size.c: Likewise.
26111 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
26113         [BZ #18470]
26114         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26115         strnlen.
26116         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26117         Remove variable.
26118         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26119         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26120         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26121         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26122         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26123         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26124         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26125         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26126         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26127         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26129         [BZ #18468]
26130         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26131         weak alias of __wmemchr.  Use libc_hidden_weak.
26132         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
26133         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26134         instead of wmemchr.
26136 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26138         [BZ #18383]
26139         * elf/tst-tlsalign-extern.c: New file.
26140         * elf/tst-tlsalign-extern-static.c: New file.
26141         * elf/tst-tlsalign-vars.c: New file.
26142         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26143         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26144         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26145         ($(objpfx)tst-tlsalign-extern-static): Likewise.
26146         (test-xfail-tst-tlsalign-extern-static): New variable.
26148 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
26150         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26151         Use variable name _sc_err instead of err.
26152         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26153         instead of ret.
26154         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26155         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26156         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26157         (INLINE_SYSCALL): Likewise.
26159         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26160         * include/string.h (__strnlen): Use libc_hidden_proto.
26161         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26162         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26163         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26164         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26165         (libc_hidden_def): Undefine and redefine.
26166         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26167         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26168         __GI_strnlen.
26169         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26170         libc_hidden_def.
26171         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26173         [BZ #18469]
26174         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26175         weak alias of __towlower.  Use libc_hidden_weak.
26176         (towupper): Rename to __towupper and define as weak alias of
26177         __towupper.  Use libc_hidden_weak.
26178         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
26179         (__towupper): Likewise.
26180         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26181         __towlower instead of towlower.
26183 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26185         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26186         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26188 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26190         * sysdeps/aarch64/libm-test-ulps: Update.
26192 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26194         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26195         Define.
26196         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26198         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26199         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26200         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26201         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26202         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26204 2015-06-01  Martin Sebor  <msebor@redhat.com>
26206         [BZ #18116]
26207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26208         (__setcontext): Use extended four-operand version of mtsf whenever
26209         possible.
26210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26211         (__novec_swapcontext): Likewise.
26213 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26215         * benchtests/scripts/compare_bench.py: New file.
26216         * benchtests/scripts/import_bench.py (mean): New function.
26217         (split_list): Likewise.
26218         (do_for_all_timings): Likewise.
26219         (compress_timings): Likewise.
26221         * benchtests/scripts/import_bench.py: New file.
26222         * benchtests/scripts/validate_benchout.py: Import import_bench
26223         instead of jsonschema.
26224         (validate_bench): Remove function.
26225         (main): Use import_bench.
26227 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
26229         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26230         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26232 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26236 2015-05-28  Roland McGrath  <roland@hack.frob.com>
26238         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26239         set THREAD_SELF->tid to a magic value and futex-wake it.
26240         Pass its address to the thread_exit system call.
26241         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26242         bit is clear.
26243         * sysdeps/nacl/lowlevellock.h: New file.
26244         * sysdeps/nacl/lll_timedwait_tid.c: New file.
26246         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26247         Add TIMEOUT to current time, don't subtract it.
26249 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
26251         [BZ #2981]
26252         [BZ #18422]
26253         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26254         ($(objpfx)tst-audit2.out): Also depend on
26255         $(objpfx)tst-auditmod9b.so.
26256         * elf/tst-audit2.c: Include <dlfcn.h>.
26257         (calloc_called): New.
26258         (calloc): Allow to be called more than once.
26259         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26261 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
26263         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26264         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26266 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
26268         * stdlib/monetary.h: Fix comment.
26270 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
26272         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26273         Avoid using variables in #defines that might cause shadowing.
26274         (INTERNAL_VSYSCALL_CALL): Likewise.
26276 2015-05-26  Roland McGrath  <roland@hack.frob.com>
26278         * sysdeps/nacl/lll_timedlock_wait.c: New file.
26280         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26281         * nptl/lll_timedlock_wait.c: ... to this new file.
26282         * nptl/Makefile (libpthread-routines): Add it.
26283         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26284         * nptl/lll_timedwait_tid.c: ... to this new file.
26285         * nptl/Makefile (libpthread-routines): Add it.
26286         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26287         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26288         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26289         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26290         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26291         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26292         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26293         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26294         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26295         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26297 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26299         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26300         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26301         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26302         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26303         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26305         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26307         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26308         * sysdeps/unix/sysv/linux/tile/sysdep.h
26309         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26310         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26311         using vDSO syscall macro.
26313 2015-05-26  Andriy Rysin  <arysin@gmail.com>
26315         [BZ #17293]
26316         * uk_UA: Fix sorting order for Ukrainian locale
26318 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
26320         * stdlib/monetary.h: Fix comment.
26322 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26324         [BZ #18234]
26325         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26326         st_mtim and st_ctim members.
26327         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26328         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26329         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26330         (struct stat64): Likewise.
26331         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26332         (struct stat64): Likewise.
26333         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26334         (struct stat64): Likewise.
26336 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26338         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26339         Define and include sysdep-vdso.h.
26340         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26341         Likewise.
26342         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26343         Likewise.
26344         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26345         Define with VDSO_SYMBOL and use PTR_MANGLE.
26346         (__vdso_clock_gettime): Likewise.
26347         (__vdso_clock_getres): Likewise.
26348         (_libc_vdso_platform_setup): Likewise.
26349         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26350         Likewise.
26351         (_libc_vdso_platform_setup): Likewise.
26352         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26353         Likewise.
26354         (__vdso_clock_gettime): Likewise.
26355         (__vdso_clock_getres): Likewise.
26356         (__vdso_get_tbfreq): Likewise.
26357         (__vdso_getcpu): Likewise.
26358         (__vdso_time): Likewise.
26359         (__vdso_sigtramp_rt64): Likewise.
26360         (__vdso_signtramp32): Likewise.
26361         (__vdso_sigtramp_rt32): Likewise.
26362         (_libc_vdso_platform_setup): Likewise.
26363         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26364         Likewise.
26365         (__vdso_clock_gettime): Likewise.
26366         (__vdso_clock_getres): Likewise.
26367         (_libc_vdso_platform_setup): Likewise.
26368         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26369         Likewise.
26370         (__vdso_clock_gettime): Likewise.
26371         (_libc_vdso_platform_setup): Likewise.
26372         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26373         Likewise.
26374         (__vdso_getcpu): Likewise.
26375         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26376         Use VDSO_SYMBOL macro to define.
26377         (__vdso_clock_gettime): Likewise.
26378         (__vdso_clock_getres): Likewise.
26379         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26380         Likewise.
26381         (__vdso_clock_gettime): Likewise.
26382         (__vdso_clock_getres): Likewise.
26383         (__vdso_get_tbfreq): Likewise.
26384         (__vdso_getcpu): Likewise.
26385         (__vdso_time): Likewise.
26386         (__vdso_sigtramp_rt64): Likewise.
26387         (__vdso_signtramp32): Likewise.
26388         (__vdso_sigtramp_rt32): Likewise.
26389         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26390         Likewise.
26391         (__vdso_clock_gettime): Likewise.
26392         (__vdso_clock_getres): Likewise.
26393         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26394         Likewise.
26395         (__vdso_clock_gettime): Likewise.
26396         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26397         Likewise.
26398         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
26399         macro.
26400         (INTERNAL_VSYSCALL): Likewise.
26401         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26402         Remove macro.
26403         (INTERNAL_VSYSCALL): Likewise.
26404         (INTERNAL_VSYSCALL_NCS): Likewise.
26405         (INTERNAL_VSYSCALL_CALL): New macro.
26406         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26407         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26408         Likewise.
26409         (INTERNAL_VSYSCALL): Likewise.
26410         (INTERNAL_VSYSCALL_NCS): Likewise.
26411         (INTERNAL_VSYSCALL_CALL): New macro.
26412         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26414         (INLINE_VSYSCALL): Remove macro.
26415         (INTERNAL_VSYSCALL): Remove macro.
26416         (INTERNAL_VSYSCALL_NCS): Remove macro.
26417         (INTERNAL_VSYSCALL_CALL): New macro.
26418         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26419         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26420         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26421         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26422         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26424         (INLINE_VSYSCALL): Remove macro.
26425         (INTERNAL_VSYSCALL): Likewise.
26426         (INTERNAL_VSYSCALL_NCS): Likewise.
26427         (INTERNAL_VSYSCALL_CALL): New macro.
26428         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26429         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26430         PTR_DEMANGLE on vDSO pointer.
26431         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26432         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26433         macro.
26434         (INTERNAL_SYSCALL): Likewise.
26435         (INTERNAL_VSYSCALL_NCS): Remove macro.
26436         (INTERNAL_VSYSCALL_CALL): New macro.
26437         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26438         Remove macro.
26439         (INTERNAL_VSYSCALL): Likewise.
26440         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26441         sysdep-vdso.h instead of libc-vdso.h.
26442         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26443         definition.
26444         (INLINE_VSYSCALL): Likewise.
26445         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26446         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26447         definition.
26448         (INLINE_VSYSCALL): Likewise.
26449         (INTERNAL_VSYSCALL): Likewise.
26450         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26451         * sysdeps/unix/sysv/linux/timespec_get.c
26452         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26453         (timespec_get): Use ANSI prototype.
26454         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26455         and definition for Linux.
26457 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26459         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26460         * include/libc-symbols.h: libmvec_hidden_* macro series added.
26462 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26464         [BZ #2981]
26465         [BZ #18410]
26466         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26467         for missing DT_PLTRELSZ.
26469 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
26471         Remove obsolete aliases that broke 'locale -a'
26472         [BZ #18412]
26473         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26474         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26475         breaking some applications that use 'locale -a' output.
26476         Change the encoding of this file from Latin-1 to ASCII to avoid
26477         other potential problems with people grepping this file.
26479 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26481         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26482         -fasynchronous-unwind-tables.
26483         (CFLAGS-sendto.c): Likewise.
26484         (CFLAGS-sendmsg.c): Likewise.
26485         (CFLAGS-connect.c): Likewise.
26486         (CFLAGS-recvmsg.c): Likewise.
26487         (CFLAGS-recvfrom.c): Likewise.
26488         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26489         (SOCKETCALL): New macro: non-cancellable socketcall.
26490         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26491         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26492         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26493         * sysdeps/unix/sysv/linux/accept.c: New file.
26494         * sysdeps/unix/sysv/linux/bind.c: Likewise.
26495         * sysdeps/unix/sysv/linux/connect.c: Likewise.
26496         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26497         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26498         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26499         * sysdeps/unix/sysv/linux/listen.c: Likewise.
26500         * sysdeps/unix/sysv/linux/recv.c: Likewise.
26501         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26502         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26503         * sysdeps/unix/sysv/linux/send.c: Likewise.
26504         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26505         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26506         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26507         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26508         * sysdeps/unix/sysv/linux/socket.c: Likewise.
26509         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26510         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26511         prototype.
26512         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26513         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26514         instead of __internal_xxx function.
26515         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26516         prototype.
26517         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26518         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26519         instead of __internal_xxx function.
26520         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26521         prototype.
26522         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26523         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26524         instead of __internal_xxx function.
26525         * sysdeps/unix/sysv/linux/accept.S: Remove file.
26526         * sysdeps/unix/sysv/linux/bind.S: Likewise.
26527         * sysdeps/unix/sysv/linux/connect.S: Likewise.
26528         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26529         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26530         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26531         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26532         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26533         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26534         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26535         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26536         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26537         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26538         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26539         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26540         * sysdeps/unix/sysv/linux/listen.S: Likewise.
26541         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
26542         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
26543         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
26544         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
26545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
26546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
26547         * sysdeps/unix/sysv/linux/recv.S: Likewise.
26548         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
26549         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
26550         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
26551         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26552         * sysdeps/unix/sysv/linux/send.S: Likewise.
26553         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
26554         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
26555         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
26556         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
26557         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
26558         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
26559         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
26560         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
26561         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
26562         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
26563         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
26564         socketcall is implemented in GLIBC.
26566 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26568         * soft-fp/fmadf4.c: Include <libc-internal.h>.
26569         (__fma): Ignore uninitialized warnings around packing.
26570         * soft-fp/fmasf4.c: Include <libc-internal.h>.
26571         (__fmaf): Ignore uninitialized warnings around packing.
26572         * soft-fp/fmatf4.c: Include <libc-internal.h>.
26573         (__fmal): Ignore uninitialized warnings around packing.
26575         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
26576         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26577         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
26578         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26580         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26581         switch statement into default case.
26582         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26584         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26585         a conditional in forcing "inexact".
26586         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26587         Likewise.
26589 2015-05-22  Roland McGrath  <roland@hack.frob.com>
26591         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26592         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26593         for each INTERNAL_SYSCALL use.
26595 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26597         [BZ #438]
26598         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26599         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26600         variable.
26602         [BZ #18444]
26603         * string/basename.c (basename): Rename to __basename and define as
26604         weak alias of __basename.  Use libc_hidden_weak.
26605         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
26606         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26607         __basename instead of basename.
26608         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26609         Remove variable.
26610         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26612 2015-05-18  Florian Weimer  <fweimer@redhat.com>
26614         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26615         (_IO_JUMPS_FILE_plus): New.
26616         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26617         _IO_CAST_FIELD_ACCESS.
26618         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26619         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26620         * libio/freopen.c (freopen): Likewise.
26621         * libio/freopen64.c (freopen64): Likewise.
26622         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26623         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26624         * libio/iofwide.c (_IO_fwide): Likewise.
26625         * libio/memstream.c (open_memstream): Likewise.
26626         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26627         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26628         * libio/oldiopopen.c (_IO_old_popen): Likewise.
26630 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
26632         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26633         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26634         NADJ.
26635         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26636         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26637         NADJ.
26638         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26639         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26640         NADJ.
26642         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26643         (p == 4) case.
26645         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26646         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26647         Remove variable.
26648         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26649         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26650         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26652 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26654         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26655         Adjust jump table label generation macros.
26657 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26659         * stdio-common/vfprintf.c (vfprintf): Move local variables
26660         args_malloced, specs, specs_malloced, and the code after
26661         do_positional to the printf_positional function.
26662         (printf_positional): New function.
26664 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26666         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26667         function.
26668         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26669         STEP4_TABLE, process_arg): Move macro definitions
26670         out of the vfprintf function.  (Cosmetic change only.)
26672 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
26674         * benchtests/Makefile (stdio-common-bench): Define.
26675         (benchset): Add stdio-common-bench.
26676         * sprintf-inputs: New file.
26677         * sprintf-source.c: New file.
26679 2015-05-21  Andreas Schwab  <schwab@suse.de>
26681         [BZ #13028]
26682         [BZ #17053]
26683         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26684         of struct __res_state.
26685         * resolv/res_send.c (__libc_res_nsend): Likewise.
26686         (get_nsaddr): New function.
26687         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26688         statp directly.
26690 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
26692         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26693         -D_POSIX_C_SOURCE=199506L.
26695         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26697         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26698         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26699         Do not mention otherwise.
26700         [POSIX] (_XOPEN_VERSION): Do not expect.
26701         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26702         [POSIX] (_POSIX2_C_BIND): Likewise.
26703         [POSIX] (_POSIX2_VERSION): Likewise.
26704         [POSIX] (_XOPEN_XPG2): Likewise.
26705         [POSIX] (_XOPEN_XPG3): Likewise.
26706         [POSIX] (_XOPEN_XPG4): Likewise.
26707         [POSIX] (_XOPEN_UNIX): Likewise.
26708         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26709         [POSIX] (_POSIX_BARRIERS): Likewise.
26710         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26711         [POSIX] (_POSIX_CPUTIME): Likewise.
26712         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26713         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26714         [POSIX] (_POSIX_SHELL): Likewise.
26715         [POSIX] (_POSIX_SPAWN): Likewise.
26716         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26717         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26718         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26719         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26720         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26721         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26722         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26723         [POSIX] (_XBS5_LP64_OFF64): Likewise.
26724         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26725         [POSIX] (_POSIX_TIMEOUTS): Likewise.
26726         [POSIX] (_POSIX2_PBS): Likewise.
26727         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26728         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26729         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26730         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26731         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26732         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26733         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26734         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26735         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26736         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26737         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26738         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26739         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26740         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26741         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26742         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26743         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26744         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26745         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26746         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26747         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26748         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26749         [POSIX] (_SC_2_C_BIND): Likewise.
26750         [POSIX] (_SC_2_C_VERSION): Likewise.
26751         [POSIX] (_SC_2_PBS): Likewise.
26752         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26753         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26754         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26755         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26756         [POSIX] (_SC_2_PBS_TRACK): Likewise.
26757         [POSIX] (_SC_ATEXIT_MAX): Likewise.
26758         [POSIX] (_SC_BARRIERS): Likewise.
26759         [POSIX] (_SC_BASE): Likewise.
26760         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26761         [POSIX] (_SC_DEVICE_IO): Likewise.
26762         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26763         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26764         [POSIX] (_SC_FD_MGMT): Likewise.
26765         [POSIX] (_SC_FIFO): Likewise.
26766         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26767         [POSIX] (_SC_FILE_LOCKING): Likewise.
26768         [POSIX] (_SC_FILE_SYSTEM): Likewise.
26769         [POSIX] (_SC_IOV_MAX): Likewise.
26770         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26771         [POSIX] (_SC_NETWORKING): Likewise.
26772         [POSIX] (_SC_PAGE_SIZE): Likewise.
26773         [POSIX] (_SC_PASS_MAX): Likewise.
26774         [POSIX] (_SC_PIPE): Likewise.
26775         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26776         [POSIX] (_SC_REGEXP): Likewise.
26777         [POSIX] (_SC_SHELL): Likewise.
26778         [POSIX] (_SC_SIGNALS): Likewise.
26779         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26780         [POSIX] (_SC_SPIN_LOCKS): Likewise.
26781         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26782         [POSIX] (_SC_USER_GROUPS): Likewise.
26783         [POSIX] (_SC_USER_GROUPS_R): Likewise.
26784         [POSIX] (_SC_STREAMS): Likewise.
26785         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26786         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26787         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26788         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26789         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26790         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26791         [POSIX] (_PC_FILESIZEBITS): Likewise.
26792         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26793         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26794         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26795         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26796         [POSIX] (uid_t): Likewise.
26797         [POSIX] (gid_t): Likewise.
26798         [POSIX] (off_t): Likewise.
26799         [POSIX] (pid_t): Likewise.
26800         [POSIX] (cuserid): Allow.
26801         (_SC_2_CHAR_TERM): Require constant.
26802         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26803         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26804         variable.
26806 2015-05-20  Roland McGrath  <roland@hack.frob.com>
26808         * sysdeps/nacl/pthread-pids.h: New file.
26809         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26810         (create_thread): Use __nacl_get_tid to initialize PD->tid.
26812         * nptl/pthread-pids.h: New file.
26813         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26814         * nptl/nptl-init.c: Include <pthread-pids.h>.
26815         (__pthread_initialize_minimal_internal):
26816         Call __pthread_initialize_pids instead of set_tid_address syscall.
26818         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26819         * sysdeps/posix/usleep.c: ... here.
26821 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26823         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26824         call_pselect6 object.
26825         [$(subdir) = io]: Remove call_sync_file_range object.
26826         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26827         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26828         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26829         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26831 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
26833         * math/s_cproj.c: Add include "math_private.h".
26834         * math/s_cprojf.c: Likewise.
26835         * math/s_cprojl.c: Likewise.
26837 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
26839         [BZ #18244]
26840         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26841         high mantissa bit when testing whether P is a NaN.
26842         * math/libm-test.inc (remainder_test_data): Add more tests.
26843         (remquo_test_data): Likewise.
26845         [BZ #18049]
26846         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26847         below -32, return the argument, with underflow if subnormal.
26848         * math/auto-libm-test-in: Add more tests of atanh.
26849         * math/auto-libm-test-out: Regenerated.
26851 2015-05-19  Roland McGrath  <roland@hack.frob.com>
26853         [BZ #18434]
26854         * nptl/tst-sem15.c: New file.
26855         * nptl/Makefile (tests): Add it.
26856         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26857         s/<</>>/ to fix typo in EOVERFLOW check.
26858         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26860 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26862         * manual/strings.texi (envz_remove): Fix typo in safety
26863         annotations.
26865 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
26866             Steve Ellcey  <sellcey@imgtec.com>
26868         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26869         in order to avoid strict alias warnings.
26870         (iruserok_af): Ditto for ra.
26872 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
26874         [BZ #17581]
26875         * malloc/hooks.c
26876         (magicbyte): Convert to a function and avoid returning 0x01.
26877         (mem2mem_check): Avoid using a length byte equal to the magic byte.
26878         (mem2chunk_check): Fix unsigned comparisons to zero.
26879         Hoist defs of sz and magic.
26881 2015-05-19  Richard Henderson  <rth@redhat.com>
26883         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26885         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26887 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26889         [BZ #16159]
26890         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26891         * malloc/arena.c (arena_lock): Check if arena is corrupt.
26892         (reused_arena): Find a non-corrupt arena.
26893         (heap_trim): Pass arena to unlink.
26894         * malloc/hooks.c (malloc_check_get_size): Pass arena to
26895         malloc_printerr.
26896         (top_check): Likewise.
26897         (free_check): Likewise.
26898         (realloc_check): Likewise.
26899         * malloc/malloc.c (malloc_printerr): Add arena argument.
26900         (unlink): Likewise.
26901         (munmap_chunk): Adjust.
26902         (ARENA_CORRUPTION_BIT): New macro.
26903         (arena_is_corrupt): Likewise.
26904         (set_arena_corrupt): Likewise.
26905         (sysmalloc): Use mmap if there are no usable arenas.
26906         (_int_malloc): Likewise.
26907         (__libc_malloc): Don't fail if arena_get returns NULL.
26908         (_mid_memalign): Likewise.
26909         (__libc_calloc): Likewise.
26910         (__libc_realloc): Adjust for additional argument to
26911         malloc_printerr.
26912         (_int_free): Likewise.
26913         (malloc_consolidate): Likewise.
26914         (_int_realloc): Likewise.
26915         (_int_memalign): Don't touch corrupt arenas.
26916         * malloc/tst-malloc-backtrace.c: New test case.
26918         * Makefile (summarize-tests): Fix return value on success.
26920         * manual/string.texi (Envz Functions): Add envz_remove.
26922 2015-05-18  Roland McGrath  <roland@hack.frob.com>
26924         * sysdeps/posix/opendir.c: Include <stdbool.h>.
26925         (invalid_name): New function, broken out of ...
26926         (__opendirat): ... here.  Call it.
26927         (need_isdir_precheck): New function, broken out of ...
26928         (__opendirat): ... here.  Call it.
26929         Use __fxstatat64, not __xstatat64.
26930         (opendir_oflags): New function, broken out of ...
26931         (__opendirat): ... here.  Call it.
26932         (opendir_tail): New function, broken out of ...
26933         (__opendirat): ... here.  Call it.
26934         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26935         opendir_tail, rather than punting to __opendirat.
26936         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26938 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26940         * .gitignore: Ignore generated *.pyc.
26942 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
26944         * include/stdio.h: Define __need_wint_t.
26945         * test-skeleton.c: Avoid `for' loop initial declaration.
26946         * nptl/tst-initializers1.c: Use test-skeleton.c.
26948 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26950         [BZ #18418]
26951         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26953 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26955         [BZ #16352]
26956         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26957         (__ieee754_atanh): Force underflow exception for results with
26958         small absolute value.
26959         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26960         (__ieee754_atanhf): Force underflow exception for results with
26961         small absolute value.
26962         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26963         (__ieee754_atanh): Force underflow exception for results with
26964         small absolute value.
26965         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26966         (__ieee754_atanhf): Force underflow exception for results with
26967         small absolute value.
26968         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26969         (__ieee754_atanhl): Force underflow exception for results with
26970         small absolute value.
26971         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26972         (__ieee754_atanhl): Force underflow exception for results with
26973         small absolute value.
26974         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26975         (__ieee754_atanhl): Force underflow exception for results with
26976         small absolute value.
26977         * math/auto-libm-test-in: Do not allow missing underflow
26978         exceptions from atanh.
26979         * math/auto-libm-test-out: Regenerated.
26981         [BZ #18221]
26982         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26983         2**-28 as threshold for returning x or +/- 1/x.
26984         * math/auto-libm-test-in: Add more tests of tan.
26985         * math/auto-libm-test-out: Regenerated.
26987         [BZ #18220]
26988         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26989         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26990         * math/auto-libm-test-in: Add another test of lgamma.
26991         * math/auto-libm-test-out: Regenerated.
26993 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
26995         * stdio-common/printf_fp.c (___printf_fp): Use abs.
26996         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
26997         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26998         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26999         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
27000         (ADD2A): Use fabs.  (SUB2A): Use fabs.
27001         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
27002         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
27003         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
27004         (log1): Use fabs.  (my_log2): Use fabs.
27005         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
27006         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
27007         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
27008         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
27009         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
27010         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
27011         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
27012         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
27013         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
27014         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
27015         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
27017 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
27019         [BZ #18217]
27020         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
27021         as threshold for returning 1 - x.
27022         * math/auto-libm-test-in: Add more tests of erfc.
27023         * math/auto-libm-test-out: Regenerated.
27025 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
27027         [BZ #18196]
27028         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27029         threshold for large arguments.
27030         * math/auto-libm-test-in: Add another test of atan.
27031         * math/auto-libm-test-out: Regenerated.
27033         [BZ #16339]
27034         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27035         (__log1p): Force underflow exception for results with small
27036         absolute value.
27037         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27038         (__log1pf): Force underflow exception for results with small
27039         absolute value.
27040         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27041         (__log1p): Force underflow exception for results with small
27042         absolute value.
27043         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27044         (__log1pf): Force underflow exception for results with small
27045         absolute value.
27046         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27047         (__log1pl): Force underflow exception for results with small
27048         absolute value.
27049         * math/auto-libm-test-in: Do not allow missing underflow
27050         exceptions from log1p.
27051         * math/auto-libm-test-out: Regenerated.
27053 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
27054             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27056         [BZ #16704]
27057         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27059 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
27061         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27062         (libmvec): New variable.
27063         * configure.ac: Added option for mathvec build.
27064         * configure: Regenerated.
27065         * mathvec/Depend: New file.
27066         * mathvec/Makefile: New file.
27067         * shlib-versions: Added libmvec.
27068         * math/Makefile: Added rule for libm.so installation.
27070         * bits/math-vector.h: New file.
27071         * bits/libm-simd-decl-stubs.h: New header.
27072         * math/Makefile (headers): Added new header
27073         libm-simd-decl-stubs.h.
27074         * math/math.h (__MATHCALL_VEC): New macro.
27076         * math/gen-libm-have-vector-test.sh: Script generates series of macros
27077         for conditions in testing functions.
27078         * math/Makefile: Added call of libm-have-vector-test.sh.
27079         * math/libm-test.inc (HAVE_VECTOR): New macros.
27081         * math/libm-test.inc: START refactored.
27082         * math/test-double.c (TEST_MATHVEC): Add define.
27083         * math/test-float.c: Likewise.
27084         * math/test-idouble.c: Likewise.
27085         * math/test-ifloat.c: Likewise.
27086         * math/test-ildoubl.c: Likewise.
27087         * math/test-ldouble.c: Likewise.
27088         * sysdeps/generic/math-tests-arch.h
27089         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27090         architecture check.
27092         * math/test-double.c (FUNC_TEST): New macro.
27093         * math/test-float.c: Likewise.
27094         * math/test-idouble.c: Likewise.
27095         * math/test-ifloat.c: Likewise.
27096         * math/test-ildoubl.c: Likewise.
27097         * math/test-ldouble.c: Likewise.
27098         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27100 2015-05-13  Roland McGrath  <roland@hack.frob.com>
27102         * sysdeps/nacl/fdopendir.c: New file.
27104         * dirent/scandir-tail.c: New file.
27105         * dirent/scandir64-tail.c: New file.
27106         * dirent/Makefile (routines): Add them.
27107         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27108         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27109         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27110         [!SCANDIR] (SCANDIR_TAIL): New macro.
27111         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27112         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27113         (SCANDIRAT): Macro removed.
27114         (SCANDIR_TAIL): New macro.
27115         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27116         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27117         (SCANDIRAT): Just call __opendirat and __scandir_tail.
27118         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27119         (READDIR): Macro removed.
27120         (SCANDIR_TAIL): New macro.
27121         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27122         (SCANDIR_TAIL): New macro.
27124         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27125         * dirent/scandir-cancel.c: ... to this new file.
27126         * dirent/Makefile (routines): Add it.
27127         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27128         * sysdeps/unix/sysv/linux/i386/scandir64.c
27129         (SKIP_SCANDIR_CANCEL): Macro removed.
27130         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27132         * dirent/tst-scandir.c: New file.
27133         * dirent/tst-scandir64.c: New file.
27134         * dirent/Makefile (tests): Add them.
27136 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
27138         [BZ #18409]
27139         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27141 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27143         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27144         list.
27146 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
27148         * benchtests/bench-strcoll.c: New benchmark.
27149         * benchtests/Makefile: Generate locales and run benchmark.
27150         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27151         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27152         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27153         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27154         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27155         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27156         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27157         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27158         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27159         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27160         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27161         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27162         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27163         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27164         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27165         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27166         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27167         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27168         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27169         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27170         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27171         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27172         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27173         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27175 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
27177         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27178         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27180 2015-05-12  Roland McGrath  <roland@hack.frob.com>
27182         * posix/uname-values.h: New file.
27183         * posix/uname.c: Include that instead of <config-name.h>.
27184         * sysdeps/nacl/uname-values.h: New file.
27185         * sysdeps/arm/nacl/uname-values.h: New file.
27187 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
27189         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27190         splitting into fields.
27192 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
27194         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27195         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27196         * locale/localeinfo.h: Add enum collation_encoding_type.
27197         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27198         * programs/ld-collate.c (collate_output): Add encoding type info.
27199         * string/strcoll_l.c (STRDIFF): New function.
27200         * (STRCOLL): Use STRDIFF to skip over equal prefix.
27201         * wcsmbs/wcscoll_l.c: Define STRDIFF.
27203 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
27205         [BZ #18397]
27206         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27207         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
27208         <fpu_control.h> instead of <math/fpu_control.c>.
27209         * sysdeps/mips/mips32/fpu/Makefile: New file.
27211 2015-05-11  Andreas Schwab  <schwab@suse.de>
27213         [BZ #18007]
27214         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27215         nss_endgrent.
27216         (_nss_compat_endgrent): Call nss_endgrent.
27217         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27218         nss_endpwent.
27219         (_nss_compat_endpwent): Call nss_endpwent.
27220         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27221         needent, call nss_setspent only if non-zero.
27222         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27223         (internal_endspent): Don't call nss_endspent.
27224         (_nss_compat_endspent): Call nss_endspent.
27225         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27226         Remove.  All uses removed.
27227         (internal_setent): Remove parameter stayopen, add parameter
27228         stream.  Use it instead of global variable.
27229         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27230         (internal_endent, internal_getent): Add parameter stream.  Use it
27231         instead of global variable.
27232         (CONCAT(_nss_files_end,ENTNAME))
27233         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27234         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
27235         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
27236         uses removed.
27237         (internal_setent, internal_endent): Add parameter stream.  Use it
27238         instead of global variable.
27239         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27240         stream.
27241         (get_next_alias): Add parameter stream.
27242         (_nss_files_getaliasent_r): Pass global stream.
27243         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
27244         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27245         (_nss_files_gethostbyname4_r): Pass local stream to
27246         internal_setent, internal_getent and internal_endent.  Remove
27247         locking.
27249 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27251         * tst-strfmon1.c (tests): Update expected currency symbol.
27253 2015-05-08  Roland McGrath  <roland@hack.frob.com>
27255         * sysdeps/nacl/gethostname.c: New file.
27257 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
27259         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27260         and sinh.
27261         * math/auto-libm-test-out: Regenerated.
27262         * sysdeps/i386/fpu/libm-test-ulps: Update.
27263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27265 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
27267         [BZ #18125]
27268         * stdlib/tst-setcontext3.c: New file.
27269         * stdlib/tst-setcontext3.sh: New file.
27270         * stdlib/Makefile (tests): Add tst-setcontext3.
27271         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27272         to verify test program created output file.
27273         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27274         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27275         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27276         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27278 2015-05-06  Roland McGrath  <roland@hack.frob.com>
27280         [BZ #18383]
27281         * elf/tst-tlsalign.c: New file.
27282         * elf/tst-tlsalign-static.c: New file.
27283         * elf/tst-tlsalign-lib.c: New file.
27284         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27285         (tests-static): Add tst-tlsalign-static.
27286         (modules-names): Add tst-tlsalign-lib.
27287         (test-xfail-tst-tlsalign): New variable.
27288         (test-xfail-tst-tlsalign-static): New variable.
27290         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27291         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27293 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
27295         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27296         csqrt, erfc, sin and sincos.
27297         * math/auto-libm-test-out: Regenerated.
27298         * sysdeps/i386/fpu/libm-test-ulps: Update.
27299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27301 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27303         * sysdeps/aarch64/libm-test-ulps: Update.
27305 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
27307         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27308         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27309         * math/auto-libm-test-out: Regenerated.
27310         * sysdeps/i386/fpu/libm-test-ulps: Update.
27311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27313 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27315         [BZ #18265]
27316         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27317         (wcsncpy): Likewise.
27319 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27321         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27322         Assume __ASSUME_FALLOCATE is always true.
27323         * sysdeps/unix/sysv/linux/posix_fallocate64.c
27324         (__posix_fallocate64_l64): Likewise.
27325         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27326         (posix_fallocate): Likewise.
27327         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27328         (__posix_fallocate64_l64): Likewise.
27329         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27330         [!__ASSUME_FALLOCATE]: Add comment.
27332 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27334         * sysdeps/unix/sysv/linux/i386/Makefile
27335         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27336         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27337         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27338         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27339         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27340         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27341         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27343 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
27345         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27346         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27347         tgamma.
27348         * math/auto-libm-test-out: Regenerated.
27349         * sysdeps/i386/fpu/libm-test-ulps: Update.
27350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27352 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27354         * math/auto-libm-test-in: Add more tests of tgamma.
27355         * math/auto-libm-test-out: Regenerated.
27356         * sysdeps/i386/fpu/libm-test-ulps: Update.
27357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27359         * math/auto-libm-test-in: Add more tests of tanh.
27360         * math/auto-libm-test-out: Regenerated.
27361         * sysdeps/i386/fpu/libm-test-ulps: Update.
27362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27364         * math/auto-libm-test-in: Add more tests of tan.
27365         * math/auto-libm-test-out: Regenerated.
27366         * sysdeps/i386/fpu/libm-test-ulps: Update.
27367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27369         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27370         * math/auto-libm-test-out: Regenerated.
27371         * sysdeps/i386/fpu/libm-test-ulps: Update.
27372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27374         * math/auto-libm-test-in: Add another test of pow.
27375         * math/auto-libm-test-out: Regenerated.
27376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27378         * math/auto-libm-test-in: Add more tests of lgamma.
27379         * math/auto-libm-test-out: Regenerated.
27380         * sysdeps/i386/fpu/libm-test-ulps: Update.
27381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27383         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27384         log1p.
27385         * math/auto-libm-test-out: Regenerated.
27386         * sysdeps/i386/fpu/libm-test-ulps: Update.
27387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27389 2015-05-01  Mark Wielaard  <mjw@redhat.com>
27391         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27392         Elf64_Chdr structs and ELFCOMPRESS constants.
27394 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27396         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27397         expm1.
27398         * math/auto-libm-test-out: Regenerated.
27399         * sysdeps/i386/fpu/libm-test-ulps: Update.
27400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27402         * math/auto-libm-test-in: Add more tests of erf and erfc.
27403         * math/auto-libm-test-out: Regenerated.
27404         * sysdeps/i386/fpu/libm-test-ulps: Update.
27405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27407 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27409         * config.h.in (HAVE_AARCH64_BE): Add.
27411 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
27413         * math/auto-libm-test-in: Add more tests of csqrt.
27414         * math/auto-libm-test-out: Regenerated.
27415         * sysdeps/i386/fpu/libm-test-ulps: Update.
27416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27418         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27419         * math/auto-libm-test-out: Regenerated.
27420         * sysdeps/i386/fpu/libm-test-ulps: Update.
27421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27423         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27425 2015-04-29  Roland McGrath  <roland@hack.frob.com>
27427         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27428         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27430         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27431         (euidaccess, eaccess): Define as weak aliases.
27433         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27434         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
27435         but __suseconds_t is often 'long int' so some sources assume that
27436         type is being used (e.g. they use %ld to print tv_usec).
27438 2015-04-29  Florian Weimer  <fweimer@redhat.com>
27440         [BZ #18007]
27441         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27442         (CVE-2014-8121)
27443         * nss/tst-nss-getpwent.c: New file.
27444         * nss/Makefile (tests): Add new test.
27446 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
27448         [BZ #18346]
27449         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27450         exponents less than 48 as cases where high part of mantissa needs
27451         examining to determine whether argument is integral.
27452         * math/libm-test.inc (round_test_data): Add more tests.
27454 2015-04-28  Mark Wielaard  <mjw@redhat.com>
27456         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27458 2015-04-27  David S. Miller  <davem@davemloft.net>
27460         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27461         __tls_get_addr.
27462         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27464 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
27466         [BZ#18333]
27467         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27469 2015-04-27  Florian Weimer  <fweimer@redhat.com>
27471         [BZ#18333]
27472         * time/tzset.c (parse_tzname): Return error on memory allocation
27473         failure.
27474         * test-skeleton.c (struct temp_name_list): Change type of name
27475         member to non-const.
27476         (add_temp_file): Create a copy of the file name.
27477         (delete_temp_files): Deallocate memory.
27478         (create_temp_file): Add comment.
27480 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27482         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27483         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27485 2015-04-24  Roland McGrath  <roland@hack.frob.com>
27487         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27488         * sysdeps/arm/configure: Regenerated.
27490 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27492         [BZ #17715]
27493         * time/tzfile.c (__tzfile_read): Check for large values of
27494         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
27495         * time/tzset.c (__tzstring_len): New function, based on the old
27496         __tzstring function.
27497         (__tzstring): Call __tzstring_len.
27498         (parse_tzname): New helper function extracted from
27499         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
27500         the input string.
27501         (parse_offset): New helper function extracted from
27502         __tzset_parse_tz.  Replace switch with fallthrough with
27503         initialization before sscanf.
27504         (parse_rule): Likewise.
27505         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
27506         new-style function definition.
27507         * timezone/Makefile (tests): Add tst-tzset.
27508         (tst-tzset.out): Dependencies on time zone files.
27509         (tst-tzset-ENV): Set TZDIR.
27510         (testdata/XT%): Copy crafted time zone files.
27511         * timezone/README: Mention crafted time zone files.
27512         * timezone/testdata/XT1, timezone/testdata/XT2,
27513         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27514         files.
27515         * timezone/tst-tzset.c: New test.
27517 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27519         * Makeconfig (+gccwarn): Remove -Winline.
27521 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27523         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27525 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27527         * NEWS: Mention sysconf() cache information support for s390.
27528         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27530 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
27532         * math/k_casinh.c (__kernel_casinh): Use __copysign.
27533         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27534         (__nearbyint): Likewise.
27535         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27536         (copysignl): Likewise.
27538 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
27540         [BZ #18287]
27541         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
27542         based on padding.  (CVE-2015-1781)
27544 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27546         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
27547         libc-vdso.h.
27548         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
27549         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
27550         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
27551         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27552         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27553         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
27554         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
27555         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27556         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27557         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
27558         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27559         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27560         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27561         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
27562         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27563         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27564         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
27565         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
27566         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
27567         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
27568         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
27569         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
27570         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
27572 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
27574         * stdlib/setenv.c (__add_to_environ):
27575         Dump core quickly if setenv (..., NULL, ...) is called.
27576         This time, do it the right way, and pacify GCC with a pragma.
27578 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27580         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27581         IMAP->l_prev cannot be null, and #if out the code for the contrary
27582         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27583         believe that NS (&_dl_ns[NSID]) could point outside the array.
27585         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27586         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27587         before using NSID as an index.
27589 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
27591         [BZ #17825]
27592         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27593         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27594         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27596 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27598         Add preliminary port to Google Native Client on ARM.
27599         * abi-tags (.*-.*-nacl.*): New entry.
27600         * sysdeps/arm/nacl: New directory.
27601         * sysdeps/nacl: New directory.
27603 2015-04-16  David S. Miller  <davem@davemloft.net>
27605         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27606         lowlevellock-futex.h
27608 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
27610         * sysdeps/tile/configure.ac: New file.
27611         * sysdeps/tile/configure: Regenerated.
27613 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27615         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
27616         conditionals for weak_alias and libc_hidden_weak.
27617         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27618         libc_hidden_weak and weak_alias.
27619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27620         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27621         and weak_alias for static one.
27623 2015-04-15  David S. Miller  <davem@davemloft.net>
27625         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27627 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27629         [BZ #18206]
27630         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27631           Use signed comparision instead of substraction to avoid
27632           overflow bug.
27633         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27634           Take the sign of ret.
27635         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27636           Do not expect precise return values. Only the sign matters.
27637         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27638         * wcsmbs/test-wcsncmp.c: New File.
27639         * string/test-strncmp.c: Add wcsncmp support.
27641 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27643         [BZ #6792]
27644         * math/w_log1p.c: New file.
27645         * math/w_log1pf.c: Likewise.
27646         * math/w_log1pl.c: Likewise.
27647         * math/Makefile (libm-calls): Add w_log1p.
27648         * math/s_log1pl.c (log1pl): Remove weak_alias.
27649         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27650         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27651         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27652         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27653         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27654         [NO_LONG_DOUBLE] (log1pl): Likewise.
27655         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27656         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27657         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27658         (log1p): Remove long_double_symbol.
27659         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27660         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27661         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27662         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27663         remove weak_alias for corresponding log1p function.
27664         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27665         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27666         * sysdeps/ia64/fpu/w_log1p.c: New file.
27667         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27668         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27669         * math/libm-test.inc (log1p_test_data): Add errno expectations.
27671 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
27673         [BZ #18247]
27674         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27675         decimal exponent by 1.
27676         * stdlib/tst-strtod-round-data: Add more tests.
27677         * stdlib/tst-strtod-round.c (tests): Regenerated.
27679 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
27681         * math/auto-libm-test-in: Add more tests of clog and clog10.
27682         * math/auto-libm-test-out: Regenerated.
27683         * sysdeps/i386/fpu/libm-test-ulps: Update.
27684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27686 2015-04-09  Roland McGrath  <roland@hack.frob.com>
27688         * Makeconfig (module-cppflags): Exclude all .v.i files.
27689         (skip-module-cppflags): Variable removed.
27691         * configure.ac (libc_config_ok): Initialize before reading
27692         preconfigure scripts, not after.
27693         * configure: Regenerated.
27695         * test-skeleton.c (TIMEOUT): Move #define to top level.
27696         (main): Grok environment variable TEST_DIRECT.  If set, print
27697         test expectation details into that file and then behave as if
27698         given --direct.
27700 2015-04-09  Florian Weimer  <fweimer@redhat.com>
27702         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27703         warning on 32-bit.
27705 2015-04-08  David S. Miller  <davem@davemloft.net>
27707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27709 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27711         * math/auto-libm-test-in: Add more tests of atanh.
27712         * math/auto-libm-test-out: Regenerated.
27713         * sysdeps/i386/fpu/libm-test-ulps: Update.
27714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27716         * math/auto-libm-test-in: Add more tests of atan.
27717         * math/auto-libm-test-out: Regenerated.
27718         * sysdeps/i386/fpu/libm-test-ulps: Update.
27719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27721 2015-04-08  Florian Weimer  <fweimer@redhat.com>
27723         * elf/pldd.c (main): Rewrite to use struct
27724         scratch_buffer instead of extend_alloca.
27725         * elf/pldd-xx.c (find_maps): Likewise.
27726         * grp/initgroups.c: Include <scratch_buffer.h> instead of
27727         <alloca.h>.
27728         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27729         scratch_buffer instead of extend_alloca.
27730         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27731         grp/compat-initgroups.c.
27732         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27733         Rewrite to use struct scratch_buffer instead of extend_alloca.
27734         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27735         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27737 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27739         * math/auto-libm-test-in: Add more tests of cbrt.
27740         * math/auto-libm-test-out: Regenerated.
27741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27743         * math/auto-libm-test-in: Add more tests of cabs.
27744         * math/auto-libm-test-out: Regenerated.
27745         * sysdeps/i386/fpu/libm-test-ulps: Update.
27746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27748         [BZ #18210]
27749         [BZ #18211]
27750         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27751         (__ieee754_atan2): Set FE_TONEAREST mode for internal
27752         computations.
27753         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27754         clog10.
27755         * math/auto-libm-test-out: Regenerated.
27756         * sysdeps/i386/fpu/libm-test-ulps: Update.
27757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27759         [BZ #18197]
27760         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27761         (atan): Set FE_TONEAREST mode for internal computations.
27762         * math/auto-libm-test-in: Add more tests of atan.
27763         * math/auto-libm-test-out: Regenerated.
27765 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
27767         [BZ #17930]
27768         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27770 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27772         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27774 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27776         * include/scratch_buffer.h: New file.
27777         * malloc/scratch_buffer_grow.c: Likewise.
27778         * malloc/scratch_buffer_grow_preserve.c: Likewise.
27779         * malloc/scratch_buffer_set_array_size.c: Likewise.
27780         * malloc/tst-scratch_buffer.c: Likewise.
27781         * malloc/Makefile (routines): Add scratch_buffer_grow.
27782         (tests): Add test case.
27783         * malloc/Versions (GLIBC_PRIVATE): Export
27784         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27785         __libc_scratch_buffer_set_array_size.
27787 2015-04-06  Richard Henderson  <rth@redhat.com>
27789         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27790         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27792         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27793         unsigned int before printing.
27795 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27797         [BZ #17596]
27798         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27799         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27801 2015-04-02  Florian Weimer  <fweimer@redhat.com>
27803         * include/libc-internal.h (libc_max_align_t): Define.
27805 2015-04-02  Andreas Schwab  <schwab@suse.de>
27807         [BZ #16850]
27808         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27810 2015-04-02  Mel Gorman  <mgorman@suse.de>
27812         [BZ #17195]
27813         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27814         as well as the main arena.
27816 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27818         [BZ #18185]
27819         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27820         sharing L2 cache to 2 for Silvermont/Knights Landing.
27822 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27824         [BZ #17711]
27825         * config.make.in (have-protected-data): New.
27826         * configure.ac: Check linker support for protected data symbol.
27827         * configure: Regenerated.
27828         * elf/Makefile (modules-names): Add tst-protected1moda and
27829         tst-protected1modb if $(have-protected-data) is yes.
27830         (tests): Add tst-protected1a and tst-protected1b if
27831         $(have-protected-data) is yes.
27832         ($(objpfx)tst-protected1a): New.
27833         ($(objpfx)tst-protected1b): Likewise.
27834         (tst-protected1modb.so-no-z-defs): Likewise.
27835         * elf/tst-protected1a.c: New file.
27836         * elf/tst-protected1b.c: Likewise.
27837         * elf/tst-protected1mod.h: Likewise.
27838         * elf/tst-protected1moda.c: Likewise.
27839         * elf/tst-protected1modb.c: Likewise.
27841 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27843         [BZ #17711]
27844         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27845         indicates it is called from do_lookup_x on relocation against
27846         protected data, skip the data definion in the executable from
27847         copy reloc.
27848         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27849         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27850         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27851         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27852         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27853         otherwise to 0.
27854         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27855         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27856         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27857         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27858         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27859         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27861 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
27863         * sysdeps/nptl/pthread.h: Remove duplicate definition of
27864         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27866 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
27868         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27869         THREAD_SETMEM_NC.
27870         * sysdeps/x86_64/nptl/tls.h: Ditto.
27872 2015-03-27  Roland McGrath  <roland@hack.frob.com>
27874         * dlfcn/tststatic.c (main): Converted to ...
27875         (do_test): ... this.
27876         (TEST_FUNCTION): New macro.
27877         Include test-skeleton.c.
27879 2015-03-26  Alan Modra  <amodra@gmail.com>
27881         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27882         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
27883         zero for undefined weak.
27884         (elf_machine_plt_conflict): Similarly.
27886 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27888         * math/auto-libm-test-in: Add more tests of acosh, asinh and
27889         atanh.
27890         * math/auto-libm-test-out: Regenerated.
27891         * sysdeps/i386/fpu/libm-test-ulps: Update.
27892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27894         * math/auto-libm-test-in: Add another test of asin.
27895         * math/auto-libm-test-out: Regenerated.
27896         * sysdeps/i386/fpu/libm-test-ulps: Update.
27897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27899         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27900         Remove macro.
27901         (LLL_EBX_REG): Likewise.
27902         (LLL_ENTER_KERNEL): Likewise.
27904         * math/auto-libm-test-in: Add more tests of asin.
27905         * math/auto-libm-test-out: Regenerated.
27906         * sysdeps/i386/fpu/libm-test-ulps: Update.
27907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27909         [BZ #18138]
27910         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27911         libc_do_syscall_args): New structure.
27912         (INTERNAL_SYSCALL_MAIN_0): New macro.
27913         (INTERNAL_SYSCALL_MAIN_1): Likewise.
27914         (INTERNAL_SYSCALL_MAIN_2): Likewise.
27915         (INTERNAL_SYSCALL_MAIN_3): Likewise.
27916         (INTERNAL_SYSCALL_MAIN_4): Likewise.
27917         (INTERNAL_SYSCALL_MAIN_5): Likewise.
27918         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
27919         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27920         Replace conditional definitions by conditional definitions of ....
27921         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
27922         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27923         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27924         (libpthread-sysdep_routines): Add libc-do-syscall.
27925         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27926         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27927         to __NR_futex not 240.
27929 2015-03-25  Alan Modra  <amodra@gmail.com>
27931         * NEWS: Advertise TLS optimization.
27932         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27933         (DT_PPC_NUM): Increment.
27934         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27935         (CHECK_STATIC_TLS): Use here.
27936         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27937         TLS descriptors.
27938         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27939         * sysdeps/powerpc/dl-tls.c: New file.
27940         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27941         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27942         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27943         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27948 2015-03-25  Alan Modra  <amodra@gmail.com>
27950         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27951         for overlapping .opd entries" to "support...".
27952         * sysdeps/powerpc/powerpc64/configure: Regenerate
27954 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27956         * math/auto-libm-test-in: Add more tests of acos.
27957         * math/auto-libm-test-out: Regenerated.
27958         * sysdeps/i386/fpu/libm-test-ulps: Update.
27959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27961         * math/auto-libm-test-in: Add more tests of expm1.
27962         * math/auto-libm-test-out: Regenerated.
27963         * sysdeps/i386/fpu/libm-test-ulps: Update.
27964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27966 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
27968         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27969         * math/auto-libm-test-out: Regenerated.
27970         * sysdeps/i386/fpu/libm-test-ulps: Update.
27971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27973         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27976         * math/auto-libm-test-in: Add more tests of log2.
27977         * math/auto-libm-test-out: Regenerated.
27978         * sysdeps/i386/fpu/libm-test-ulps: Update.
27979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27981 2015-03-23  Roland McGrath  <roland@hack.frob.com>
27983         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27984         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
27985         _IO_IS_APPENDING bit in READ_WRITE instead.
27987 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27989         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27990         (__determine_cpumask_size): Replace extend_alloca with a
27991         variable-length array.  Do not treat res == 0 as an error.
27993 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27995         [BZ #18100]
27996         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27997         and integer overflow.
27998         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27999         (main): Add integer overflow tests.
28000         * manual/pattern.texi (Calling Wordexp): Document additional use
28001         for WRDE_SYNTAX.
28003 2015-03-23  Alan Modra  <amodra@gmail.com>
28005         * config.h.in: Remove HAVE_ASM_PPC_REL16.
28006         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
28007         and false branch of conditional.
28008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28009         Likewise.
28011 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
28013         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28014         libc-modules.h
28015         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
28016         unused declaration of _hurd_intr_rpc_msg_in_trap.
28017         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
28018         defined instead of whether it is non-zero.
28019         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
28020         input constraint instead of both input and output constraint.  Use ecx
28021         clobber instead of %ecx.
28022         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
28023         mutex_unlock): Use a statement expression instead of an expression list.
28024         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
28025         type to vm_size_t instead of vm_address_t.
28026         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28027         defined instead of whether it is non-zero.
28028         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28029         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28030         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28031         comparisons with mapaddr.
28032         * nscd/nscd-client.h: Include <time.h>.
28033         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28034         9th parameter to __vm_region instead of int.
28035         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28036         * scripts/check-local-headers.sh (exclude): Add device/,
28037         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28038         cthreads.h.
28040 2015-03-19  Roland McGrath  <roland@hack.frob.com>
28042         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28043         to account for alignment padding.
28044         * sysdeps/arm/memmove.S: Likewise.
28046 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
28048         * sysdeps/unix/sysv/linux/generic/README: New file.
28050 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
28052         [BZ #18138]
28053         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28054         (futex_abstimed_wait)
28055         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28056         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28057         of lll_futex_timed_wait.
28059 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
28061         [BZ #17542]
28062         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28064 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
28066         [BZ #17090]
28067         [BZ #17620]
28068         [BZ #17621]
28069         [BZ #17628]
28070         * NEWS: Update.
28071         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28072         entries with Static TLS too.  Skip entries past the end of the
28073         allocated DTV, from Alan Modra.
28074         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
28075         Static TLS DTV entry set up from...
28076         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28077         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28078         * nptl/allocatestack.c (init_one_static_tls): ... and here...
28079         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28080         for Static TLS.
28081         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
28082         that the slot we find is associated with the given map before
28083         using its generation count.
28084         * nptl_db/db_info.c: Include ldsodefs.h.
28085         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28086         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28087         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28088         (link_map::l_tls_offset): New struct field.
28089         (dtv_t::counter): Likewise.
28090         (rtld_global): New struct.
28091         (_rtld_global): New rtld variable.
28092         (dl_tls_dtv_slotinfo_list): New rtld global field.
28093         (dtv_slotinfo_list): New struct.
28094         (dtv_slotinfo): Likewise.
28095         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28096         (td_lookup): Rename to...
28097         (td_mod_lookup): ... this.  Use new mod parameter instead of
28098         LIBPTHREAD_SO.
28099         * nptl_db/td_thr_tlsbase.c: Include link.h.
28100         (dtv_slotinfo_list, dtv_slotinfo): New functions.
28101         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
28102         addresses even if the DTV is out of date or missing them.
28103         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28104         index zero-length arrays.
28105         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28106         (td_lookup): Make it a macro implemented in terms of...
28107         (td_mod_lookup): ... this declaration.
28108         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28109         (DB_MAIN_VARIABLE): Likewise.
28111 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28113         [BZ #18134]
28114         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28116 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
28118         * stdlib/setenv.c (__add_to_environ): Revert previous change.
28120 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
28122         [BZ #18128]
28123         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28124         (atomic_add, atomic_increment_and_test)
28125         (atomic_decrement_and_test): Fix 64-bit arithmetic.
28127 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
28129         * stdlib/setenv.c (__add_to_environ):
28130         Dump core quickly if setenv (..., NULL, ...) is called.
28132 2015-03-13  Roland McGrath  <roland@hack.frob.com>
28134         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28135         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28136         all the necessary asm magic in one place.
28137         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28138         using those.
28140 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
28142         [BZ #14906]
28143         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28144         traced file mtime. Use consistent log message.
28145         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28146         (register_traced_file): Call install_watches. Always set mtime.
28147         (invalidate_cache): Iterate over all trace files. Call install_watches.
28148         (inotify_check_files): Don't inline. Handle watching parent
28149         directories and configuration file movement in and out.
28150         (handle_inotify_events): New function.
28151         (main_loop_poll): Call handle_inotify_events.
28152         (main_loop_epoll): Likewise.
28153         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28154         (struct traced_file): Use array of inotify fds. Add parent directory,
28155         and basename.
28156         (struct database_dyn): Remove unused file_mtime.
28157         (init_traced_file): New inline function.
28158         (define_traced_file): New macro.
28159         * nss/nss_db/db-init.c: Use define_traced_file.
28160         (_nss_db_init): Use init_traced_file.
28161         * nss/nss_files/files-init.c: Use define_traced_file.
28162         (_nss_files_init): Use init_traced_file.
28164 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
28166         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28167         [_LIBC]: Do not include <stdlib.h>.
28168         [!_LIBC] (abort): Remove declaration.
28169         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28170         _FP_STATIC_ASSERT instead of conditionally calling abort.
28171         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28172         (_FP_EXTEND_CNAN): Likewise.
28173         (FP_TRUNC): Likewise.
28174         (__FP_CLZ): Likewise.
28175         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28177 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
28179         * manual/string.texi (XPG basename): Fix prototype.
28181 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28183         [BZ #18080]
28184         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28185         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28186         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28187         (__setcontext): Likewise.
28188         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28189         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28190         Call rt_sigprocmask syscall one time to set new signal mask
28191         and retrieve the current signal mask instead of two calls.
28192         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28193         (__swapcontext): Likewise.
28194         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28195         * stdlib/tst-setcontext2.c: New file.
28197 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28199         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28201 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
28203         [BZ #18093]
28204         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28205         the wrong size.
28207 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28209         [BZ #18043]
28210         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28212 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28214         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28215         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28216         Remove define.
28217         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28218         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28219         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28220         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28221         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28222         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28223         define.
28224         * nptl_db/td_symbol_list.c (td_lookup): Remove
28225         HAVE_ASM_GLOBAL_DOT_NAME code.
28226         * sysdeps/powerpc/powerpc64/configure.ac: Remove
28227         HAVE_ASM_GLOBAL_DOT_NAME check.
28228         * sysdeps/powerpc/powerpc64/configure: Regenerate.
28229         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28230         (DOT_LABEL): Remove define.
28231         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28232         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28233         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28234         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28235         (__TLS_GET_ADDR): Likewise.
28236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28237         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28239 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
28241         [BZ #18111]
28242         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28243         (_FPU_SETCW): Initialize cw from fpsr before storing.
28244         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28245         (fesetexceptflag): Rewrite using fpu_control.h.
28246         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28248 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
28250         [BZ #18110]
28251         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28252         asms.
28253         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28255 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
28257         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28258         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28259         abort.
28260         (_FP_FMA): Likewise.
28261         (_FP_DIV): Likewise.
28263 2015-03-10  Roland McGrath  <roland@hack.frob.com>
28265         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28266         with 0 in that case.
28267         * Makefile (summarize-tests): New canned sequence, factored out of
28268         commands for targets tests and xtests.  Display summary lines that
28269         don't start with PASS: or XFAIL: rather than ones that do start with
28270         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
28271         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28272         do start with ERROR: or FAIL:.
28273         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28274         (except for [$(build-shared) = yes]).
28275         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28276         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28277         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28278         * nptl/Makefile: Revert 2015-03-04 changes.
28279         [$(CXX) empty] (tests-unsupported): New variable.
28280         * debug/Makefile: Likewise.
28282         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28283         gnulib file.  Replace __attribute with __attribute__ throughout.
28285 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
28287         * sysdeps/hppa/fpu/libm-test-ulps: Update.
28289 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28291         [BZ #18104]
28292         * math/auto-libm-test-in: Add another test of pow.
28293         * math/auto-libm-test-out: Regenerated.
28295 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28297         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28298         $(config-cflags-nofma).
28300 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28302         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28303         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28304         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28305         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28306         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28307         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28308         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28309         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28310         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28311         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28312         Add comment on closing #endif.
28314 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28316         * posix/wordexp.c (CHAR_IN_SET): New macro.
28317         (parse_param): Use it.
28319 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28321         * sysdeps/powerpc/fpu/libm-test-ulps: update.
28323 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28325         [BZ #18043]
28326         * posix/wordexp.c (parse_param): Fix buffer overflow.
28327         * posix/wordexp-test.c (test_case): Add test case.
28329 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28331         [BZ #18042]
28332         * posix/wordexp.c (parse_backtick): Fix off-by-one.
28333         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28335 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28337         [BZ #18043]
28338         * posix/wordexp-test.c (test_case): Add test for BZ #18043
28339         (do_bz18043): Delete.
28340         (at_page_end): New.
28341         (testit): Refactor to have words at the edge of unreadable page.
28343 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28345         [BZ #16734]
28346         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28347         Cleanup read-only streams as well.
28348         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28350 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28352         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28353         <bits/libc-lockP.h>
28355 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
28357         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
28358         on [__KERNEL__].
28359         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28360         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28361         * soft-fp/op-common.h (_FP_DECL): Likewise.
28363 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
28365         * elf/ifuncdep2.c (global): Replace
28366         __attribute__((visibility("protected"))) with
28367         asm (".protected global").
28368         * elf/ifuncmod1.c (global): Likewise.
28369         * elf/ifuncmod5.c (global): Likewise.
28371 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
28373         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28374         <asm/sfp-machine.h> instead of <sfp-machine.h>.
28376 2015-03-06  Roland McGrath  <roland@hack.frob.com>
28378         * manual/install.texi (Configuring and compiling):
28379         Document test-wrapper-env-only.
28380         * INSTALL: Regenerated.
28382 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28384         [BZ #18043]
28385         * posix/wordexp.c (parse_param): Fix buffer overflow.
28386         * posix/wordexp-test.c (do_bz18043): Add test case.
28388 2015-03-06  Vincent Bernat  <vincent@bernat.im>
28390         * time/tst-strptime2.c (do_test): Ensure failing tests are
28391         reported correctly.
28392         * time/tst-strptime3.c (do_test): Likewise.
28394 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
28396         Fix aio_error thread-safety.
28397         * sysdeps/pthread/aio_error.c: New file
28398         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28399         synchronization.
28401 2015-03-06  Florian Weimer  <fweimer@redhat.com>
28403         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28404         (group_number, vfprintf): Use it.
28405         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28406         (JUMP, REF): Use it.
28407         (WORK_BUFFER_SIZE): New enum constant.
28408         (process_arg, vfprintf): Use it.
28410 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
28412         * manual/errno.texi (Error Messages): Complete example function
28413         by adding missing #define.
28414         (program_invocation_name): Add statement indicating GNU
28415         extension and reference which header file declares the variable.
28416         (program_invocation_short_name): Likewise.
28418 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
28420         * manual/errno.texi (Error Messages): Delete strerror ISO C89
28421         compatibility note.
28423 2015-03-05  Roland McGrath  <roland@hack.frob.com>
28425         * Makeconfig (test-wrapper-env-only): New variable.
28426         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28427         then use that with $(test-wrapper-env-only) rather than using
28428         $(test-wrapper-env) $(run-program-env) $($*-ENV).
28430 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28432         [BZ #18082]
28433         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28434         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28435         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28436         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28437         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28438         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28439         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28440         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28441         Likewise.
28442         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28443         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28444         Likewise.
28445         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28446         Likewise.
28447         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28448         Likewise.
28449         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28450         Likewise.
28451         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28452         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28453         Likewise.
28454         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28455         Likewise.
28456         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28457         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28459 2015-03-04  Roland McGrath  <roland@hack.frob.com>
28461         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28462         (ETH_ALEN): New macro.
28463         (struct ether_addr): Use it for length of ether_addr_octet.
28465         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28466         (setdb): Don't call __nss_configure_lookup for "rpc".
28467         (do_test): Don't call test_rpc.
28468         (output_rpcent, test_rpc): Functions moved ...
28469         * sunrpc/test-rpcent.c: ... to this new file.
28470         * sunrpc/Makefile (tests): Add it.
28472         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28473         __xpg_sigpause.
28474         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28475         * nptl/tst-signal6.c: Likewise.
28476         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28477         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28479         * configure.ac (libc_cv_cxx_link_ok): New check.
28480         Reset CXX to empty if it fails to link.
28481         * configure: Regenerated.
28482         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28483         bug-atexit3-lib only if $(CXX) is nonempty.
28484         * nptl/Makefile (tests): Likewise for tst-cancel24.
28485         (tests, tests-static): Likewise for tst-cancel24-static.
28486         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28487         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28488         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28489         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28491 2015-03-04  Andreas Schwab  <schwab@suse.de>
28493         [BZ #17631]
28494         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28495         for non-GCC compilers.
28496         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28497         Likewise.
28499 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28501         [BZ #17776]
28502         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28503         integer before bitwise and assembly operations.
28504         (feclearexcept): Likewise.
28505         * math/test-fenvinline.c: New file.
28506         * math/Makefile: Add test-fenvinline test.
28508 2015-03-03  Alan Modra  <amodra@gmail.com>
28510         [BZ #16512]
28511         * scripts/localplt.awk: Strip off symbol version.
28512         * NEWS: Mention bug fix.
28514 2015-03-02  Roland McGrath  <roland@hack.frob.com>
28516         * sysdeps/pthread/timer_routines.c
28517         (timer_free_list, thread_free_list, thread_active_list): Make static.
28519 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
28521         [BZ #17779]
28522         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28523         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28524         Undefine.
28525         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28526         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28527         Likewise.
28528         * sysdeps/unix/sysv/linux/sh/kernel-features.h
28529         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28530         Likewise.
28532 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
28534         [BZ #18036]
28535         * posix/fnmatch_loop.c (END): Detect invalid pattern.
28536         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28538 2015-03-02  Andreas Schwab  <schwab@suse.de>
28540         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
28541         variable name.
28543 2015-03-02  Florian Weimer  <fweimer@redhat.com>
28545         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
28546         Return error status.
28548 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
28550         [BZ #15969]
28551         * locale/findlocale.c (_nl_find_locale): Introduce const
28552         version of loc_name and drop unsafe type casts.
28554 2015-02-27  Roland McGrath  <roland@hack.frob.com>
28556         * dlfcn/tststatic2.c (main): Converted to ...
28557         (do_test): ... this.
28558         (TEST_FUNCTION): New macro.
28559         Include test-skeleton.c.
28561 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
28563         [BZ #17711]
28564         * elf/Makefile (tests): Add vismain only if PIE is enabled.
28565         (tests-pie): Add vismain.
28566         (CFLAGS-vismain.c): New.
28567         * elf/vismain.c: Add comments for PIE requirement.
28569 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28571         [BZ #18046]
28572         [BZ #18047]
28573         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
28574         0x1p-56L as threshold for just returning the argument.
28575         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
28576         0x1p-32L as threshold for just returning the argument.
28577         * math/auto-libm-test-in: Add more tests of atanh.
28578         * math/auto-libm-test-out: Regenerated.
28579         * sysdeps/i386/fpu/libm-test-ulps: Update.
28580         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28582 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
28584         * string/bcopy.c (bcopy): Call memmove for performance.
28586 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
28588         * string/bzero.c (__bzero): Call memset for performance.
28590 2015-02-27  John David Anglin  <dave.anglin@bell.net>
28592         [BZ #18068]
28593         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28594         to 00100000.
28596 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28598         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28600 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28602         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28603         (__kernel_standard): Use CSTR macro when setting exc.name.
28604         * sysdeps/ieee754/Makefile [$(subdir) = math]
28605         (CFLAGS-k_standard.c): Remove variable.
28607         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28608         setting p and q from "else if" to "else".
28609         (qzero): Likewise.
28610         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28611         (qone): Likewise.
28612         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28613         (qzerof): Likewise.
28614         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28615         (qonef): Likewise.
28616         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28617         (qzero): Likewise.
28618         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28619         (qone): Likewise.
28621         [BZ #18038]
28622         [BZ #18039]
28623         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28624         return pi/2 for arguments below 0x1p-113L.
28625         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28626         return pi/2 for arguments below 0x1p-106L.
28627         * math/auto-libm-test-in: Add more tests of acos.
28628         * math/auto-libm-test-out: Regenerated.
28630         [BZ #16351]
28631         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28632         (MO): New macro.
28633         (__ieee754_asin): Force underflow exception for results with small
28634         absolute value.
28635         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28636         (MO): New macro.
28637         (__ieee754_asinf): Force underflow exception for results with
28638         small absolute value.
28639         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28640         (__ieee754_asin): Force underflow exception for results with small
28641         absolute value.
28642         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28643         (__ieee754_asinf): Force underflow exception for results with
28644         small absolute value.
28645         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28646         (__ieee754_asinl): Force underflow exception for results with
28647         small absolute value.
28648         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28649         (__ieee754_asinl): Force underflow exception for results with
28650         small absolute value.
28651         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28652         (__ieee754_asinl): Force underflow exception for results with
28653         small absolute value.
28654         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28655         Include <math.h>.
28656         * math/auto-libm-test-in: Do not mark underflow exceptions as
28657         possibly missing for bug 16351.
28658         * math/auto-libm-test-out: Regenerated.
28660         [BZ #18030]
28661         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28662         of power of 2 down when low part has opposite sign.
28663         * math/libm-test.inc (logb_test_data): Add more tests.
28665 2015-02-26  Andreas Schwab  <schwab@suse.de>
28667         [BZ #18032]
28668         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28669         over collating symbol inside a bracket expression.  Minor cleanup.
28670         * posix/tst-fnmatch3.c (do_test): Add test case.
28672 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28674         [BZ #18029]
28675         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28676         Adjust exponent of power of 2 down when low part has opposite
28677         sign.
28678         * math/libm-test.inc (ilogb_test_data): Add more tests.
28680 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
28682         [BZ #15969]
28683         * locale/findlocale.c (_nl_find_locale): Fix constness error in
28684         the previous change.
28686         [BZ #15969]
28687         * locale/findlocale.c (_nl_find_locale): Retry archive search
28688         after alias expansion.
28690 2015-02-25  Roland McGrath  <roland@hack.frob.com>
28692         * iconv/tst-iconv3.c (main): Converted to ...
28693         (do_test): ... this.
28694         (TEST_FUNCTION): New macro.
28695         Include test-skeleton.c.
28697         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28698         (convert): Make function static.
28699         (test_unalign): Likewise.  Add const to argument pointee types.
28700         (main): Replace with static function do_test.
28701         Print "Succeeded." only if RET is zero.
28702         (TEST_FUNCTION): New macro.
28703         Include test-skeleton.c.
28705         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28706         returns a null pointer.
28708 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28710         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28711         to __memcpy_ppc only for static builds.
28713 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
28715         [BZ #18020]
28716         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28717         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28718         * math/auto-libm-test-in: Add more tests of asinh.
28719         * math/auto-libm-test-out: Regenerated.
28720         * sysdeps/i386/fpu/libm-test-ulps: Update.
28721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28723 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
28725         [BZ #15850]
28726         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28727         and ip6_mtuinfo definitions here.
28728         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28729         in this define too.  Update comment.
28731 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
28733         * elf/sprof.c (load_shobj): Tweak error message to match others.
28735 2015-02-24  Kevin Easton  <kevin@guarana.org>
28737         [BZ #16145] (partial fix)
28738         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28739         to reduce lock contention.
28741 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
28743         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28744         (struct timex): Update time comment.
28745         (ADJ_SETOFFSET): Define.
28747 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28749         [BZ #18019]
28750         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28751         2**56 not 2**28 as threshold for log (2x) formula.
28752         * math/auto-libm-test-in: Add more tests of acosh.
28753         * math/auto-libm-test-out: Regenerated.
28754         * sysdeps/i386/fpu/libm-test-ulps: Update.
28755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28757 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28759         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28760         parenthesis around the buf assignment.
28761         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28763 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28765         [BZ #16783]
28766         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28767         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28768         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28769         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28770         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28771         * math/libm-test.inc (scalb_test_data): Add more tests.
28773 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28775         [BZ #17916]
28776         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28777         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28779 2015-02-24  Eric Rannaud  <e@nanocritical.com>
28781         [BZ #17523]
28782         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28783         * io/bits/fcntl2.h (open): Use it.
28784         (openat): Likewise.
28785         * io/open.c (__libc_open): Likewise.
28786         * io/open64.c (__libc_open64): Likewise.
28787         * io/open64_2.c (__open64_2): Likewise.
28788         * io/open_2.c (__open_2): Likewise.
28789         * io/openat.c (__openat): Likewise.
28790         * io/openat64.c (__openat64): Likewise.
28791         * io/openat64_2.c (__openat64_2): Likewise.
28792         * io/openat_2.c (__openat_2): Likewise.
28793         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28794         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28795         * sysdeps/posix/open64.c (__libc_open64): Likewise.
28796         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28797         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28798         (__open_nocancel): Likewise.
28799         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28800         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28801         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28803 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28805         [BZ #14841]
28806         * resolv/gethnamaddr.c (getanswer): Skip logging if
28807         RES_USE_DNSSEC is set.
28808         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28810 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28812         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28814 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
28816         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28817         201304L, for Unicode 7.
28819 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
28821         [BZ #17836]
28822         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28823         shared library.  Add gmon-start.os otherwise.
28824         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28825         $(objpfx)gmon-start.os if builing shared library.
28826         ($(objpfx)g$(static-start-installed-name)): Likewise.
28828 2015-02-23  Andreas Schwab  <schwab@suse.de>
28830         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28832 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28834         [BZ #17269]
28835         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28836         (enlarge_userbuf): Likewise.
28838 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
28840         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28841         * math/atest-exp.c (TIMEOUT): Adjust to 200.
28842         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28843         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28845 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
28847         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28848         expression inside statement expression.
28850 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28852         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28853         <sysdeps/nptl/lowlevellock.h> and remove macros and
28854         functions that are now defined there.
28855         (SYS_futex): Remove.
28856         (lll_compare_and_swap): Remove.
28857         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28859 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
28861         [BZ #17999]
28862         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28863         instead of scandirat.
28864         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28865         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28866         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28867         __scandirat.
28868         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28869         (__scandirat): Declare.  Use libc_hidden_proto.
28870         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28871         Remove variable.
28872         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28874 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28876         [BZ #15319]
28877         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28878         (MO): New macro.
28879         (__ieee754_atan2): For results with small absolute value, force
28880         underflow exception and remove excess range and precision from
28881         return value.
28882         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28883         (MO): New macro.
28884         (__ieee754_atan2f): For results with small absolute value, force
28885         underflow exception and remove excess range and precision from
28886         return value.
28887         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28888         (MO): New macro.
28889         (__atan): For results with small absolute value, force underflow
28890         exception and remove excess range and precision from return value.
28891         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28892         (MO): New macro.
28893         (__atanf): For results with small absolute value, force underflow
28894         exception and remove excess range and precision from return value.
28895         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28896         <math.h>.
28897         (__ieee754_atan2): Force underflow exception for results with
28898         small absolute value.
28899         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28900         <math_private.h>.
28901         (atan): Force underflow exception for results with small absolute
28902         value.
28903         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28904         (__atanf): Force underflow exception for results with small
28905         absolute value.
28906         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28907         <math.h>.
28908         (__atanl): Force underflow exception for results with small
28909         absolute value.
28910         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28911         (__atanl): Force underflow exception for results with small
28912         absolute value.
28913         * sysdeps/x86/fpu/bits/mathinline.h
28914         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28915         (__ieee754_atan2): Only define inline for long double.
28916         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28917         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28918         * math/auto-libm-test-in: Do not mark underflow exceptions as
28919         possibly missing for bug 15319.  Add more tests of atan2.
28920         * math/auto-libm-test-out: Regenerated.
28921         * math/libm-test.inc (casin_test_data): Do not mark underflow
28922         exceptions as possibly missing for bug 15319.
28923         (casinh_test_data): Likewise.
28924         * sysdeps/i386/fpu/libm-test-ulps: Update.
28926 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
28928         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28929         * sysdeps/mips/bits/endian.h: Fix comments.
28931 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28933         [BZ #17996]
28934         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28935         (hdestroy_r): Likewise.
28936         (hsearch_r): Likewise.
28937         (__hcreate_r): Declare and use libc_hidden_proto.
28938         (__hdestroy_r): Likewise.
28939         (__hsearch_r): Likewise.
28940         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28941         (hcreate): Call __hcreate_r instead of hcreate_r.
28942         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28943         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28944         as weak alias of __hcreate_r.
28945         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28946         __hdestroy_r.
28947         (hsearch_r): Rename to __hsearch_r and define as weak alias of
28948         __hsearch_r.
28949         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28950         Remove variable.
28951         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28952         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28953         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28954         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28956 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28958         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28959         arena_lock into a single arena_get.
28961 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
28963         * dl-reloc.c: Inlucde libc-internal.h.
28964         (_dl_try_allocate_static_tls): Call ALIGN_UP.
28965         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28966         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28967         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28968         (grow_heap): Likewise.
28969         * malloc/malloc.c: Include libc-internal.h.
28970         (do_check_malloc): Call powerof2.
28971         (sysmalloc): Use pagesize. Call ALIGN_UP.
28972         (systrim): Use pagesize.
28973         (mremap_chunk): Use pagesize. Call ALIGN_UP.
28974         (__libc_valloc): Use pagesize.
28975         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28977 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28979         [BZ #17991]
28980         * include/sys/resource.h (__getrlimit64): Declare.  Use
28981         libc_hidden_proto.
28982         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28983         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
28984         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28985         getrlimit64.
28986         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28987         __getrlimit64.
28988         [!getrlimit64] (getrlimit64): Define as weak alias of
28989         __getrlimit64.  Use libc_hidden_weak.
28990         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28991         using __getrlimit64 not __new_getrlimit64.
28992         (__GI_getrlimit64): Likewise.
28993         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28994         Likewise.
28995         (__GI_getrlimit64): Likewise.
28996         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28998         (getrlimit): Add __getrlimit64 alias.
28999         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
29000         Likewise.
29001         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
29002         Remove variable.
29003         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29004         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29006 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
29008         * libio/fileops.c: Add missing sys/mman.h
29009         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
29011 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
29013         * manual/math.texi (Errors in Math Functions): Clarify goals
29014         regarding inexact and underflow exceptions.
29016 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
29018         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
29019         * sysdeps/mips/memset.S: Ditto.
29021 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
29023         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
29025 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29027         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29028         (__v1longjmp): Remove versioned symbol.
29029         (__v1siglongjmp): Remove alias and versioned symbol.
29030         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29031         (__v2siglongjmp): Likewise.
29033 2015-02-16  Torvald Riegel  <triegel@redhat.com>
29035         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29037 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
29039         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29041 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
29043         [BZ #17987]
29044         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29045         zero result does not depend on the sign resulting from
29046         subtraction.
29047         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29048         Likewise.
29049         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29050         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29051         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29052         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29053         * math/libm-test.inc (remquo_test_data): Add more tests.
29055 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
29057         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29058         Problem reported by J William Piggott.
29060 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
29062         [BZ #17978]
29063         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29064         products 4 * y and 2 * y where those would overflow.
29065         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29066         Likewise.
29067         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29068         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29069         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29070         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29071         * math/libm-test.inc (remquo_test_data): Add more tests.
29073         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29075         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29076         [defined _COMPILING_NEWLIB].
29077         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29078         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29080         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29081         [!defined __mips_isa_rev || __mips_isa_rev < 6].
29083 2015-02-16  Torvald Riegel  <triegel@redhat.com>
29085         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29086         acquired.
29088 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
29090         [BZ #17792]
29091         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29092         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29093         HOST_STACK_END_ADDR): Likewise.
29095 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
29097         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29098         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29099         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29101 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29103         * sysdeps/generic/c++-types.data: New file.
29104         * sysdeps/generic/ld.abilist: New file.
29105         * sysdeps/generic/libBrokenLocale.abilist: New file.
29106         * sysdeps/generic/libanl.abilist: New file.
29107         * sysdeps/generic/libc.abilist: New file.
29108         * sysdeps/generic/libcrypt.abilist: New file.
29109         * sysdeps/generic/libdl.abilist: New file.
29110         * sysdeps/generic/libm.abilist: New file.
29111         * sysdeps/generic/libpthread.abilist: New file.
29112         * sysdeps/generic/libresolv.abilist: New file.
29113         * sysdeps/generic/librt.abilist: New file.
29115 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29117         [BZ #17569]
29118         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29119         Compute absolute value of x as modified by fmod, not original
29120         value of x.
29121         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29122         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
29123         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
29124         RUN_TEST_ffI_f1_mod8.
29125         (remquo_test_data): Add more tests.
29127 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29129         * sysdeps/init_array/pt-crti.S: New file.
29131 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29133         [BZ #17967]
29134         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29135         __builtin_fmaf instead of relying on contraction of a * b + c.
29137 2015-02-12  J William Piggott  <elseifthen@gmx.com>
29139         [BZ #17969]
29140         * manual/time.texi: correct the zoneinfo path in the TZ Variable
29141         node.
29143 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29145         [BZ #17964]
29146         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29147         __builtin_fma instead of relying on contraction of a * b + c.
29149 2015-02-12  Roland McGrath  <roland@hack.frob.com>
29151         * Makeconfig (ASFLAGS): Add -Werror=undef.
29152         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29153         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29154         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29156         * Makeconfig (after-link): New variable.
29157         (+link-pie, +link-pie-tests): Use it.
29158         (+link-static, +link-static-tests): Likewise.
29159         (+link, +link-tests): Likewise.
29160         * Makerules (build-module, build-module-asneeded): Likewise.
29161         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29162         Likewise.
29163         * elf/Makefile ($(objpfx)ld.so): Likewise.
29165 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
29167         [BZ #17965]
29168         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29169         both struct timeval and struct timespec.
29171 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29173         [BZ #16560]
29174         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29175         and redefine.
29176         (__ieee754_exp2l): Do not multiply small fractional parts by
29177         M_LN2l.
29178         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29179         small argument.
29180         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29181         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29182         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29183         * math/auto-libm-test-in: Add more tests of exp2.
29184         * math/auto-libm-test-out: Regenerated.
29186 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29188         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29189         unaligned path.
29191 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29193         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29194         little endian.
29196 2015-02-12  Andreas Schwab  <schwab@suse.de>
29198         [BZ #15790]
29199         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29200         Filter out elision flags from value returned in kind.
29201         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29202         * nptl/tst-pthread-mutexattr.c: New file.
29204 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29206         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29207         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29208         into gnu-gnu, and update comment to refer to abi-tags.
29210 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
29212         [BZ #15467]
29213         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29214         (__sincos): Set errno to EDOM for infinite argument.
29215         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29216         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29217         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29218         (__sincosl): Set errno to EDOM for infinite argument.
29219         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29220         (__sincosl): Set errno to EDOM for infinite argument.
29221         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29222         (__sincosl): Set errno to EDOM for infinite argument.
29223         * math/libm-test.inc (sincos_test_data): Test errno setting.
29225 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
29227         * string/strxfrm_l.c: Remove #define STRCMP.
29228         * string/strcoll_l.c: Remove #define STRLEN.
29229         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29230         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29232 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
29234         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29235         * sysdeps/mips/mips32/sfp-machine.h: ... here.
29236         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29237         * sysdeps/mips/mips64/Makefile: ... here.
29238         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29239         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29240         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29241         * sysdeps/mips/mips64/sfp-machine.h: ... here.
29242         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29243         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29244         * sysdeps/mips/mips64/n64/Implies: Likewise.
29246 2015-02-10  Roland McGrath  <roland@hack.frob.com>
29248         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29249         <sys/time.h>, <string.h>, and <errno.h>.
29250         (dest_offset, dest_address, value, zero): Remove unused variables.
29251         (ldouble): Remove typedef.
29252         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29253         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
29254         1).  Fix code style.
29255         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29256         (check): Function removed.
29257         (CHECK): New macro.
29258         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
29259         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29260         Don't call set_sigaction_FP and remove_sigaction_FP here.
29261         (ldouble_test): Just use 'long double' as macro argument, no need for
29262         the 'ldouble' typedef.
29263         (do_test): Set up SIGFPE handler at start, using plain signal rather
29264         than sigaction.  Fix code style.
29266 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
29268         [BZ #17949]
29269         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29270         jump label.
29272 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29274         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29275         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29277         * sysdeps/powerpc/configure.ac: Remove file.
29278         * sysdeps/powerpc/configure: Likewise.
29280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29281         [sysdep_routines]: Remove wordcopy-power6 object.
29282         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29283         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29284         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29285         (__memmove_ppc32): Likewise.
29286         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29287         file.
29288         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29289         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29290         Remove preprocessor.
29292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29293         [sysdep_routines]: Remove wide chars objects.
29294         [wcsmbs]: New rule for wide char objects.
29296         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29297         Remove wordcopy-power6 obejct.
29298         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29299         Use local call for wordcopy and memcpy symbols.
29300         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29301         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29302         implementation for loader.
29303         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29305         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29306         Remove wordcopy-power7 object.
29307         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29308         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29309         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29310         (_wordcopy_fwd_dest_aligned): Likewise.
29311         (_wordcopy_bwd_aligned): Likewise.
29312         (_wordcopy_bwd_dest_aligned): Likewise.
29314         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29315         Rewrite to call __memmove_ppc instead of include default
29316         implementation.
29318         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29319         Remove wide chars objects.
29320         [wcsmbs]: New rule for wide char objects.
29322 2015-02-09  Andreas Schwab  <schwab@suse.de>
29324         [BZ #17912]
29325         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29326         in terms of __O_DIRECTORY.
29328 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29330         * time/getdate.c: Include <stdbool.h>.
29331         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29332         call PTR_MANGLE.
29333         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29334         PTR_DEMANGLE.
29336 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
29338         Add ersatz _Static_assert on older C hosts
29339         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29340         pre-C11 C platform that is not known to support _Static_assert.
29342 2015-02-07  Richard Braun  <rbraun@sceen.net>
29344         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29345         sigstate.
29346         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29348 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29350         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29351         priority against unexistent AIO_PRIO_DELTA_MAX.
29352         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29353         instead of int.
29354         * misc/fchflags.c (fchflags): Likewise.
29355         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29356         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29357         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29358         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29359         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29360         Declare macros.
29361         [__USE_MISC] (chflags, fchflags): Declare functions.
29362         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29363         EINVAL when nfds is greater than FD_SETSIZE.
29364         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29365         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29366         45.
29367         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29368         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29369         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29370         MACH_RCV_TIMED_OUT.
29371         * hurd/hurd/signal.h (_hurd_self_sigstate,
29372         _hurd_critical_section_lock, _hurd_critical_section_unlock):
29373         Explicit casts from void *.
29374         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29375         * abi-tags: Rename gnu-gnu os into gnu.
29377         [BZ #4719]
29378         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29379         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29380         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29381         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29382         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29383         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29385         [BZ #17944]
29386         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29387         duplicates ADDR->sun_path with sockaddr LEN limitation.
29388         * sysdeps/mach/hurd/connect.c: Include <string.h>
29389         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29390         * sysdeps/mach/hurd/sendmsg.c: Likewise.
29391         * sysdeps/mach/hurd/sendto.c: Likewise.
29392         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29393         implementing it by hand.
29395 2015-02-06  Roland McGrath  <roland@hack.frob.com>
29397         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29398         Use sfi_breg on ldr.
29399         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29400         Likewise.
29402         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29403         it's defined.
29404         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29405         Test SIGSETXID only if it's defined.
29407         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29409         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29410         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
29412         * nptl/tst-align2.c: Moved ...
29413         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29414         * nptl/Makefile (tests): Remove tst-align2.
29415         * sysdeps/unix/sysv/linux/Makefile
29416         [$(subdir) = nptl] (tests): Add tst-align-clone.
29417         * nptl/tst-getpid1.c: Moved ...
29418         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29419         * nptl/tst-getpid2.c: Moved ...
29420         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29421         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29422         * sysdeps/unix/sysv/linux/Makefile
29423         [$(subdir) = nptl] (tests): ... here.
29424         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29425         * sysdeps/unix/sysv/linux/Makefile
29426         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29428         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29429         Drop trailing \n from perror argument.  Use return rather than exit.
29431         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29432         on [SA_SIGINFO].
29433         * nptl/tst-cancel21.c (do_test): Likewise.
29434         * debug/tst-backtrace6.c: Include <signal.h> first thing.
29435         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29436         [!SA_SIGINFO]: Make it a stub test.
29438         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29439         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29441         * posix/tst-getlogin.c: Move to ...
29442         * login/tst-getlogin.c: ... here.
29443         * posix/Makefile (tests): Move tst-getlogin to ...
29444         * login/Makefile (tests): ... here.
29446         * libio/tst-atime.c (do_test): Move local variables SV and E
29447         inside [ST_NOATIME] conditional.
29449         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29451         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29453         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29454         (wait_code): New function replaces macro.
29455         Call nanosleep rather than syscall.
29457         * nptl/pt-system.c: Rewritten.  Put everything under
29458         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29459         Use IFUNC to redirect when possible.
29461         * nptl/pt-longjmp.c: Rewritten.  Put everything under
29462         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29463         Use IFUNC to redirect when possible.
29465         * nptl/pt-fork.c: Rewritten.  Put everything under
29466         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29467         Use IFUNC to redirect when possible.
29468         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29470         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29471         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29472         unconditionally nowadays.  This included the only reference to
29473         __vdso_clock_gettime that appears outside libc proper.
29474         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29475         Remove version set (containing only __vdso_clock_gettime).
29476         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29477         Add attribute_hidden.
29478         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29479         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29480         libc_hidden_data_def.
29481         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29482         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29484         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29485         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29486         setrpcent, and getrpcport to ...
29487         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29488         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29489         getrpcbynumber_r, and getrpcent_r to ...
29490         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29491         * inet/getrpcbyname.c: Moved ...
29492         * sunrpc/getrpcbyname.c: ... here.
29493         * inet/getrpcbyname_r.c: Moved ...
29494         * sunrpc/getrpcbyname_r.c: ... here.
29495         * inet/getrpcbynumber.c: Moved ...
29496         * sunrpc/getrpcbynumber.c: ... here.
29497         * inet/getrpcbynumber_r.c: Moved ...
29498         * sunrpc/getrpcbynumber_r.c: ... here.
29499         * inet/getrpcent.c: Moved ...
29500         * sunrpc/getrpcent.c: ... here.
29501         * inet/getrpcent_r.c: Moved ...
29502         * sunrpc/getrpcent_r.c: ... here.
29503         * inet/Makefile (routines): Move those to ...
29504         * sunrpc/Makefile (routines): ... here.
29505         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29506         the $(subdirs) list.
29507         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
29508         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29509         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29510         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29512         * elf/Makefile (routines): Include $(all-dl-routines), not just
29513         $(dl-routines).
29514         (rtld-routines): Likewise.  Use = rather than :=.
29515         * sysdeps/aarch64/Makefile [$(subdir) = elf]
29516         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29517         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29518         * sysdeps/arm/Makefile: Likewise.
29519         * sysdeps/i386/Makefile: Likewise.
29520         * sysdeps/x86_64/Makefile: Likewise.
29521         * sysdeps/hppa/Makefile [$(subdir) = elf]
29522         (sysdep_routines, sysdep-rtld-routines): Don't add
29523         $(sysdep-dl-routines) to these.
29524         * sysdeps/ia64/Makefile: Likewise.
29525         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29526         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29527         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29528         Don't add dl-static to these; sysdep-dl-routines alone is enough.
29529         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29530         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29531         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29532         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29533         * sysdeps/powerpc/Makefile [$(subdir) = elf]
29534         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29535         these; sysdep-dl-routines alone is enough.
29537 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
29539         [BZ #17932]
29540         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
29541         where multiplication results in zero and third argument is finite
29542         and nonzero.
29543         * math/auto-libm-test-in: Add more tests of fma.
29544         * math/auto-libm-test-out: Regenerated.
29546         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
29547         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
29548         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
29549         (_FP_CMP_EQ): Likewise.
29550         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
29552         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
29553         extra argument CHECK_NAN.  Redefine as wrapper around
29554         _FP_EXTEND_CNAN.
29556 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
29558         * version.h (RELEASE): Set to "stable".
29559         (VERSION): Set to "2.21"
29560         * include/features.h (__GLIBC_MINOR__): Set to 21.
29562         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
29564 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29565             Paul Eggert  <eggert@cs.ucla.edu>
29567         [BZ #16618]
29568         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
29569         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
29570         size in bytes. Store needed elements in wpmax. Use needed size
29571         in bytes for extend_alloca.
29573 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
29575         * manual/install.texi: Latest tested versions are GCC 4.9.2,
29576         binutls 2.25, and texinfo 5.2.
29577         * INSTALL: Regenerate.
29578         * sysdeps/nios2/configure: Regenerate.
29579         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29580         * manual/contrib.texi: Update.
29581         * po/be.po: Update.
29582         * po/bg.po: Update.
29583         * po/ca.po: Update.
29584         * po/cs.po: Update.
29585         * po/da.po: Update.
29586         * po/de.po: Update.
29587         * po/el.po: Update.
29588         * po/eo.po: Update.
29589         * po/es.po: Update.
29590         * po/fi.po: Update.
29591         * po/fr.po: Update.
29592         * po/gl.po: Update.
29593         * po/hr.po: Update.
29594         * po/hu.po: Update.
29595         * po/ia.po: Update.
29596         * po/id.po: Update.
29597         * po/it.po: Update.
29598         * po/ja.po: Update.
29599         * po/ko.po: Update.
29600         * po/lt.po: Update.
29601         * po/nb.po: Update.
29602         * po/nl.po: Update.
29603         * po/pl.po: Update.
29604         * po/pt_BR.po: Update.
29605         * po/ru.po: Update.
29606         * po/rw.po: Update.
29607         * po/sk.po: Update.
29608         * po/sl.po: Update.
29609         * po/sv.po: Update.
29610         * po/tr.po: Update.
29611         * po/uk.po: Update.
29612         * po/vi.po: Update.
29613         * po/zh_CN.po: Update.
29614         * po/zh_TW.po: Update.
29616         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29617         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29618         * sysdeps/hppa/dl-irel.h: Remove #warning.
29619         * sysdeps/hppa/entry.h: Provide prototype for
29620         __canonicalize_funcptr_for_compare and cast argument.
29621         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29622         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29623         * sysdeps/hppa/sotruss-lib.c: New file.
29624         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29625         (atomic_compare_and_exchange_val_acq): Use __typeof__.
29626         (atomic_compare_and_exchange_bool_acq): Likewise.
29627         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29628         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29630         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29631         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29632         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29634 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
29636         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29637         called function in non-PIC case.
29639 2015-01-31  David S. Miller  <davem@davemloft.net>
29641         * sysdeps/sparc/sparc32/bits/atomic.h
29642         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29643         unlock not after it.
29644         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29645         volatile register usage warnings from the compiler.
29647         * sysdeps/sparc/nptl/sem_init.c: Delete.
29648         * sysdeps/sparc/nptl/sem_post.c: Delete.
29649         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29650         * sysdeps/sparc/nptl/sem_wait.c: Delete.
29651         * sysdeps/sparc/sparc32/sem_init.c: New file.
29652         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29653         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29654         padding explicitly initialized.
29655         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29656         padding for in-semaphore spinlock.
29657         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29658         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29659         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29660         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29661         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29662         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29663         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29664         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29665         version.
29666         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29667         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29669 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
29671         [BZ #17801]
29672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29673         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29674         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29675         New.
29676         (index_AVX_Fast_Unaligned_Load): Likewise.
29677         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29678         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29679         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29680         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29681         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29682         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29683         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29684         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29685         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29687 2015-01-29  Andreas Schwab  <schwab@suse.de>
29689         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29691 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
29693         [BZ #17892]
29694         * nscd/nscd_stat.c (send_stats): Initialize DATA.
29696 2015-01-28  Martin Sebor  <msebor@redhat.com>
29698         * math/README.libm-test: Clarify. Add "How to read the test output."
29700 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
29702         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29703         Define to 0.
29705 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
29707         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29708         (__HAVE_64B_ATOMICS): Define to 0.
29710 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29712         [BZ #17885]
29713         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29714         value to set as new flag.
29716         [BZ #16576]
29717         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29718         and use _ARCH_PPCSQ instead.
29719         (__ieee754_sqrt): Likewise.
29720         (__ieee754_sqrtf): Likewise.
29721         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29722         _ARCH_PPCSQ is defined.
29723         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29724         fsqrt instruction.
29725         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29726         _ARCH_PPCSQ is defined.
29727         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29728         fsqrts instruction.
29729         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29731 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29733         * iconv/loop.c: Suppress array out of bound warning caused by GCC
29734         bug (GCC BZ #64739).
29736 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
29738         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29739         Mark _retval as used.
29740         (lll_futex_wake_unlock): Likewise.
29741         (lll_futex_timed_wait_requeue_pi): Likewise.
29743         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29744         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29745         register variables.
29747         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29748         libm_hidden_def.
29750         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29751         (__bswap_64): Mark as __always_inline.
29753 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
29755         [BZ #15378]
29756         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29757         when none of the search directories exist.
29759 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29761         [BZ #17869]
29762         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29763         power8 in .machine directive.
29765         [BZ #17868]
29766         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29767         set dependency from opd value.
29769 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29772         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29773         architecture.
29775 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29777         [BZ #17870]
29778         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29779         with uint64_t.
29780         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29781         (uint64_t) 1.
29782         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29783         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29784         Replace 1UL with (uint64_t) 1.
29785         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29786         int with uint64_t.
29788 2015-01-23  Roland McGrath  <roland@hack.frob.com>
29790         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29791         (if_freenameindex): Likewise.
29793         * resource/getrlimit64.c: Add missing libc_hidden_def.
29795 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
29797         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29798         __label__.
29799         (_FP_FMA): Likewise.
29800         (_FP_TO_INT_ROUND): Likewise.
29801         (_FP_FROM_INT): Likewise.
29803 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29805         [BZ #16418]
29806         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29807         Make code racy and cancel safe.
29809 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
29811         * sysdeps/arm/unwind-resume.h: Fix copyright year.
29812         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29813         attribution.
29815         * pwd/tst-getpw.c: Rewrite.
29817         [BZ #17702]
29818         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29819         (modules-names): Add moddummy1 and moddummy2.
29820         ($(objpfx)tst-rec-dlopen): Define.
29821         * dlfcn/moddummy1.c: New file.
29822         * dlfcn/moddummy2.c: New file.
29823         * dlfcn/tst-rec-dlopen.c: New file.
29824         * elf/dl-cache.c (_dl_load_cache_lookup):
29825         Return char*. Copy result with alloca/strcpy/strdup.
29826         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29827         returns char*. Free cached. If not saving realname
29828         free cached.
29829         * elf/dl-open.c (dl_open_worker): Do not assert that
29830         _r_debug->r_state is RT_CONSISTENT.
29831         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29832         returns char*.
29834 2015-01-21  Torvald Riegel  <triegel@redhat.com>
29835             Carlos O'Donell  <carlos@redhat.com>
29837         [BZ #12674]
29838         * nptl/sem_waitcommon.c: New file.
29839         * nptl/sem_wait.c: Include sem_waitcommon.c.
29840         (__sem_wait_cleanup, do_futex_wait): Remove.
29841         (__new_sem_wait): Adapt.
29842         (__new_sem_trywait): New function.
29843         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29844         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29845         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29846         (sem_timedwait): Adapt.
29847         * nptl/sem_post.c (__new_sem_post): Adapt.
29848         (futex_wake): New function.
29849         (__old_sem_post): Add release MO fence.
29850         * nptl/sem_open.c (sem_open): Adapt.
29851         * nptl/sem_init.c (__new_sem_init): Adapt.
29852         (futex_private_if_supported): New function.
29853         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29854         (__old_sem_getvalue): Add using previous code.
29855         * sysdeps/nptl/internaltypes.h: Adapt.
29856         * nptl/tst-sem13.c (do_test): Adapt.
29857         * nptl/tst-sem11.c (main): Adapt.
29858         * nptl/sem_trywait.c: Remove.
29859         * nptl/DESIGN-sem.txt: Remove.
29860         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29861         (gen-as-const-headers): Remove structsem.sym.
29862         * nptl/structsem.sym: Remove.
29863         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29864         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29865         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29866         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29867         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29868         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29869         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29870         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29871         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29872         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29873         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29874         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29875         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29876         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29877         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29878         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29879         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29880         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29881         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29882         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29883         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29884         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29886 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
29888         * INSTALL: Regenerated.
29890         * po/libc.pot: Regenerated.
29892 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
29893             Sandra Loosemore  <sandra@codesourcery.com>
29894             Andrew Jenner  <andrew@codesourcery.com>
29895             Joseph Myers  <joseph@codesourcery.com>
29896             Nathan Sidwell  <nathan@codesourcery.com>
29898         * NEWS: Mention new Nios II port.
29899         * sysdeps/nios2/Implies: New file.
29900         * sysdeps/nios2/Makefile: New file.
29901         * sysdeps/nios2/Subdirs: New file.
29902         * sysdeps/nios2/Versions: New file.
29903         * sysdeps/nios2/__longjmp.S: New file.
29904         * sysdeps/nios2/abort-instr.h: New file.
29905         * sysdeps/nios2/backtrace.c: New file.
29906         * sysdeps/nios2/bits/endian.h: New file.
29907         * sysdeps/nios2/bits/fenv.h: New file.
29908         * sysdeps/nios2/bits/link.h: New file.
29909         * sysdeps/nios2/bits/setjmp.h: New file.
29910         * sysdeps/nios2/bsd-_setjmp.S: New file.
29911         * sysdeps/nios2/bsd-setjmp.S: New file.
29912         * sysdeps/nios2/configure: New generated file.
29913         * sysdeps/nios2/configure.ac: New file.
29914         * sysdeps/nios2/crti.S: New file.
29915         * sysdeps/nios2/crtn.S: New file.
29916         * sysdeps/nios2/dl-init.c: New file.
29917         * sysdeps/nios2/dl-machine.h: New file.
29918         * sysdeps/nios2/dl-sysdep.h: New file.
29919         * sysdeps/nios2/dl-tls.h: New file.
29920         * sysdeps/nios2/dl-trampoline.S: New file.
29921         * sysdeps/nios2/gccframe.h: New file.
29922         * sysdeps/nios2/gmp-mparam.h: New file.
29923         * sysdeps/nios2/jmpbuf-offsets.h: New file.
29924         * sysdeps/nios2/jmpbuf-unwind.h: New file.
29925         * sysdeps/nios2/ldsodefs.h: New file.
29926         * sysdeps/nios2/libc-tls.c: New file.
29927         * sysdeps/nios2/libm-test-ulps: New file.
29928         * sysdeps/nios2/machine-gmon.h: New file.
29929         * sysdeps/nios2/math-tests.h: New file.
29930         * sysdeps/nios2/math_private.h: New file.
29931         * sysdeps/nios2/memusage.h: New file.
29932         * sysdeps/nios2/nptl/Makefile: New file.
29933         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29934         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29935         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29936         * sysdeps/nios2/nptl/pthreaddef.h: New file.
29937         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29938         * sysdeps/nios2/nptl/tls.h: New file.
29939         * sysdeps/nios2/preconfigure: New file.
29940         * sysdeps/nios2/s_fma.c: New file.
29941         * sysdeps/nios2/s_fmaf.c: New file.
29942         * sysdeps/nios2/setjmp.S: New file.
29943         * sysdeps/nios2/sfp-machine.h: New file.
29944         * sysdeps/nios2/sotruss-lib.c: New file.
29945         * sysdeps/nios2/stackguard-macros.h: New file.
29946         * sysdeps/nios2/stackinfo.h: New file.
29947         * sysdeps/nios2/start.S: New file.
29948         * sysdeps/nios2/sysdep.h: New file.
29949         * sysdeps/nios2/tls-macros.h: New file.
29950         * sysdeps/nios2/tst-audit.h: New file.
29951         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29952         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29953         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29954         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29955         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29956         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29957         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29958         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29959         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29960         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29961         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29962         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29963         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29964         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29965         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29966         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29967         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29968         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29969         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29970         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29971         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29972         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29973         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29974         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29975         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29976         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29977         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29978         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29979         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29980         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29981         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29982         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29983         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29984         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29985         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29986         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29987         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29988         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29989         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29990         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29991         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29992         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29993         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29994         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29996 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29998         [BZ #17844]
29999         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
30000         (getutent): Use weak_alias in non SHARED case
30001         and default_symbol_version in SHARED case.
30002         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
30003         (getutent_r, pututline): Likewise.
30004         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
30005         (getutid): Likewise.
30006         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
30007         (getutid_r): Likewise.
30008         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
30009         (getutline): Likewise.
30010         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
30011         (getutline_r): Likewise.
30012         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
30013         (updwtmp): Likewise.
30015 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30017         [BZ #17848]
30018         * sysdeps/s390/s390-32/memcmp.S
30019         (memcmp_g5): Rename to __memcmp_g5.
30020         * sysdeps/s390/s390-32/memcpy.S
30021         (memcpy_g5): Rename to __memcpy_g5.
30022         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30023         (memcpy_mvcle) Rename to __memcpy_mvcle.
30024         * sysdeps/s390/s390-32/memset.S
30025         (memset_g5): Rename to __memset_g5.
30026         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30027         (IFUNC_RESOLVE): Prefix ifunc-resolve function
30028         and use prefixed functions.
30029         * sysdeps/s390/s390-32/multiarch/memcmp.S
30030         (memcmp_z196): Rename to __memcmp_z196.
30031         (memcmp_z10): Rename to __memcmp_z10.
30032         (memcmp): Set alias to __memcmp_g5.
30033         (bcmp): Set alias to __memcmp_g5.
30034         * sysdeps/s390/s390-32/multiarch/memcpy.S
30035         (memcpy_z196): Rename to __memcpy_z196.
30036         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30037         (memcpy_z10): Rename to __memcpy_z10.
30038         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30039         (memcpy): Set alias to __memcpy_g5.
30040         * sysdeps/s390/s390-32/multiarch/memset.S
30041         (memset_z196): Rename to __memset_z196.
30042         Jump to __memset_mvcle instead of memset_mvcle.
30043         (memset_z10): Rename to __memset_z10.
30044         Jump to __memset_mvcle instead of memset_mvcle.
30045         (memset_mvcle) Rename to __memset_mvcle.
30046         (memset): Set alias to __memset_g5.
30047         * sysdeps/s390/s390-64/memcmp.S
30048         (memcmp_z900): Rename to __memcmp_z900.
30049         * sysdeps/s390/s390-64/memcpy.S
30050         (memcpy_z900): Rename to __memcpy_z900.
30051         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30052         (memcpy_mvcle) Rename to __memcpy_mvcle.
30053         * sysdeps/s390/s390-64/memset.S
30054         (memset_z900): Rename to __memset_z900.
30055         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30056         (IFUNC_RESOLVE): Prefix ifunc-resolve function
30057         and use prefixed functions.
30058         * sysdeps/s390/s390-64/multiarch/memcmp.S
30059         (memcmp_z196): Rename to __memcmp_z196.
30060         (memcmp_z10): Rename to __memcmp_z10.
30061         (memcmp): Set alias to __memcmp_z900.
30062         (bcmp): Set alias to __memcmp_z900.
30063         * sysdeps/s390/s390-64/multiarch/memcpy.S
30064         (memcpy_z196): Rename to __memcpy_z196.
30065         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30066         (memcpy_z10): Rename to __memcpy_z10.
30067         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30068         (memcpy): Set alias to __memcpy_z900.
30069         * sysdeps/s390/s390-64/multiarch/memset.S
30070         (memset_z196): Rename to __memset_z196.
30071         Jump to __memset_mvcle instead of memset_mvcle.
30072         (memset_z10): Rename to __memset_z10.
30073         Jump to __memset_mvcle instead of memset_mvcle.
30074         (memset_mvcle) Rename to __memset_mvcle.
30075         (memset): Set alias to __memset_z900.
30077 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
30079         [BZ #17748]
30080         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30081         __fesetenv instead of fesetenv.
30083 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30085         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30086         macro.
30088 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30090         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30091         regression on LE.
30093         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30094         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30095         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30096         strncmp-power8 object.
30097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30098         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30099         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30100         * NEWS: Update.
30102 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30103             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30105         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30106         trailing byte check.
30108 2015-01-13  David S. Miller  <davem@davemloft.net>
30110         * include/signal.h (__sigreturn): Guard with __USE_MISC.
30112 2015-01-13  Roland McGrath  <roland@hack.frob.com>
30114         * login/logout.c (logout): Use memset rather than bzero.
30115         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30116         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30117         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30118         (_gethtbyaddr): Likewise.
30119         * locale/programs/simple-hash.c (bcopy): Macro removed.
30121 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30123         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30124         Add strcmp-power8 object.
30125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30126         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30127         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30128         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30129         __strcmp_power8 implementation.
30130         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30131         * NEWS: Update.
30133         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30134         Add strncpy-power8 and stpncpy-power8 objects.
30135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30136         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30137         implementations.
30138         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30139         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30140         __stpncpy_power8 implementation.
30141         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30142         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30143         __strncpy_power8 implementation.
30144         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30145         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30146         * NEWS: Update.
30148         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30149         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30150         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30152         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30153         strncat-power8 object.
30154         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30155         __strcat_power8 implementation.
30156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30157         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30158         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30159         optimized strcat for power8.
30161         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30162         strcpy-power8 and stpcpy-power8 objects.
30163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30164         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30165         implementations.
30166         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30167         multiarch stpcpy implementation for POWER8.
30168         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30169         multiarch strcpy implementation for POWER8.
30170         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30171         __strcpy_power8 function.
30172         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30173         stpcpy for POWER8.
30174         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30175         strcpy for POWER8.
30176         * NEWS: Update.
30178 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
30180         [BZ #16009]
30181         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30182         weights and rules. Use do_xfrm_cached if data fits in cache,
30183         do_xfrm otherwise.  Moved former main loop to...
30184         * (do_xfrm_cached): New function.
30185         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30186         find_idx, find_position and stack_push.
30187         * (find_idx): New function.
30188         * (find_position): Likewise.
30189         * localedata/sort-test.sh: Added test run for do_xfrm.
30190         * localedata/xfrm-test.c (main): Added command line option
30191         -nocache to run the test with strings that are too large for
30192         the STRXFRM cache.
30194 2015-01-13  Torvald Riegel  <triegel@redhat.com>
30196         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30197         variable to lll_futex_wake call, not the value itself.
30199 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
30201         [BZ #17803]
30202         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30203         twom64.  Adjust value to 0x1p-64L.
30204         (__scalblnl): Only return standard underflowing result for K <=
30205         -64 not K <= -63; adjust exponent for underflowing result by 64
30206         not 63.
30207         * math/libm-test.inc (scalbn_test_data): Add more tests.
30208         (scalbln_test_data): Likewise.
30210         [BZ #17834]
30211         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30212         0x1p63L.
30213         (__scalblnl): Get new exponent of adjusted subnormal value from ES
30214         not HX.
30215         * math/libm-test.inc (scalbn_test_data): Add more tests.
30216         (scalbln_test_data): Likewise.
30218 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30219             Stefani Seibold  <stefani@seibold.net>
30221         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30222         (sysdep_routines): Add dl-vdso here, ...
30223         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30224         (sysdep_routines): ... not here.
30225         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30226         fallback when vDSO is not presented.
30227         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30228         Define with libc_hidden_proto/libc_hidden_data_def definitions.
30229         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30230         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30231         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30232         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30233         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30234         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30235         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30236         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30237         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
30238         fallback configurable symbol when vDSO is not available.
30239         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30240         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
30241         be able to redefine fallback symbol when vDSO is not available.
30242         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30243         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30245 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30247         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30248         (TLS_INIT_TP): Add tm_capable initialization.
30249         (TLS_DEFINE_INIT_TP): Likewise.
30250         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30251         TCB.
30252         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30253         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30254         calculation.
30255         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30256         transactoion is lock elision is built and TCB tm_capable is set.
30257         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30259         (INTERNAL_SYSCALL_NCS): Likewise.
30260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30261         (INTERNAL_SYSCALL_NCS): Likewise.
30262         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30264         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30265         for powerpc.
30266         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30267         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30268         and remove it for 32 bits case.
30269         [pthread_rwlock_t] (__rwelision): New field for lock elision.
30270         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30271         initialization.
30272         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30273         Disable lock elision with rdlocks if elision is not available.
30275         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30276         (sysdep_routines): Add lock elision objects.
30277         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30278         [pthread_mutex_t] (__spins): Rework to add lock elision field.
30279         [pthread_mutex_t] (__elision): Add field.
30280         [__PTHREAD_SPINS]: Adjust to init lock elision field.
30281         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30282         elision definitions for powerpc.
30283         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30284         implementation of lock elision for powerpc.
30285         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30286         implementation of timed lock elision for powerpc.
30287         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30288         implementation of trylock with lock elision for powerpc.
30289         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30290         implementaion of unlock for lock elision for powerpc.
30291         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30292         automatic enable lock elision for mutexes.
30293         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30294         transaction execution definitions for powerpc.
30295         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30296         definitions.
30297         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30298         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30299         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30300         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30301         * NEWS: Update.
30303 2015-01-09  Roland McGrath  <roland@hack.frob.com>
30305         * sysdeps/posix/shm-directory.c: Use <> rather than ""
30306         for #include of <shm-directory.h>.
30308 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
30310         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30311         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30313 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
30315         [BZ #17791]
30316         * NEWS: Mention bug fix.
30317         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30318         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30319         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30321 2015-01-09  Torvald Riegel <triegel@redhat.com>
30323         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30325 2015-01-09  Torvald Riegel <triegel@redhat.com>
30327         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30329 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30331         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30332         pointer and cast to uintptr_t.
30334 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30336         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30337         removed.
30338         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30340 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30342         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30343         of 0.
30345 2015-01-08  Roland McGrath  <roland@hack.frob.com>
30347         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30348         <nptl/pthreadP.h> instead.
30349         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30351         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30352         already defined.
30353         [__SIGRTMIN] (init): Function removed.
30354         [__SIGRTMIN] (initialized): Variable removed.
30355         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30356         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30357         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30358         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30359         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30360         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30361         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30362         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30363         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30364         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30365         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30366         * sysdeps/nptl/allocrtsig.c: New file.
30367         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30368         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30369         * sysdeps/generic/testrtsig.h: File removed.
30371         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30372         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30374         * nptl/nptl-init.c (pthread_functions): Conditionalize
30375         .ptr__nptl_setxid initialization on [SIGSETXID].
30377         * sysdeps/nptl/sys/procfs.h: New file.
30378         * nptl_db/Makefile (headers): Add it.
30379         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30381         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30382         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30383         * nptl/pthread_attr_setaffinity.c: Include it.
30384         * nptl/pthread_setattr_default_np.c: Likewise.
30385         * nptl/check-cpuset.h: New file.
30387 2015-01-08  Richard Henderson  <rth@redhat.com>
30389         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30390         (CFLAGS-tst-execstack-prog.c): Likewise.
30391         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30393 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
30394             Sandra Loosemore  <sandra@codesourcery.com>
30395             Andrew Jenner  <andrew@codesourcery.com>
30396             Joseph Myers  <joseph@codesourcery.com>
30397             Nathan Sidwell  <nathan@codesourcery.com>
30399         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30400         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30401         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30402         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30403         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30404         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30405         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30406         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30407         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30408         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30409         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30410         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30411         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30412         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30413         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30414         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30415         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30417 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30419         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30420         timespec struct member in syscall macro.
30421         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30422         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30423         first timeval struct member in syscall macro.
30424         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30426 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
30428         [BZ #17748]
30429         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30430         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30431         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30432         __feupdateenv and define as weak alias of __feupdateenv.  Use
30433         libm_hidden_weak.
30434         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30435         libm_hidden_def.
30436         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30437         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
30438         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30439         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30440         libm_hidden_def.
30441         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30442         __feupdateenv and define as weak alias of __feupdateenv.  Use
30443         libm_hidden_weak.
30444         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30445         libm_hidden_def.
30446         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30447         __feupdateenv and define as weak alias of __feupdateenv.  Use
30448         libm_hidden_weak.
30449         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30450         libm_hidden_def.
30451         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30452         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30453         (__feupdateenv): Likewise.
30454         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30455         __feupdateenv and define as weak alias of __feupdateenv.  Use
30456         libm_hidden_weak.
30457         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30458         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30459         libm_hidden_def.
30460         * sysdeps/tile/math_private.h (__feupdateenv): New inline
30461         function.
30462         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30463         libm_hidden_def.
30464         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30465         __feupdateenv instead of feupdateenv.
30466         (default_libc_feupdateenv_test): Likewise.
30467         (libc_feresetround_ctx): Likewise.
30469 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30471         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30472         prototype.
30474 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
30476         * posix/regcomp.c (parse_bracket_exp): Initialize type to
30477         COLL_SYM in a couple of places to avoid uninitialized variable
30478         wanings on tilegx gcc 4.8.2.
30480 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
30482         * sysdeps/aarch64/strcpy.S: New file.
30483         * sysdeps/aarch64/stpcpy.S: New file.
30484         * NEWS: Updated.
30486 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
30488         * sysdeps/aarch64/strrchr.S: New file.
30489         * NEWS: Updated.
30491 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
30493         [BZ #17658]
30494         * stdlib/setenv.c: Fix memory leak when setting large,
30495         duplicate string.
30497 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
30499         [BZ #17273]
30500         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30501         and tabs from buffer before parsing fstab entry.
30502         * misc/tst-mntent.c (main): Add test for mount entry with
30503         trailing spaces and tabs.
30505 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
30507         [BZ #17748]
30508         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
30509         * math/fesetround.c (fesetround): Rename to __fesetround and
30510         define as weak alias of __fesetround.  Use libm_hidden_weak.
30511         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30512         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30513         * sysdeps/arm/fesetround.c (fesetround): Likewise.
30514         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30515         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30516         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30517         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30518         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30519         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30520         __fesetround_inline.
30521         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30522         __fesetround_inline instead of __fesetround.
30523         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30524         __fesetround and define as weak alias of __fesetround.  Use
30525         libm_hidden_weak.  Call __fesetround_inline instead of
30526         __fesetround.
30527         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30528         __fesetround and define as weak alias of __fesetround.  Use
30529         libm_hidden_weak.
30530         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30531         Likewise.
30532         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30533         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30534         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30535         * sysdeps/tile/math_private.h (__fesetround): New inline function.
30536         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30537         __fesetround and define as weak alias of __fesetround.  Use
30538         libm_hidden_weak.
30539         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30540         __fesetround instead of fesetround.
30541         (default_libc_feholdexcept_setround): Likewise.
30542         (libc_feholdsetround_ctx): Likewise.
30543         (libc_feholdsetround_noex_ctx): Likewise.
30545         [BZ #17748]
30546         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
30547         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
30548         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30549         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30550         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30551         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
30552         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30553         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30554         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30555         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30556         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30557         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30558         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30559         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30560         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
30561         libm_hidden_def.
30562         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
30563         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
30564         Likewise.
30565         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30566         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30567         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30568         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30569         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
30570         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30571         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30572         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
30573         __fesetenv instead of fesetenv.
30574         (libc_feresetround_noex_ctx): Likewise.
30575         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30576         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30577         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
30578         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30579         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30580         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30581         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30582         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30583         (__feupdateenv): Likewise.
30584         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30585         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30586         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30587         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30589 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30591         [BZ #17806]
30592         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30593         addresses have been freed.
30595 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30597         * resolv/res_init.c (__res_vinit): Improve comments about nserv
30598         and nservall.
30600 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
30602         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30603         Clean up check_pf allocation pattern. addresses
30605 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30607         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30608         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30609         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30610         * nptl/pthread_exit.c (__pthread_exit): Likewise.
30611         * nptl/pthread_join.c (pthread_join): Likewise.
30612         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30613         * sysdeps/posix/waitid.c (__waitid): Likewise.
30614         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30615         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30616         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30617         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30618         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30619         Likewise.
30620         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30621         (__libc_pread64): Likewise.
30622         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30623         (__libc_pwrite): Likewise.
30624         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30625         (__libc_pwrite64): Likewsie.
30626         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30627         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30628         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30629         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30630         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30631         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30632         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30634         Likewise.
30635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30636         (__libc_pread64): Likewise.
30637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30638         Likewise.
30639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30640         (__libc_pwrite64): Likewise.
30641         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30642         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30643         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30644         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30645         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30646         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30647         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30648         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30649         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30650         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30651         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30652         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30653         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30654         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30655         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30656         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30657         Likewise.
30659 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30661         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30662         (CFLAGS-test-double.c): Likewise.
30663         (CFLAGS-test-ldouble.c): Likewise.
30664         (CPPFLAGS-test-ifloat.c): Likewise.
30665         (CPPFLAGS-test-idouble.c): Likewise.
30666         (CPPFLAGS-test-ildoubl.c): Likewise.
30667         (CFLAGS-test-test-fenv.c): Remove variable.
30668         (CFLAGS-test-misc.c): Likewise.
30670 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
30672         [BZ #17797]
30673         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30674         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30675         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30676         CLOCKS_PER_SEC == 1000000.
30677         * time/clocktest.c (main): Replace %ld with %jd and cast to
30678         intmax_t.
30680 2015-01-05  Roland McGrath  <roland@hack.frob.com>
30682         * sysdeps/generic/unwind-resume.h: New file.
30683         * sysdeps/gnu/unwind-resume.c: Include it.
30684         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30685         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30686         argument list.
30687         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30688         global rather than static.
30689         (_Unwind_Resume): Update user.
30690         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30691         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
30692         rather than static.  Add __attribute__ ((cold)).
30693         (_Unwind_Resume, __gcc_personality_v0): Update callers.
30694         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30695         * sysdeps/arm/arm-unwind-resume.S: New file.
30696         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30697         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30698         * sysdeps/arm/Makefile [$(subdir) = csu]
30699         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30700         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30701         Add rt-arm-unwind-resume.
30702         [$(subdir) = nptl]
30703         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30704         Add pt-arm-unwind-resume.
30705         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30706         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30708 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30710         [BZ #17748]
30711         * include/fenv.h (__feholdexcept): Declare.  Use
30712         libm_hidden_proto.
30713         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30714         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
30715         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30716         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30717         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30718         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30719         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30720         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30721         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30722         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30723         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30724         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30725         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30726         (feholdexcept): Likewise.
30727         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30728         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30729         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30730         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30731         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30732         __feholdexcept instead of feholdexcept.
30733         (default_libc_feholdexcept_setround): Likewise.
30735 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30737         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30738         to avoid using stl/str to align destination.
30740 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30742         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30744 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30746         [BZ #17796]
30747         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30748         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30749         Define as weak alias not strong alias.
30751 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30753         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30754         bltzal with addiupc.
30755         (RTLD_START): Ditto.
30757 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
30759         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30760         for __vdso_* functions in declarations.
30761         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30762         definitions.
30763         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30764         INTERNAL_VSYSCALL): Use struct return types to check for error.
30766         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30767         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30768         function with cast from llround().
30769         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30770         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30771         Define.
30773 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30775         [BZ #17793]
30776         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30777         Define as weak alias not strong alias.
30779         [BZ #17635]
30780         * ctype/ctype-c99.c: New file.  isblank implementation moved from
30781         ...
30782         * ctype/ctype-extn.c: ... here.
30783         (__isblank_l): Move to ...
30784         * ctype/ctype-c99_l.c: ... here.  New file.
30785         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30786         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30787         Remove variable.
30788         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30789         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30790         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30791         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30792         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30794         [BZ #17777]
30795         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30796         (posix_fadvise64): Define as weak alias not strong alias.
30797         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30798         (posix_fallocate64): Likewise.
30799         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30800         Remove variable.
30801         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30802         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30803         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30804         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30805         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30807 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
30809         [BZ #16191]
30810         * NEWS: Mention bug fix.
30811         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30812         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30813         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30814         (HOST_STACK_END_ADDR): Likewise.
30816 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30818         [BZ #17748]
30819         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
30820         * math/fegetround.c (fegetround): Rename to __fegetround and
30821         define as weak alias of __fegetround.  Use libm_hidden_weak.
30822         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30823         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30824         * sysdeps/arm/fegetround.c (fegetround): Likewise.
30825         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30826         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30827         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30828         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30829         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30830         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30831         Undefine after rather than before function definition; use
30832         parentheses around function name in definition.
30833         (__fegetround): Also undefine macro after function definition.
30834         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30835         __fegetround and define as weak alias of __fegetround.  Use
30836         libm_hidden_weak.  Do not undefine as macro.
30837         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30838         Likewise.
30839         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30840         __fegetround and define as weak alias of __fegetround.  Use
30841         libm_hidden_weak.
30842         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30843         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30844         * sysdeps/tile/math_private.h (__fegetround): New inline function.
30845         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30846         __fegetround and define as weak alias of __fegetround.  Use
30847         libm_hidden_weak.
30848         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30849         __fegetround instead of fegetround.
30851         [BZ #17782]
30852         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30853         Condition macro definition on [__USE_MISC].
30855         [BZ #17781]
30856         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30857         (struct sigaction): Change type of sa_flags field to int.
30859         [BZ #17780]
30860         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30861         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30862         __glibc_reserved0.
30864         * nptl/version.c (banner): Use single year in copyright notice.
30866         * NEWS: Update copyright dates.
30867         * catgets/gencat.c (print_version): Likewise.
30868         * csu/version.c (banner): Likewise.
30869         * debug/catchsegv.sh: Likewise.
30870         * debug/pcprofiledump.c (print_version): Likewise.
30871         * debug/xtrace.sh (do_version): Likewise.
30872         * elf/ldconfig.c (print_version): Likewise.
30873         * elf/ldd.bash.in: Likewise.
30874         * elf/pldd.c (print_version): Likewise.
30875         * elf/sotruss.sh: Likewise.
30876         * elf/sprof.c (print_version): Likewise.
30877         * iconv/iconv_prog.c (print_version): Likewise.
30878         * iconv/iconvconfig.c (print_version): Likewise.
30879         * locale/programs/locale.c (print_version): Likewise.
30880         * locale/programs/localedef.c (print_version): Likewise.
30881         * login/programs/pt_chown.c (print_version): Likewise.
30882         * malloc/memusage.sh (do_version): Likewise.
30883         * malloc/memusagestat.c (print_version): Likewise.
30884         * malloc/mtrace.pl: Likewise.
30885         * manual/libc.texinfo: Likewise.
30886         * nptl/version.c (banner): Likewise.
30887         * nscd/nscd.c (print_version): Likewise.
30888         * nss/getent.c (print_version): Likewise.
30889         * nss/makedb.c (print_version): Likewise.
30890         * posix/getconf.c (main): Likewise.
30891         * scripts/test-installation.pl: Likewise.
30892         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30894 2015-01-02  Will Newton  <will.newton@linaro.org>
30896         * sysdeps/arm/armv7/configure: Removed.
30897         * sysdeps/arm/armv7/configure.ac: Likewise.
30899 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30901         * All files with FSF copyright notices: Update copyright dates
30902         using scripts/update-copyrights.
30903         * intl/plural.c: Regenerated.
30904         * locale/programs/charmap-kw.h: Likewise.
30905         * locale/programs/locfile-kw.h: Likewise.
30907 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30909         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30911 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30913         [BZ #17748]
30914         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30915         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30916         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30917         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30918         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30919         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30920         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30921         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30922         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30923         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30924         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30925         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30926         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30927         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30928         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30929         libm_hidden_def.
30930         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30931         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30932         Likewise.
30933         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30934         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30935         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30936         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30937         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30938         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30939         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30940         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30941         __fegetenv instead of fegetenv.
30942         (libc_feholdsetround_noex_ctx): Likewise.
30944 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30946         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30947         (Elf_MIPS_ABIFlags_v0): New structure.
30948         (EF_MIPS_FP64): Define.
30949         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30950         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30951         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30952         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30953         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30954         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30955         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30956         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30957         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30958         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30959         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30960         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30961         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30962         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30963         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30964         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30965         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30966         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30967         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30968         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30969         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30970         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30971         field.
30972         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30973         EF_MIPS_FP64.
30974         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30975         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30976         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30977         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30978         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30979         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30980         * sysdeps/mips/tst-abi-interlink.c: Likewise.
30981         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30982         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30983         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30984         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30985         record the current FP ABI extension.
30986         (mips-mode-switch): Define to show if kernel headers support mode
30987         switching.
30988         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30989         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30990         supported SYSV ABI version to 3.
30991         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30992         feature.
30994 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30995             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30997         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30998         path.
30999         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
31001 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
31003         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
31004         __fegetround and redefine to call __fegetround.  Remove condition
31005         on [!__NO_MATH_INLINES].
31006         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
31007         function.
31008         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
31009         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31010         Remove macro.
31011         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
31012         instead of <fenv_libc.h>.
31013         (__llrintl): Call fegetround instead of __fegetround.
31014         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
31015         instead of <fenv_libc.h>.
31016         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31017         (__lrintl): Call fegetround instead of __fegetround.
31018         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
31019         instead of <fenv_libc.h>.
31020         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31021         (__rintl): Call fegetround instead of __fegetround.
31023 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31025         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
31026         arrays.
31028 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31030         [BZ #17775]
31031         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31032         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31033         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31035 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31037         * sysdeps/i386/tls-macros.h: Include <features.h>.
31038         (TLS_LE): Use non-PIC version for GCC >= 5.0.
31039         (TLS_IE): Likewise.
31040         (TLS_LD): Likewise.
31041         (TLS_GD): Likewise.
31042         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31043         define for GCC >= 5.0.
31045 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
31047         * math/test-fenv.c (test_single_exception, set_single_exc,
31048         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31049         feexcp_mask_test, feenable_test, fe_single_test): Add
31050         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31051         case where they are not used.
31052         * math/libm-test.inc: Likewise.
31053         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31054         unused in the absence of FP rounding/exception support.
31055         * stdio-common/tst-printf-round.c: Likewise.
31056         * stdlib/tst-strtod-round.c: Likewise.
31057         * stdlib/tst-strtod-underflow.c: Likewise.
31059 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
31061         [BZ #17723]
31062         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31063         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31064         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31065         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31066         libm_hidden_weak.
31067         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31068         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31069         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31070         libm_hidden_def.
31071         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31072         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31073         libm_hidden_weak.
31074         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31075         Likewise.
31076         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31077         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31078         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31079         libm_hidden_weak.
31080         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31081         libm_hidden_def.
31082         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31083         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31084         (__feraiseexcept): Likewise.
31085         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31086         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31087         libm_hidden_weak.
31088         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31089         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31090         libm_hidden_def.
31091         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31092         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31093         Use libm_hidden_def.
31094         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31095         libm_hidden_def.
31096         (feraiseexcept): Define as weak not strong alias.  Use
31097         libm_hidden_weak.
31098         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31099         New inline function.  Factored out of ...
31100         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
31101         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31102         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31103         feraiseexcept.
31104         * math/w_acos.c (__acos): Likewise.
31105         * math/w_asin.c (__asin): Likewise.
31106         * math/w_ilogb.c (__ilogb): Likewise.
31107         * math/w_j0.c (y0): Likewise.
31108         * math/w_j1.c (y1): Likewise.
31109         * math/w_jn.c (yn): Likewise.
31110         * math/w_log.c (__log): Likewise.
31111         * math/w_log10.c (__log10): Likewise.
31112         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31113         * sysdeps/aarch64/fpu/math_private.h
31114         (libc_feupdateenv_test_aarch64): Likewise.
31115         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31116         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31117         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31118         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31119         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31120         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31121         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31122         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31123         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31124         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31126 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31128         [BZ #17732]
31129         * io/test-utime.c (main): Replace %ld with %jd and cast to
31130         intmax_t.
31131         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31132         * nptl/tst-mutex5.c: Include <stdint.h>.
31133         (do_test): Replace %ld with %jd and cast to intmax_t.
31134         * posix/tst-regex.c (run_test): Likewise.
31135         (run_test_backwards): Likewise.
31136         * rt/tst-clock.c: Include <stdint.h>.
31137         (clock_test): Replace %ld with %jd and cast to intmax_t.
31138         * rt/tst-cpuclock1.c: Include <stdint.h>.
31139         (do_test): Replace %lu with %ju and cast to uintmax_t.
31140         * rt/tst-cpuclock2.c: Include <stdint.h>.
31141         (do_test): Replace %lu with %ju and cast to uintmax_t.
31142         * rt/tst-mqueue1.c: Include <stdint.h>.
31143         (check_attrs): Replace %ld with %jd and cast to intmax_t.
31144         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31145         intmax_t.
31146         * rt/tst-mqueue4.c (do_test): Likewise.
31147         * rt/tst-timer4.c: Include <stdint.h>.
31148         (check_ts): Replace %ld with %jd and cast to intmax_t.
31149         (do_test): Likewise.
31150         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31151         and cast to intmax_t.
31152         * sysdeps/pthread/tst-timer.c (main): Likewise.
31153         * time/clocktest.c (main): Likewise.
31154         * time/tst-posixtz.c (do_test): Likewise.
31155         * timezone/tst-timezone.c (main): Likewise.
31157 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31158             H.J. Lu  <hongjiu.lu@intel.com>
31160         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31161         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31162         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31163         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31164         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31165         version if bit_Fast_Unaligned_Load is set.
31166         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31167         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31168         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31169         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31170         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31171         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31172         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31173         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31174         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31175         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31176         to 4.
31177         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31178         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31179         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31180         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31182 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
31184         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31185         instead of #if to avoid a Wundef warning.
31186         * stdlib/tst-limits.c (do_test): Likewise.
31188         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31189         parallel other exception macros.
31190         (fegetenv): Convert from macro to extern inline so that it applies
31191         retroactively to inline functions already seen by the compiler.
31192         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31194         * posix/Makefile (before-compile): Use $(objpfx) for
31195         posix-conf-vars-def.h.
31197 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31199         * posix/getconf.c (main): Use size_t for type of I.
31200         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31201         NSPEC.
31203         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31204         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31205         * posix/posix-envs.def: Likewise.
31206         * sysdeps/posix/sysconf.c: Likewise.
31207         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31208         (specs): Remove array.
31209         * scripts/gen-posix-conf-vars.awk: Support generation of specs
31210         array.
31212         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31213         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31214         (__sysconf): Use CONF_IS_* macros.
31216         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31217         ($(objpfx)posix-conf-vars-def.h): New target.
31218         * posix/posix-conf-vars.list: New file.
31219         * posix/posix-conf-vars.h: New file.
31220         * posix/confstr.c: Include posix-conf-vars.h.
31221         (confstr): Use CONF_IS_* macros.
31222         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
31223         CONF_IS_* macros.
31224         * scripts/gen-posix-conf-vars.awk: New file.
31226 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
31228         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31229         fegetround): Add no-op macros to avoid linknamespace issues.
31231         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31232         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31234         * sysdeps/unix/sysv/linux/tile/sysdep.h
31235         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31236         assembly-specific section to avoid a redefinition warning.
31238         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31239         long before casting to pointer to avoid a cast warning.
31241 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
31243         * sysdeps/tile/tilegx/Implies: New file.
31245 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
31247         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31249 2014-12-23  Florian Weimer  <fweimer@redhat.com>
31251         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31253 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31255         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31256         not define.
31257         * sysdeps/unix/sysv/linux/utimes.c: Do not include
31258         <kernel-features.h>.
31259         (__utimes) [__NR_utimes]: Make code unconditional.
31260         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31261         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31262         (__ASSUME_UTIMES): Do not undefine.
31263         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31264         (__ASSUME_UTIMES): Likewise.
31265         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31266         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31267         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31268         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31270 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31272         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31274 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
31276         [BZ #17747]
31277         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31278         alias to weak alias for j0l, y0l.
31279         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31280         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31282         [BZ #17746]
31283         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31284         conversion.
31286 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31288         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31289         to zero if not already defined.
31291 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31293         [BZ #17724]
31294         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31295         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
31296         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
31297         (char *) casts added.
31298         * sysdeps/ieee754/k_standardf.c: New file.
31299         * sysdeps/ieee754/k_standardl.c: Likewise.
31300         * math/Makefile (libm-support): Remove k_standard.
31301         (libm-calls): Add k_standard.
31303 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31305         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31306         Optimize to avoid an unnecessary FPCR read.
31308 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31310         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31311         Optimize to reduce FPCR/FPSR accesses.
31313 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31315         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31316         Call libc_fetestexcept_aarch64.
31318 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31320         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31321         Call libc_fesetround_aarch64.
31323 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31325         [BZ #17733]
31326         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31327         (__bind): Do not define as weak alias.
31328         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31329         define.
31330         (__getsockname): Do not define as weak alias.
31332 2014-12-22  Will Newton  <will.newton@linaro.org>
31334         * manual/install.texi: Document that we require bison 2.7
31335         or above.
31336         * INSTALL: Regenerate.
31337         * configure.ac: Use AC_CHECK_PROG_VER instead of
31338         AC_PATH_PROG when checking for bison and check for
31339         version 2.7 or above.
31340         * configure: Regenerate.
31342 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
31344         [BZ #17745]
31345         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31346         * sysdeps/tile/ffsll.c (ffsll): To here.
31348         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31350 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31352         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31353         if not defined.
31354         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31355         definition.
31356         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31357         hidden ___tls_get_addr.
31358         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31359         hidden __tls_get_addr.
31360         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31361         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31362         Likewise.
31364 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31366         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31367         _dl_init call.
31369 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31371         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31372         from "call _dl_init@PLT".
31373         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31375 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
31377         * manual/search.texi: (Array Sort Function): Clarify stable sorting
31378         guarantees.
31380 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
31382         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31384 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31386         [BZ #17744]
31387         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31388         strnlen.
31390 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31392         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31393         of multu on MIPSr6.
31394         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31395         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31396         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31397         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31398         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31400 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31402         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31403         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31404         (PTR_SUBU): Use subu for mips32r6/mips64r6.
31405         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31406         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31407         mips32r6/mips64r6.
31408         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31410 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
31412         * string/strncat.c (STRNCAT): Simplify implementation.
31414 2014-12-19  David S. Miller  <davem@davemloft.net>
31416         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31417         access the quad as both a long double and as a series of 4 words.
31419         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31420         link_map->l_info array access.
31422 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31424         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31426         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31427         * math/atest-exp2.c (TIMEOUT): Likewise.
31428         * math/atest-sincos.c (TIMEOUT): Likewise.
31430 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31432         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31433         -Wno-error with -fno-builtin-lround.
31435 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31437         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31438         Contains futex constants and functions moved over from ...
31439         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
31440         <lowlevellock-futex.h>.
31441         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31442         (lll_timedwait_tid): Add comments and parentheses around macro
31443         arguments.
31445 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31447         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31448         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
31449         (__lll_private_flag): Remove.
31450         (lll_futex_wait): Likewise.
31451         (lll_futex_timed_wait): Likewise.
31452         (lll_futex_wake): Likewise.
31453         (lll_futex_requeue): Likewise.
31454         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31455         (__lll_timedwait_tid): Spell out argument names.
31456         (lll_timedwait_tid): Add comments and parentheses around macro
31457         arguments.
31458         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31459         LLL_SHARED and LLL_PRIVATE usable from assembly code.
31461 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31463         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31464         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31465         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31466         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31467         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31468         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31469         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31470         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31471         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31472         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31473         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31474         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31475         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31476         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31477         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31478         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31479         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31480         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31481         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31483 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31485         * sysdeps/x86_64/x32/Makefile: New file.
31487 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31489         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31490         1L with (mp_limb_t) 1.
31492 2014-12-17  Roland McGrath  <roland@hack.frob.com>
31494         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31495         * nptl/libc_pthread_init.c: ... here.
31496         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31497         * nptl/register-atfork.c: ... here.
31499         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31500         Use pthread_sigmask rather than INTERNAL_SYSCALL.
31501         Use assert_perror to check its return value.
31502         (__gai_create_helper_thread): Likewise.
31504         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31506         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31508 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
31510         [BZ #17725]
31511         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31512         __profil_counter.
31513         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31514         Likewise.
31515         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31516         Likewise.
31517         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31518         Likewise.
31519         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31520         (profil_counter): Likewise.
31521         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31522         (profil_counter): Likewise.
31523         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31524         Likewise.
31525         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31526         Likewise.
31527         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31528         (profil_counter): Likewise.
31529         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31530         Likewise.
31531         [!__profil_counter] (profil_counter): Define as weak alias of
31532         __profil_counter.
31533         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31534         (profil_counter): Rename to __profil_counter.
31535         [!__profil_counter] (profil_counter): Define as weak alias of
31536         __profil_counter.
31537         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31538         (profil_counter): Rename to __profil_counter.
31539         [!__profil_counter] (profil_counter): Define as weak alias of
31540         __profil_counter.
31541         * sysdeps/posix/profil.c: Update comment referring to
31542         profil_counter.
31543         (__profil): Use __profil_counter instead of profil_counter.
31544         * sysdeps/posix/sprofil.c (profil_counter): Rename to
31545         __profil_counter.  Use __profil_counter_ushort and
31546         __profil_counter_uint in definitions.
31547         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
31548         instead of profil_counter_uint and profil_counter_ushort.
31550         [BZ #17722]
31551         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
31552         define as weak alias of __inet_makeaddr.
31553         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
31554         as weak alias of __inet_addr.
31555         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
31556         as weak alias of __inet_pton.  Use libc_hidden_weak.
31557         * include/arpa/inet.h (__inet_pton): Declare.  Use
31558         libc_hidden_proto.
31559         (inet_makeaddr): Don't use libc_hidden_proto.
31560         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
31561         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
31562         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
31563         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
31564         Remove variable.
31565         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31566         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31568 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
31570         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
31572 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31574         * stdio-common/bug-vfprintf-nargs.c (do_test):
31575         Cast value to intptr_t to avoid format warning
31576         for usage with PRIdPTR printing macro.
31578 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31580         * libio/tst-widetext.c (do_test):
31581         Use format type %td instead of %Zd for ptrdiff_t
31582         in order to avoid format warning.
31584 2014-12-17  Andreas Schwab  <schwab@suse.de>
31586         * nscd/mem.c (gc): Add size_t cast to match printf format.
31588 2014-12-16  Roland McGrath  <roland@hack.frob.com>
31590         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31591         (init): Apply PTR_MANGLE to pointers before storing them.
31592         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31593         before using them.
31595 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
31597         [BZ #17719]
31598         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31599         define as weak alias of __memrchr.
31600         (__memrchr): Do not define as strong alias of memrchr.
31601         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31602         Remove variable.
31603         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31604         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31605         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31607         [BZ #17717]
31608         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31609         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
31610         (if_indextoname): Rename to __if_indextoname and define as weak
31611         alias of __if_indextoname.  Use libc_hidden_weak.
31612         (if_freenameindex): Rename to __if_freenameindex and define as
31613         weak alias of __if_freenameindex.
31614         (if_nameindex): Rename to __if_nameindex and define as weak alias
31615         of __if_nameindex.
31616         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31617         __if_nametoindex and define as weak alias of __if_nametoindex.
31618         Use libc_hidden_weak.
31619         (if_freenameindex): Rename to __if_freenameindex and define as
31620         weak alias of __if_freenameindex.
31621         (if_nameindex): Rename to __if_nameindex and define as weak alias
31622         of __if_nameindex.
31623         (if_indextoname): Rename to __if_indextoname and define as weak
31624         alias of __if_indextoname.  Use libc_hidden_weak.
31625         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31626         __if_nametoindex and define as weak alias of __if_nametoindex.
31627         Use libc_hidden_weak.
31628         (if_freenameindex): Rename to __if_freenameindex and define as
31629         weak alias of __if_freenameindex.  Use libc_hidden_weak.
31630         (if_nameindex_netlink): Use __if_freenameindex instead of
31631         if_freenameindex.
31632         (if_nameindex): Rename to __if_nameindex and define as weak alias
31633         of __if_nameindex.  Use libc_hidden_weak.
31634         (if_indextoname): Rename to __if_indextoname and define as weak
31635         alias of __if_indextoname.  Use libc_hidden_weak.
31636         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31637         libc_hidden_proto.
31638         [!_ISOMAC] (__if_freenameindex): Likewise.
31639         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31640         if_nametoindex.
31641         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31642         variable.
31643         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31644         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31645         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31646         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31647         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31648         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31649         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31651         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31652         Remove variable.
31653         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31654         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31656 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31658         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31659         subscript above bounds'
31661         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31662         bounds.
31664 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
31666         * libio/tst-fopenloc.c: Use test-skeleton.c.
31668         * stdlib/tst-bsearch.c: Use test-skeleton.c.
31669         (entry): Rename to ITEM.
31670         (do_test, comp): Adjust.
31672         * stdio-common/tst-fseek.c: Use test-skeleton.c.
31674 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31676         * string/tester.c: Include <libc-internal.h>.
31677         (test_memset): Ignore -Wmemset-transposed-args.
31679 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31681         * misc/tst-mntent2.c (do_test): Fix warning.
31683 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31685         * elf/tst-unique4lib.cc(a): Mark as used.
31687 2014-12-16  Florian Weimer  <fweimer@redhat.com>
31689         [BZ #17630]
31690         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31691         names.
31693 2014-12-16  Allan McRae  <allan@archlinux.org>
31695         * stdio-common/Makefile (tests): Re-add bug26.
31697 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
31699         [BZ #17657]
31700         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31701         static array.
31703 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
31705         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31706         (__lll_lock_wait): Likewise.
31707         (__lll_timedlock_wait): Likewise.
31708         (__lll_timedwait_tid): Likewise.
31709         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31710         (__lll_robust_timedlock_wait): Likewise.
31711         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31712         (lll_cond_trylock): Likewise.
31713         (__lll_lock): Likewise.
31714         (__lll_robust_lock): Likewise.
31715         (__lll_cond_lock): Likewise.
31716         (lll_robust_cond_lock): Likewise.
31717         (__lll_timedlock): Likewise.
31718         (__lll_robust_timedlock): Likewise.
31719         (__lll_unlock): Likewise.
31720         (__lll_robust_unlock): Likewise.
31721         (lll_wait_tid): Likewise.
31722         (lll_timedwait_tid): Likewise.
31724 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31726         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31728 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31730         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31732 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31734         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31735         * stdio-common/tst-sprintf.c: Likewise.
31737 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31739         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31741 2014-12-15  Jeff Law  <law@redhat.com>
31743         [BZ #16617]
31744         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31745         on the heap.  (CVE-2012-3406)
31746         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31747         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
31748         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31750 2014-12-15  Will Newton  <will.newton@linaro.org>
31752         * manual/install.texi: Bump required version of texinfo
31753         to 4.7 from 4.5.
31754         * INSTALL: Regenerated.
31755         * configure.ac: Check for makeinfo version 4.7 and above.
31756         * configure: Regenerated.
31758 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31760         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31761         PREFIX, string constant to insert between directory and name.
31762         * sysdeps/posix/shm_open.c: Update caller.
31763         * sysdeps/posix/shm_unlink.c: Likewise.
31764         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31765         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31766         (SEM_SHM_PREFIX): New macro.
31767         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31768         [$(have-thread-library) = no].
31769         * nptl/Makefile (libpthread-routines): Add shm-directory.
31770         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31771         * sysdeps/nptl/shm-directory.h: New file.
31772         * sysdeps/posix/shm-directory.c
31773         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31774         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31775         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31776         INTERNAL_SYSCALL.
31777         (__where_is_shmfs): Function removed.
31778         (mountpoint, defaultmount, defaultdir, __namedsem_once):
31779         Variables removed.
31780         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31781         Use SHM_GET_NAME.
31782         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
31784         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31785         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31786         unconditional for use inside libpthread.
31787         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31789 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31791         * nptl/pthread_getaffinity.c: New file.
31792         * nptl/pthread_setaffinity.c: New file.
31793         * nptl/pthread_getname.c: New file.
31794         * nptl/pthread_setname.c: New file.
31796         * nptl/pthread_create.c (START_THREAD_DEFN)
31797         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31799 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31800             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31802         * resolv/res_send.c (send_vc): Disable warning resplen may
31803         be used uninitialized.
31805 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31807         * nptl/tst-mutex6.c
31808         (ATTR_NULL): New define checks ATTR against NULL.
31809         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31810         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31812 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
31814         [BZ #17581]
31815         * malloc/hooks.c
31816         (mem2mem_check): Revert my previous change.
31817         (malloc_check_get_size): Revert my previous change.
31818         (mem2chunk_check): Revert my previous change.
31820 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31822         * sysdeps/posix/shm-directory.c: New file.
31823         * sysdeps/posix/shm-directory.h: New file.
31824         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31825         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31826         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
31827         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31828         Transmute EPERM to EACCES.
31829         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31830         from ...
31831         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
31832         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31834 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31836         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31837         pointer and cast to uintptr_t.
31838         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31839         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31840         Add cast to avoid warning.
31841         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31843 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31845         * nptl/semaphore.h: Move to ...
31846         * sysdeps/pthread/semaphore.h: ... here.
31847         * Makefile (installed-headers): Change nptl/semaphore.h to
31848         sysdeps/pthread/semaphore.h.
31850 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31852         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31853         generated error format strings.
31855         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31856         -Wformat-extra-args warnings for scanf formats.
31857         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31858         test of zero-length format (duh).
31859         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31860         corner-case scanf format test.
31861         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31862         generated fprintf format string.
31863         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31864         corner-case sprintf format tests.
31865         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31866         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31867         -Wformat-extra-args warnings throughout.
31868         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31869         (CFLAGS-scanf4.c): Likewise.
31870         (CFLAGS-scanf7.c): Likewise.
31871         (CFLAGS-tst-sprintf.c): Likewise.
31872         (CFLAGS-tst-printf.c): Likewise.
31873         (CFLAGS-tst-printfsz.c): Likewise.
31875 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31877         * include/cpio.h: New file.
31878         * include/fmtmsg.h: Likewise.
31880         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
31881         corresponding format argument to size_t.
31882         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
31883         arguments.
31884         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
31885         corresponding format argument to size_t.
31886         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
31887         arguments.
31888         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
31889         corresponding format argument to size_t.
31890         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31891         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31892         (CFLAGS-tst-mbswcs2.c): Likewise.
31893         (CFLAGS-tst-mbswcs3.c): Likewise.
31894         (CFLAGS-tst-mbswcs4.c): Likewise.
31895         (CFLAGS-tst-mbswcs5.c): Likewise.
31896         (CFLAGS-tst-trans.c): Likewise.
31898 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31900         * posix/regexbug1.c (main): Use "%s" format with regerror results,
31901         rather than assuming they won't contain any '%'s.
31903 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
31905         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31906         inhibit_loop_to_libcall to avoid recursive calls.
31907         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31908         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31910 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31912         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31913         prototype.
31915 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31917         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31918         integer value instead of boolean.
31920 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31922         * malloc/malloc.c: Fix powerof2 check.
31924 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31926         * locale/programs/locfile.h (maybe_swap_uint32):
31927         Remove inline and add unused attribute.
31929 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31931         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31932         Truncating assembler expression to a .long expression.
31934 2014-12-11  Andreas Schwab  <schwab@suse.de>
31936         * elf/rtld.c (struct map_args): Constify str member.
31937         (do_preload): Constify fname argument.
31939 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31941         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31942         constants definition.
31944 2014-12-11  Andreas Schwab  <schwab@suse.de>
31946         [BZ #16657]
31947         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31948         FORCE_ELISION instead of DO_ELISION.
31949         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31950         Remove.
31951         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31952         Likewise.
31954         * iconvdata/gconv-modules: Remove duplicate entry.
31956 2014-12-11  Will Newton  <will.newton@linaro.org>
31958         Merge gettext 0.19.3 into intl/.
31960         This involves a number of cosmetic changes to comments
31961         and ANSI function definitions and prototypes throughout
31962         all the files. The gettext copyright header is used but
31963         with the date ranges taken from the glibc copy.
31965         * NEWS: Add gettext merge to 2.21.
31966         * intl/bindtextdom.c: Switch to gettext copyright.
31967         Use ANSI definitions and prototypes.
31968         Use gl_* locking primitives rather than __libc_* ones.
31969         Use __builtin_expect rather than __glibc_likely/unlikely.
31970         * intl/dcgettext.c: Switch to gettext copyright.
31971         Use ANSI definitions and prototypes.
31972         * intl/dcigettext.c: Switch to gettext copyright.
31973         Use ANSI definitions and prototypes.
31974         (INTDIV0_RAISES_SIGFPE): New define.
31975         Use gl_* locking primitives rather than __libc_* ones.
31976         Include eval-plural.h instead of plural-eval.c.
31977         Use __builtin_expect rather than __glibc_likely/unlikely.
31978         * intl/dcngettext.c: Switch to gettext copyright.
31979         Use ANSI definitions and prototypes.
31980         * intl/dgettext.c: Likewise.
31981         * intl/dngettext.c: Likewise.
31982         * intl/plural-eval.c: Renamed to...
31983         * intl/eval-plural.h: ...this.
31984         * intl/explodename.c: Switch to gettext copyright.
31985         Use ANSI definitions and prototypes.
31986         (_nl_explode_name): Use strchr instead of __rawmemchr.
31987         * intl/finddomain.c: Switch to gettext copyright.
31988         Use ANSI definitions and prototypes.
31989         Use gl_* locking primitives rather than __libc_* ones.
31990         (_nl_find_domain): Use malloc rather than alloca for
31991         allocation of temporary locale name.
31992         * intl/gettext.c: Switch to gettext copyright.
31993         Use ANSI definitions and prototypes.
31994         * intl/gettextP.h: Switch to gettext copyright.
31995         Use ANSI definitions and prototypes.
31996         Use gl_* locking primitives rather than __libc_* ones.
31997         * intl/gmo.h: Switch to gettext copyright.
31998         (struct sysdep_string): Move struct segment_pair outside of
31999         struct definition.
32000         * intl/hash-string.c: Use ANSI definitions and prototypes.
32001         * intl/hash-string.h: Switch to gettext copyright.
32002         Use ANSI definitions and prototypes.
32003         * intl/l10nflist.c: Switch to gettext copyright.
32004         Use ANSI definitions and prototypes.
32005         (_nl_normalize_codeset): Avoid integer overflow.
32006         * intl/loadinfo.h: Switch to gettext copyright.
32007         Use ANSI definitions and prototypes.
32008         (LIBINTL_DLL_EXPORTED): New define.
32009         (PATH_SEPARATOR): New define.
32010         * intl/loadmsgcat.c: Switch to gettext copyright.
32011         * intl/localealias.c: Switch to gettext copyright.
32012         Use ANSI definitions and prototypes.
32013         (_nl_expand_alias): Use PATH_SEPARATOR.
32014         * intl/ngettext.c: Switch to gettext copyright.
32015         Use ANSI definitions and prototypes.
32016         * intl/plural-exp.c: Likewise.
32017         * intl/plural-exp.h: Switch to gettext copyright.
32018         Use ANSI definitions and prototypes.
32019         (struct expression): Move definition of enum operator outside
32020         of struct definition.
32021         * intl/plural.c: Regenerate.
32022         * intl/plural.y: Switch to gettext copyright.
32023         Use ANSI definitions and prototypes.
32024         Port to bison 3.0.
32025         * intl/textdomain.c: Switch to gettext copyright.
32026         Use ANSI definitions and prototypes.
32027         Use gl_* locking primitives rather than __libc_* ones.
32029 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
32031         * debug/warning-nop.c: Add used atrribute.
32033 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32035         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32037         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32038         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32039         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32041 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32042             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32044         [BZ #17634]
32045         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32046         Undefine after defining function.  Define as weak alias of
32047         __wcschr.  Use libc_hidden_weak.
32048         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
32049         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32050         (libc_hidden_def): Also define __GI___wcschr alias.
32051         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32052         __wcschr and define as weak alias of __wcschr.
32053         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32054         __wcschr.
32055         [!WCSCHR] (DEFAULT_WCSCHR): Define.
32056         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32057         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
32058         libc_hidden_weak.  Do not use libc_hidden_def.
32059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32060         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32061         __GI___wcschr alias.
32062         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32063         [IS_IN (libc)] (wcschr): Define as macro expanding to
32064         __redirect_wcschr.
32065         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32066         [IS_IN (libc)] (__wcschr_power6): Likewise.
32067         [IS_IN (libc)] (__wcschr_power7): Likewise.
32068         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
32069         instead of wcschr.
32070         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32071         __libc_wcschr.
32072         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32073         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32074         __wcschr and define as weak alias of __wcschr.  Use
32075         libc_hidden_builtin_def.
32076         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32077         as weak alias of __wcschr.  Use libc_hidden_weak.
32078         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32079         wcschr.
32080         * time/era.c (_nl_init_era_entries): Likewise.
32081         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32082         variable.
32083         (test-xfail-XPG3/time.h/linknamespace): Likewise.
32084         (test-xfail-XPG4/time.h/linknamespace): Likewise.
32086 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32088         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32089         format for long int variable.
32091 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
32093         [BZ #10672]
32094         * manual/search.texi: (Array Sort Function): Remove claim how to make
32095         qsort stable.
32097 2014-12-10  Andreas Schwab  <schwab@suse.de>
32099         [BZ #12847]
32100         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32101         user-controlled locks.
32103 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
32105         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32106         register.
32108 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32110         * configure.ac (--disable-werror): New configure option.
32111         (enable_werror): New AC_SUBST.
32112         * configure: Regenerated.
32113         * config.make.in (enable-werror): New variable.
32114         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32115         -Wno-error=undef.
32116         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32117         * manual/install.texi (Configuring and compiling): Document
32118         --disable-werror.
32119         * INSTALL: Regenerated.
32120         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32121         (CFLAGS-tst-chk2.c): Likewise.
32122         (CFLAGS-tst-chk3.c): Likewise.
32123         (CFLAGS-tst-chk4.cc): Likewise.
32124         (CFLAGS-tst-chk5.cc): Likewise.
32125         (CFLAGS-tst-chk6.cc): Likewise.
32126         (CFLAGS-tst-lfschk1.c): Likewise.
32127         (CFLAGS-tst-lfschk2.c): Likewise.
32128         (CFLAGS-tst-lfschk3.c): Likewise.
32129         (CFLAGS-tst-lfschk4.cc): Likewise.
32130         (CFLAGS-tst-lfschk5.cc): Likewise.
32131         (CFLAGS-tst-lfschk6.cc): Likewise.
32133         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32134         (main): Disable -Wdeprecated-declarations around calls to
32135         register_printf_function.
32137         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32138         (do_test): Disable -Wdiv-by-zero around some calls to
32139         fwrite_unlocked and fread_unlocked.
32141         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32142         (DIAG_POP_NEEDS_COMMENT): Likewise.
32143         (_DIAG_STR1): Likewise.
32144         (_DIAG_STR): Likewise.
32145         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32146         * stdio-common/bug21.c: Include <libc-internal.h>.
32147         (do_test): Disable -Wformat around call to sscanf.
32148         * stdio-common/scanf14.c: Include <libc-internal.h>.
32149         (main): Disable -Wformat around some calls to scanf functions.
32151 2014-12-09  Torvald Riegel  <triegel@redhat.com>
32153         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32155 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32157         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32158         stack variable alignment.
32160 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
32162         [BZ #17682]
32163         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32164         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32165         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32166         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32167         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32168         __getrlimit instead of getrlimit.
32169         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32170         __gettimeofday instead of gettimeofday.
32171         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32172         Likewise.
32173         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32174         Likewise.
32175         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32176         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32177         Remove variable.
32178         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32179         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32181 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32183         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32184         for wide-character tests.
32186 2014-12-04  Roland McGrath  <roland@hack.frob.com>
32188         * io/openat64.c: #include <libc-internal.h>
32189         (__openat64): Prototypify.  Use ignore_value on MODE.
32190         * io/openat.c: Likewise.
32191         * misc/reboot.c: #include <libc-internal.h>
32192         (reboot): Prototypify.  Use ignore_value on HOWTO.
32193         * misc/ptrace.c: #include <libc-internal.h>
32194         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
32196 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
32198         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32199         XPG4, UNIX98 and XOPEN2K.
32200         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32201         Remove variable.
32202         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32204 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32206         * libio/fileops.c: Use ISO C style for function definitions.
32207         * libio/iofopen.c: Likewise.
32208         * libio/wfileops.c: Likewise.
32210         [BZ #17653]
32211         * libio/fileops.c (_IO_new_file_underflow): Unset cached
32212         offset on EOF.
32213         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32214         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32215         (fgets_func): Function pointer to fgets and fgetws.
32216         (do_ftell_test): Add test to verify ftell value after read
32217         EOF.
32218         (do_test): Set fgets_func.
32220         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32221         O_TRUNC flag for w and w+ modes.
32222         (do_rewind_test): Likewise.
32223         (do_ftell_test): Likewise.
32224         (do_write_test): Likewise.
32226         [BZ #17647]
32227         * libio/fileops.c (do_ftell): Seek only when there are
32228         unflushed writes.
32229         * libio/wfileops.c (do_ftell_wide): Likewise.
32230         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32231         test case.
32232         (do_one_test): Call it.
32234 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
32236         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32237         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32238         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32239         Remove variable.
32240         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32241         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32242         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32244 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32246         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32247         Remove variable.
32248         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32250         [BZ #17668]
32251         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32252         as weak alias of __getifaddrs.  Use libc_hidden_weak.
32253         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32254         __freeifaddrs.  Use libc_hidden_weak.
32255         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32256         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
32257         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32258         __freeifaddrs.  Use libc_hidden_weak.
32259         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32260         __getifaddrs and define as weak alias of __getifaddrs.  Use
32261         libc_hidden_weak.
32262         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32263         __freeifaddrs.  Use libc_hidden_weak.
32264         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32265         Remove variable.
32266         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32267         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32269 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32271         [BZ #17601]
32272         * sysdeps/mips/start.S (__start): Use indirect jump to call
32273         __libc_start_main.
32275 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32277         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32279         * nptl/tst-mutex1.c: Include <stdbool.h>.
32280         [!ATTR] (ATTR_NULL): New macro.
32281         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32282         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32283         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32285         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32286         to char *.
32288         [BZ #17665]
32289         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32290         Change conditional to [__USE_MISC].
32292         [BZ #17664]
32293         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32294         fgets_unlocked.
32295         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32296         __fgets_unlocked.
32297         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32298         fgets_unlocked.
32299         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32300         Remove variable.
32301         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32302         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32303         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32304         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32305         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32306         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32307         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32308         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32309         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32311         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32313 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32315         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32316         Remove strpbrk objects.
32317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32318         (__libc_ifunc_impl_list): Remove strpbrk implementation.
32319         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32320         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32321         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32322         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32324         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32325         Remove strcspn objects.
32326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32327         (__libc_ifunc_impl_list): Remove strcspn implementation.
32328         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32329         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32330         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32331         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32333         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32334         Remove strspn objetcs.
32335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32336         (__libc_ifunc_impl_list): Remove strspn implementation.
32337         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32338         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32339         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32340         * sysdeps/powerpc/powerpc64/strspn.S: New file.
32342 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
32344         [BZ #17581]
32345         * malloc/hooks.c
32346         (mem2mem_check): Add a terminator to the chain of checking blocks.
32347         (malloc_check_get_size): Use it here.
32348         (mem2chunk_check): Ditto.
32350 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32352         * sysdeps/powerpc/powerpc64/strtok.S: New file.
32353         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32355 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
32357         * bits/ioctl-types.h: Indent preprocessor directives correctly.
32359         * nptl/nptl-init.c: Include libc-internal.h.
32360         (__pthread_initialize_minimal_internal): Use ROUND_UP.
32362         * elf/ldconfig.c (search_dir): Expand comment.
32364 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
32366         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32367         variable.
32368         (linknamespace-symlist-stdlibs-tests): Likewise.
32369         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32370         instead of $(objpfx)symlist-stdlibs.
32371         (linknamespace-libs-isoc): New variable.
32372         (linknamespace-libs): Use $(linknamespace-libs-isoc).
32373         (linknamespace-libs-ISO): New variable.
32374         (linknamespace-libs-ISO99): Likewise.
32375         (linknamespace-libs-ISO11): Likewise.
32376         (linknamespace-libs-XPG3): Likewise.
32377         (linknamespace-libs-XPG4): Likewise.
32378         (linknamespace-libs-POSIX): Likewise.
32379         (linknamespace-libs-UNIX98): Likewise.
32380         (linknamespace-libs-XOPEN2K): Likewise.
32381         (linknamespace-libs-POSIX2008): Likewise.
32382         (linknamespace-libs-XOPEN2K8): Likewise.
32383         ($(objpfx)symlist-stdlibs): Replace by
32384         $(linknamespace-symlist-stdlibs-tests).  Use
32385         $(linknamespace-libs-$*) as set of libraries.
32386         ($(linknamespace-header-tests)): Update dependencies.  Use
32387         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32388         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32389         * conform/linknamespace.pl: Remove comment about considering
32390         definitions of symbols from irrelevant libraries.
32392 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
32394         [BZ #13862]
32395         * elf/dl-tls.c: Include <atomic.h>.
32396         (oom): Remove #ifdef SHARED/#endif.
32397         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32398         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
32399         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32400         big enough.
32401         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32402         * nptl/Makefile (tests): Add tst-stack4.
32403         (modules-names): Add tst-stack4mod.
32404         ($(objpfx)tst-stack4): New.
32405         (tst-stack4mod.sos): Likewise.
32406         ($(objpfx)tst-stack4.out): Likewise.
32407         ($(tst-stack4mod.sos)): Likewise.
32408         (clean): Likewise.
32409         * nptl/tst-stack4.c: New file.
32410         * nptl/tst-stack4mod.c: Likewise.
32412 2014-11-27  J. Brown  <jb999@gmx.de>
32414         * sysdeps/x86/bits/string.h: Add recent CPUs.
32416 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32418         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32419         sigblock.
32421         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32422         feof.
32424         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32425         variable.
32427 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
32429         * nscd/connections.c: Include libc-internal.h because of macro
32430         usage ignore_value.
32432 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32434         * string/bits/string3.h (__warn_memset_zero_len): Don't
32435         declare for gcc newer than 5.0.
32436         (memset): Don't test for zero-length __LEN for gcc newer than
32437         5.0.
32439 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32441         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32442         size_t for %zu format.
32444         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32445         difference, not %ju.
32447 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32449         * include/libc-internal.h (ignore_value): New macro.
32450         * nscd/connections.c (restart): Wrap calls to setuid and setgid
32451         with ignore_value.
32453         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32454         definition.
32456         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32457         pthread_cleanup_push to void *.
32459         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32460         Undefine.
32462         [BZ #16619]
32463         [BZ #16740]
32464         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32465         instead of 1L << 52.
32467         * libio/bug-rewind.c (do_test): Check fwscanf return values.
32468         * libio/bug-rewind2.c (do_test): Likewise.
32470         * debug/test-stpcpy_chk-ifunc.c: Remove file.
32471         * debug/test-strcpy_chk-ifunc.c: Likewise.
32472         * wcsmbs/test-wcschr-ifunc.c: Likewise.
32473         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32474         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32475         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32476         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32477         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32478         * Rules [$(multi-arch) = no] (tests): Do not filter out
32479         $(tests-ifunc).
32480         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32481         * debug/Makefile (tests-ifunc): Remove variable.
32482         (tests): Do not add $(tests-ifunc).
32483         * wcsmbs/Makefile (tests-ifunc): Remove variable.
32484         (tests): Do not add $(tests-ifunc).
32485         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32486         [TEST_IFUNC]: Remove conditionals.
32487         * string/test-string.h (TEST_IFUNC): Remove macro.
32488         [TEST_IFUNC]: Remove conditionals.
32490         * string/test-strchr.c [!WIDE] (L): New macro.
32491         [WIDE] (L): Likewise.
32492         (check1): Use CHAR instead of char.  Use L on string and character
32493         constants.
32495 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
32497         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32498         tests.
32499         * sysdeps/powerpc/bits/atomic.h
32500         (__arch_atomic_exchange_and_add_32_acq): Add definition.
32501         (__arch_atomic_exchange_and_add_32_rel): Likewise.
32502         (atomic_exchange_and_add_acq): Likewise.
32503         (atomic_exchange_and_add_rel): Likewise.
32504         * sysdeps/powerpc/powerpc32/bits/atomic.h
32505         (__arch_atomic_exchange_and_add_64_acq): Add definition.
32506         (__arch_atomic_exchange_and_add_64_rel): Likewise.
32507         * sysdeps/powerpc/powerpc64/bits/atomic.h
32508         (__arch_atomic_exchange_and_add_64_acq): Add definition.
32509         (__arch_atomic_exchange_and_add_64_rel): Likewise.
32511 2014-11-26  Torvald Riegel  <triegel@redhat.com>
32513         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32514         Change synchronization of __sched_fifo_min_prio and
32515         __sched_fifo_max_prio.
32516         * nptl/pthread_mutexattr_getprioceiling.c
32517         (pthread_mutexattr_getprioceiling): Likewise.
32518         * nptl/pthread_mutexattr_setprioceiling.c
32519         (pthread_mutexattr_setprioceiling): Likewise.
32520         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32521         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32522         Likewise.
32524 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32526         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32527         void.
32529 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
32531         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32532         third argument const.
32534 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
32536         fnmatch: work around GCC compiler warning bug with uninit var
32537         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32538         This works around a bug with x86-64 GCC 4.9.2 and earlier
32539         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32540         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
32541         used uninitialized in this function [-Wmaybe-uninitialized]".
32543 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
32545         * posix/bug-regex31.c (main): Return RES not 0.
32547 2014-11-25  Anton Blanchard <anton@samba.org>
32549         * sysdeps/powerpc/bits/atomic.h
32550         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
32552 2014-11-24  Sterling Augustine  <saugustine@google.com>
32554         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
32556 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
32558         [BZ #17608]
32559         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
32561 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
32563         [BZ #17633]
32564         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32565         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
32566         variable.
32567         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32568         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32570 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
32572         * string/strncpy.c (strncpy): Improve performance by using memset.
32574 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
32576         * string/strcpy.c (strcpy):
32577         Improve performance by using strlen and memcpy.
32579 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
32581         * string/strcoll_l.c (get_next_seq): __always_inline.
32582         * string/strcoll_l.c (do_compare): __always_inline.
32584 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32586         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32587         defined.
32588         * include/mqueue.h: Likewise.
32589         * include/stdlib.h: Likewise.
32591         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32592         (get_null_defines): Adjust.
32593         * sunrpc/Makefile: Adjust comment.
32594         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32595         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32596         (CFLAGS-interp.c): Likewise.
32597         (CFLAGS-ldconfig.c): Likewise.
32598         (CPPFLAGS-.os): Likewise.
32599         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32600         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32601         * extra-modules.mk (extra-modules.mk): Likewise.
32602         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32603         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32604         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32605         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32606         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32607         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32608         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32609         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32610         * iconvdata/Makefile (CPPFLAGS): Likewise.
32611         (cpp-srcs-left): Add libof for all iconvdata routines.
32612         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32613         * include/assert.h: Likewise.
32614         * include/ctype.h: Likewise.
32615         * include/errno.h: Likewise.
32616         * include/libc-symbols.h: Likewise.
32617         * include/math.h: Likewise.
32618         * include/netdb.h: Likewise.
32619         * include/resolv.h: Likewise.
32620         * include/stdio.h: Likewise.
32621         * include/stdlib.h: Likewise.
32622         * include/string.h: Likewise.
32623         * include/sys/stat.h: Likewise.
32624         * include/wctype.h: Likewise.
32625         * intl/l10nflist.c: Likewise.
32626         * libidn/idn-stub.c: Likewise.
32627         * libio/libioP.h: Likewise.
32628         * nptl/libc_multiple_threads.c: Likewise.
32629         * nptl/pthreadP.h: Likewise.
32630         * posix/regex_internal.h: Likewise.
32631         * resolv/res_hconf.c: Likewise.
32632         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32633         * sysdeps/arm/memmove.S: Likewise.
32634         * sysdeps/arm/sysdep.h: Likewise.
32635         * sysdeps/generic/_itoa.h: Likewise.
32636         * sysdeps/generic/symbol-hacks.h: Likewise.
32637         * sysdeps/gnu/errlist.awk: Likewise.
32638         * sysdeps/gnu/errlist.c: Likewise.
32639         * sysdeps/i386/i586/memcpy.S: Likewise.
32640         * sysdeps/i386/i586/memset.S: Likewise.
32641         * sysdeps/i386/i686/memcpy.S: Likewise.
32642         * sysdeps/i386/i686/memmove.S: Likewise.
32643         * sysdeps/i386/i686/mempcpy.S: Likewise.
32644         * sysdeps/i386/i686/memset.S: Likewise.
32645         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32646         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32647         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32648         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32649         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32650         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32651         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32652         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32653         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32654         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32655         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32656         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32657         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32658         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32659         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32660         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32661         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32662         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32663         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32664         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32665         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32666         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32667         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32668         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32669         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32670         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32671         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32672         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32673         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32674         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32675         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32676         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32677         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32678         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32679         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32680         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32681         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32682         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32683         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32684         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32685         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32686         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32687         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32688         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32689         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32690         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32691         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32692         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32693         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32694         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32695         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32696         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32697         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32698         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32699         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32700         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32701         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32702         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32703         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32704         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32705         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32706         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32707         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32708         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32709         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32710         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32711         * sysdeps/posix/closedir.c: Likewise.
32712         * sysdeps/posix/opendir.c: Likewise.
32713         * sysdeps/posix/readdir.c: Likewise.
32714         * sysdeps/posix/rewinddir.c: Likewise.
32715         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32716         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32717         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32718         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32719         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32720         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32721         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32722         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32723         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32724         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32725         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32726         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32727         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32728         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32729         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32730         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32731         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32732         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32733         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32734         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32735         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32736         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32737         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32738         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32739         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32740         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32741         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32742         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32743         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32744         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32745         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32746         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32747         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32748         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32749         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32750         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32751         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32752         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32753         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32754         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32755         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32756         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32757         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32758         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32759         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32760         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32761         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32762         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32763         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32764         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32765         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32766         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32767         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32768         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32769         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32770         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32771         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32772         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32773         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32774         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32775         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32776         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32777         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32778         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32779         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32780         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32781         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32782         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32783         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32784         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32785         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32786         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32787         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32788         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32789         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32790         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32791         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32792         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32793         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32794         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32795         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32796         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32797         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32798         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32799         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32800         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32801         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32802         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32803         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32804         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32805         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32806         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32807         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32808         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32809         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32810         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32811         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32812         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32813         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32814         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32815         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32816         * sysdeps/unix/alpha/sysdep.S: Likewise.
32817         * sysdeps/unix/alpha/sysdep.h: Likewise.
32818         * sysdeps/unix/make-syscalls.sh: Likewise.
32819         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32820         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32821         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32822         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32823         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32824         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32825         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32826         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32827         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32828         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32829         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32830         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32831         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32832         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32833         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32834         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32835         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32836         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32837         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32838         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32839         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32840         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32841         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32842         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32843         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32844         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32845         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32848         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32849         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32850         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32851         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32852         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32853         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32854         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32855         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32857         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32858         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32859         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32860         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32861         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32862         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32863         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32864         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32865         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32866         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32867         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32868         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32869         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32870         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32871         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32872         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32873         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32874         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32875         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32876         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32877         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32878         * sysdeps/x86_64/memcpy.S: Likewise.
32879         * sysdeps/x86_64/memmove.c: Likewise.
32880         * sysdeps/x86_64/memset.S: Likewise.
32881         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32882         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32883         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32884         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32885         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32886         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32887         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32888         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32889         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32890         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32891         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32892         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32893         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32894         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32895         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32896         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32897         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32898         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32899         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32900         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32901         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32902         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32903         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32904         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32905         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32906         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32907         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32908         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32909         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32910         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32911         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32912         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32913         * sysdeps/x86_64/strcmp.S: Likewise.
32915         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32917         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32918         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32919         * elf/rtld-Rules: Likewise.
32920         * elf/setup-vdso.h: Likewise.
32921         * include/assert.h: Likewise.
32922         * include/bits/stdlib-float.h: Likewise.
32923         * include/errno.h: Likewise.
32924         * include/sys/stat.h: Likewise.
32925         * include/unistd.h: Likewise.
32926         * sysdeps/aarch64/setjmp.S: Likewise.
32927         * sysdeps/alpha/setjmp.S: Likewise.
32928         * sysdeps/arm/__longjmp.S: Likewise.
32929         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32930         * sysdeps/arm/setjmp.S: Likewise.
32931         * sysdeps/arm/sysdep.h: Likewise.
32932         * sysdeps/generic/_itoa.h: Likewise.
32933         * sysdeps/generic/dl-sysdep.h: Likewise.
32934         * sysdeps/generic/ldsodefs.h: Likewise.
32935         * sysdeps/i386/dl-tls.h: Likewise.
32936         * sysdeps/i386/setjmp.S: Likewise.
32937         * sysdeps/m68k/setjmp.c: Likewise.
32938         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32939         * sysdeps/mach/hurd/opendir.c: Likewise.
32940         * sysdeps/posix/getcwd.c: Likewise.
32941         * sysdeps/posix/opendir.c: Likewise.
32942         * sysdeps/posix/profil.c: Likewise.
32943         * sysdeps/powerpc/dl-procinfo.h: Likewise.
32944         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32945         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32946         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32947         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32948         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32949         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32950         * sysdeps/s390/dl-tls.h: Likewise.
32951         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32952         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32953         * sysdeps/sh/sh3/setjmp.S: Likewise.
32954         * sysdeps/sh/sh4/setjmp.S: Likewise.
32955         * sysdeps/unix/alpha/sysdep.h: Likewise.
32956         * sysdeps/unix/arm/sysdep.S: Likewise.
32957         * sysdeps/unix/i386/sysdep.S: Likewise.
32958         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32959         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32960         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32961         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32962         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32963         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32964         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32965         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32966         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32967         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32968         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32969         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32970         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32973         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32974         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32975         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32976         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32977         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32978         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32979         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32980         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32981         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32982         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32983         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32985         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32986         * sysdeps/x86_64/setjmp.S: Likewise.
32988         * include/math.h: Use IS_IN instead of IS_IN_libm.
32989         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32990         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32991         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32992         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32993         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32994         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32995         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32996         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32997         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32998         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32999         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
33000         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
33001         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
33002         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
33003         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
33004         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
33005         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
33006         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
33007         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
33008         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
33009         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
33010         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
33011         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
33012         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
33013         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
33014         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
33015         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
33016         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33017         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33018         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
33019         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
33020         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33021         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
33023         Likewise.
33024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
33025         Likewise.
33026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33027         Likewise.
33028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33029         Likewise.
33030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33031         Likewise.
33032         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33033         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33034         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33035         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33036         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33037         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33043         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33044         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33045         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33046         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33047         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33048         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33049         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33050         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33051         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33052         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33053         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33054         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33055         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33056         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33058         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33060         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33061         * nptl/pthreadP.h: Likewise.
33062         * nptl_db/structs.def: Likewise.
33063         * sysdeps/arm/sysdep.h: Likewise.
33064         * sysdeps/nptl/bits/libc-lock.h: Likewise.
33065         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33066         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33067         * sysdeps/unix/alpha/sysdep.h: Likewise.
33068         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33069         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33070         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33071         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33072         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33073         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33074         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33075         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33076         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33077         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33078         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33079         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33080         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33081         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33084         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33085         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33086         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33087         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33088         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33089         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33090         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33091         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33092         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33093         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33095         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33096         * nptl/pthreadP.h: Likewise.
33097         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33098         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33099         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33100         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33101         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33102         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33103         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33104         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33105         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33106         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33107         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33108         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33110         Likewise.
33111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33112         Likewise.
33113         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33114         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33115         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33116         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33118         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33119         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33120         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33122         * dlfcn/dladdr.c: Use IS_IN.
33123         * dlfcn/dladdr1.c: Likewise.
33124         * dlfcn/dlclose.c: Likewise.
33125         * dlfcn/dlerror.c: Likewise.
33126         * dlfcn/dlinfo.c: Likewise.
33127         * dlfcn/dlmopen.c: Likewise.
33128         * dlfcn/dlopen.c: Likewise.
33129         * dlfcn/dlsym.c: Likewise.
33130         * dlfcn/dlvsym.c: Likewise.
33132         * include/ifaddrs.h: Use IS_IN.
33133         * inet/check_pf.c: Likewise.
33134         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33135         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33137         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33138         IS_IN_ldconfig.
33139         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33140         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33142         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33143         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33144         IS_IN (libc).
33146         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33148         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33149         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33150         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33151         * include/libc-symbols.h (IS_IN_LIB): New macro.
33152         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33153         * include/netdb.h: Likewise.
33154         * include/stap-probe.h: Remove all uses of IN_LIB.
33156         * Makeconfig (module-cppflags-real): Define MODULE_NAME
33157         instead of IN_MODULE.
33158         * include/libc-symbols.h (IN_MODULE): Define using
33159         MODULE_NAME.
33160         (PASTE_NAME, PASTE_NAME1): New macros.
33161         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33162         of IN_LIB.
33163         (STAP_PROBE_ASM): Likewise.
33165 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33167         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33168         __mach_init in dlopened libc.
33170 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
33172         * sysdeps/arm/preconfigure.ac: Delete EABI check.
33173         * sysdeps/arm/preconfigure: Regenerate.
33175 2014-11-21  Roland McGrath  <roland@hack.frob.com>
33177         * nptl/pthread_create.c (__pthread_create_2_1): Set
33178         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33179         when copying values from IATTR into PD.
33181 2014-11-21  Will Newton  <will.newton@linaro.org>
33182             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
33184         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33185         Refactor inline-asm.  Also add comment.
33187         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33188         ElfW macro instead of hardcoded Elf64 types.
33189         (la_aarch64_gnu_pltenter): Likewise.
33190         * sysdeps/aarch64/dl-machine.h
33191         (elf_machine_runtime_setup): Use ElfW(Addr).
33193         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33194         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33195         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33196         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33197         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33198         (R_AARCH64_TLS_DTPMOD64): Rename to ..
33199         (R_AARCH64_TLS_DTPMOD): This.
33200         (R_AARCH64_TLS_DTPREL64): Rename to ...
33201         (R_AARCH64_TLS_DTPREL): This.
33202         (R_AARCH64_TLS_TPREL64): Rename to ...
33203         (R_AARCH64_TLS_TPREL): This.
33204         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33205         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33206         R_AARCH64_TLS_TPREL64.
33207         (elf_machine_rela): Likewise.
33209 2014-11-21  Torvald Riegel  <triegel@redhat.com>
33211         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33212         by setting it to 0.  64b atomics are not supported currently.
33214 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33216         [BZ #16469]
33217         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33218         search domain names.
33220 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33222         [BZ #16469]
33223         * NEWS: Update.
33224         * resolv/res_query.c (__libc_res_nquerydomain): Retain
33225         trailing dot.
33226         * posix/tst-getaddrinfo5.c: New.
33227         * posix/Makefile (tests): Add it.
33229 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33231         [BZ #14498]
33232         * NEWS: Fixed.
33233         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33234         after parsing line but before break_if_match.
33235         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33236         if there is a protocol mismatch.
33238 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33240         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33241         because the potential race is on the user-supplied stream.
33243 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33245         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33246         string literal if not passed a buffer.
33247         * manual/job.texi (ctermid): Update reasoning, note deviation
33248         from posix, suggest mtasurace when not passed a buffer, for
33249         future non-preliminary safety notes.
33251 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33253         * manual/users.texi (cuserid): Fix MT-Safety note for the case
33254         of not passing it a buffer.
33255         Reported by Peng Haitao.
33257 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33259         * manual/Makefile ($(objpfx)stamp-summary): Require
33260         check-safety.sh to pass.
33261         * manual/check-safety.sh: Wish for verification that every
33262         @deftypefn and @deftypefun is followed by a @safety remark.
33264 2014-11-20  Roland McGrath  <roland@hack.frob.com>
33266         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33268         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33269         PTHREAD_CANCEL_ASYNCHRONOUS.
33270         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33271         send SIGCANCEL.
33273         * nptl/default-sched.h: New file.
33274         * sysdeps/unix/sysv/linux/default-sched.h: New file.
33275         * nptl/pthread_create.c: Include it.
33276         (__pthread_create_2_1): Use collect_default_sched instead of making
33277         Linux syscalls here directly.
33279 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33281         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33282         __pthread_once): Use C11 atomics.
33284 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33286         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33288 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33290         * include/atomic.h (__atomic_link_error, __atomic_check_size,
33291         atomic_thread_fence_acquire, atomic_thread_fence_release,
33292         atomic_thread_fence_seq_cst, atomic_load_relaxed,
33293         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33294         atomic_compare_exchange_weak_relaxed,
33295         atomic_compare_exchange_weak_acquire,
33296         atomic_compare_exchange_weak_release,
33297         atomic_exchange_acquire, atomic_exchange_release,
33298         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33299         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33300         atomic_fetch_and_acquire,
33301         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33303 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33305         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33306         USE_ATOMIC_COMPILER_BUILTINS): Define.
33307         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33308         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33309         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33310         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33311         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33312         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33313         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33314         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33315         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33316         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33317         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33318         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33319         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33320         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33321         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33322         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33323         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33324         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33325         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33326         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33327         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33328         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33329         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33330         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33331         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33332         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33333         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33334         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33335         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33336         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33337         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33338         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33339         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33340         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33341         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33342         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33343         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33344         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33345         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33346         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33348 2014-11-19  Roland McGrath  <roland@hack.frob.com>
33350         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33351         the sched_priority value here.  It was already checked when the user
33352         called pthread_attr_setschedparam.
33354         * nptl/tst-bad-schedattr.c: New file.
33355         * nptl/Makefile (tests): Add it.
33357 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
33358             Florian Weimer  <fweimer@redhat.com>
33359             Joseph Myers  <joseph@codesourcery.com>
33360             Adam Conrad  <adconrad@0c3.net>
33361             Andreas Schwab  <schwab@suse.de>
33362             Brooks  <bmoses@google.com>
33364         [BZ #17625]
33365         * wordexp-test.c (__dso_handle): Add prototype.
33366         (__register_atfork): Likewise.
33367         (__app_register_atfork): New function.
33368         (registered_forks): New global.
33369         (register_fork): New function.
33370         (test_case): Add 3 new tests for WRDE_CMDSUB.
33371         (main): Call __app_register_atfork.
33372         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33373         fork count is non-zero fail the test.
33374         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33375         is set.
33376         (parse_dollars): Remove check for WRDE_NOCMD.
33377         (parse_dquote): Likewise.
33379 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33381         * Makeconfig (built-modules): List non-library modules to be
33382         built.
33383         (module-cppflags): Include libc-modules.h for
33384         everything except shlib-versions.v.i.
33385         (CPPFLAGS): Use it.
33386         (before-compile): Add libc-modules.h.
33387         ($(common-objpfx)libc-modules.h,
33388         $(common-objpfx)libc-modules.stmp): New targets.
33389         (common-generated): Add libc-modules.h and libc-modules.stmp.
33390         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33391         * include/libc-symbols.h: Don't include libc-modules.h.
33392         * include/libc-modules.h: Remove file.
33393         * scripts/gen-libc-modules.awk: New script to generate
33394         libc-modules.h.
33395         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33396         Depend on libc-modules.stmp.
33398         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33400         * Makeconfig (in-module): Get value of libof set for the
33401         translation unit.
33402         (CPPFLAGS): Use $(in-module).
33403         * Makerules: Don't suffix routine names for nonlib.
33404         * include/libc-modules.h: New file.
33405         * include/libc-symbols.h: Include libc-modules.h
33406         (IS_IN): New macro to replace IS_IN_* macros.
33407         * elf/Makefile: Set libof-* for each routine.
33408         * elf/rtld-Rules: Likewise.
33409         * extra-modules.mk: Likewise.
33410         * iconv/Makefile: Likewise.
33411         * iconvdata/Makefile: Likewise.
33412         * locale/Makefile: Likewise.
33413         * malloc/Makefile: Likewise.
33414         * nss/Makefile: Likewise.
33415         * sysdeps/gnu/Makefile: Likewise.
33416         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33417         * sysdeps/unix/sysv/linux/Makefile: Likewise.
33418         * sysdeps/s390/s390-64/Makefile: Likewise.
33419         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
33420         CPPFLAGS for nscd instead of nonlib.
33422 2014-11-18  Roland McGrath  <roland@hack.frob.com>
33424         * nptl/createthread.c: New file.
33426         * nptl/createthread.c: Moved ...
33427         * sysdeps/unix/sysv/linux/createthread.c: ... here.
33429         * nptl/createthread.c: Add proper top-line comment.
33430         (do_clone): Folded into ...
33431         (create_thread): ... here.  Take new arguments STOPPED_START and
33432         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
33433         increment __nptl_threads, do event-reporting logic, do
33434         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33435         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
33436         resource cleanup if sched_setaffinity or sched_setscheduler fails,
33437         just send SIGCANCEL.
33438         * nptl/pthread_create.c: Forward-declare create_thread before
33439         including createthread.c.
33440         (start_thread): Use new macro START_THREAD_DEFN to replace defining
33441         declaration, and new macro START_THREAD_SELF to replace argument.
33442         Remove return statement.
33443         (report_thread_creation): New function.
33444         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
33445         synchronization logic, and __nptl_nthreads increment here, around
33446         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
33447         PD->parent_cancelhandling here, before create_thread.  When
33448         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33449         __deallocate_stack, and ENOMEM translation here.
33451 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
33453         [BZ #17616]
33454         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33455         (mptwo): Rename to __mptwo.
33456         (__inv): Use __mptwo instead of mptwo.
33457         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33458         (mptwo): Rename to __mptwo.
33459         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33460         of mpone and __mptwo instead of mptwo.
33461         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33462         instead of mpone.
33463         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33464         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33465         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33466         of mpone and __mptwo instead of mptwo.
33467         (__mpranred): Use __mpone instead of mpone.
33468         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33469         variable.
33470         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33471         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33472         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33473         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33474         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33475         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33476         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33477         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33478         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33479         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33480         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33481         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33482         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33483         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33484         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33485         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33486         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33487         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33488         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33490 2014-11-18  Tom de Vries  <tom@codesoucery.com>
33492         * manual/signal.texi (Primitives Interrupted by Signals): In section,
33493         replace BSD Handler xref with BSD Signal Handling.
33495 2014-11-17  Richard Henderson  <rth@redhat.com>
33497         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33498         (_FP_PACK_RAW_2): Remove.
33499         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33500         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33501         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33502         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33503         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33504         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33505         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33506         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33507         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33508         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33509         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33510         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33511         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33512         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33513         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33514         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33516 2014-11-14  Roland McGrath  <roland@hack.frob.com>
33518         * signal/signal.h [__USE_MISC]
33519         (struct sigvec): Remove type.
33520         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33521         (sigvec): Remove declaration.
33522         * sysdeps/posix/sigvec.c: Moved ...
33523         * signal/sigvec.c: ... here, replacing old file.
33524         (struct sigvec): New type, copied from old signal.h definition.
33525         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33526         (__sigvec): Convert definition to prototype.
33527         (sigvec): Replace weak_alias with compat_symbol.
33528         * signal/Versions (libc: GLIBC_2.21): New version set.
33529         * include/signal.h: Remove __sigvec declaration.
33530         * sysdeps/unix/bsd/sigvec.c: Remove file.
33531         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33532         * manual/signal.texi (BSD Handler): Remove subsection.
33533         Move siginterrupt up to ...
33534         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
33535         (Blocking in BSD): Fold subsection into its parent.
33536         * NEWS: Mention sigvec removal.
33538 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
33540         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
33541         (DLA_FMS): Make definition conditional only on [__FMA4__].
33542         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
33543         definition.
33545         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
33546         Make definition conditional only on [PROF].
33547         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33548         definition.
33549         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
33550         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
33552         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
33553         !__GNUC__].
33554         * include/signal.h (__sigpause): Move declaration above call to
33555         libc_hidden_proto.
33556         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
33557         variable.
33558         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33559         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33561 2014-11-14  David S. Miller  <davem@davemloft.net>
33563         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
33564         Define before including <string/memcpy.c> and <string/mempcpy.c>.
33566 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
33568         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
33569         * configure: Regenerated.
33570         * manual/install.texi (Tools for Compilation): Document a
33571         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
33572         compiler verified to work.
33573         * INSTALL: Regenerated.
33575         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
33576         redeclare with asm name.
33577         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
33578         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33579         including <string.h>.
33580         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33581         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33582         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33583         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33584         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33585         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33586         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33588 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
33590         * stdlib/strtol.c (__strtol): Use prototype definition.
33592         [BZ #17594]
33593         * stdlib/strtol.c (SYM__): New macro.
33594         (SYM__1): Likewise.
33595         (__strtol): Likewise.
33596         (strtol): Rename to __strtol and define as weak alias of
33597         __strtol.  Use libc_hidden_weak.
33599 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33601         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33602         Use numbered labels in inline assembly.
33604 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33606         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33607         Add setjmp LIBC_PROBE.
33608         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33609         Likewise.
33610         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33611         Add longjmp, longjmp_target LIBC_PROBE.
33612         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33613         Likewise.
33615 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33617         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33618         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33619         to get rid of unused variable warning.
33621 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33623         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33624         Check for unwind_backtrace ==  NULL only in SHARED case.
33625         (__backchain_backtrace): Compile only in SHARED case.
33626         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33627         Likewise.
33628         (__backchain_backtrace): Declare as static.
33630 2014-11-12  Roland McGrath  <roland@hack.frob.com>
33632         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33633         (__libc_multiple_threads_ptr): Variable moved ...
33634         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33636 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
33638         * conform/GlibcConform.pm: New file.
33639         * conform/conformtest.pl: Use GlibcConform module.
33640         * conform/linknamespace.pl: New file.
33641         * conform/list-header-symbols.pl: Likewise.
33642         * conform/Makefile (linknamespace-symlists-base): New variable.
33643         (linknamespace-symlists-tests): Likewise.
33644         (linknamespace-header-base): Likewise.
33645         (linknamespace-header-tests): Likewise.
33646         (tests-special): Add new tests.
33647         ($(linknamespace-symlists-tests)): New rule.
33648         (linknamespace-libs): New variable.
33649         ($(objpfx)symlist-stdlibs): New rule.
33650         ($(linknamespace-header-tests)): Likewise.
33651         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33652         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33653         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33654         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33655         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33656         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33657         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33658         (test-xfail-ISO/math.h/linknamespace): Likewise.
33659         (test-xfail-ISO/signal.h/linknamespace): Likewise.
33660         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33661         (test-xfail-ISO/time.h/linknamespace): Likewise.
33662         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33663         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33664         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33665         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33666         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33667         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33668         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33669         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33670         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33671         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33672         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33673         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33674         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33675         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33676         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33677         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33678         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33679         (test-xfail-XPG3/search.h/linknamespace): Likewise.
33680         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33681         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33682         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33683         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33684         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33685         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33686         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33687         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33688         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33689         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33690         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33691         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33692         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33693         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33694         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33695         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33696         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33697         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33698         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33699         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33700         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33701         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33702         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33703         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33704         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33705         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33706         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33707         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33708         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33709         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33710         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33711         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33712         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33713         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33714         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33715         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33716         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33717         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33718         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33719         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33720         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33721         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33722         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33723         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33724         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33725         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33726         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33727         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33728         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33729         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33730         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33731         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33732         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33733         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33734         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33735         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33736         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33737         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33738         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33739         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33740         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33741         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33742         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33743         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33744         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33745         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33746         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33747         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33748         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33749         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33750         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33751         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33752         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33753         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33754         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33755         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33756         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33757         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33758         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33759         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33760         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33761         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33762         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33763         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33764         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33765         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33766         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33767         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33768         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33769         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33770         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33771         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33772         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33773         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33774         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33775         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33776         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33777         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33778         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33779         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33780         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33781         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33782         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33783         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33784         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33785         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33786         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33787         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33788         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33789         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33790         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33791         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33792         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33793         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33794         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33795         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33796         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33797         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33798         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33799         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33800         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33801         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33802         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33803         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33804         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33805         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33806         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33807         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33808         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33809         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33810         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33811         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33813         [BZ #17589]
33814         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33815         of fgets_unlocked.
33817         [BZ #17585]
33818         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33819         (memmem): Rename to __memmem and define as weak alias of
33820         __memmem.  Use libc_hidden_weak.
33821         (__memmem): Use libc_hidden_def.
33822         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
33823         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33824         memmem.
33826         [BZ #17582]
33827         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33828         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
33829         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33830         and define as weak alias of __fgets_unlocked.  Use
33831         libc_hidden_weak.
33832         (__fgets_unlocked): Use libc_hidden_def.
33833         * include/stdio.h (__fgets_unlocked): Declare.  Use
33834         libc_hidden_proto.
33835         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33836         __fgets_unlocked instead of fgets_unlocked.
33837         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33838         (GET_NPROCS_CONF_PARSER): Likewise.
33839         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33840         (GET_NPROCS_CONF_PARSER): Likewise.
33842         [BZ #17574]
33843         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33844         weak alias of __wmemset.  Use libc_hidden_weak.
33845         (__wmemset): Use libc_hidden_def.
33846         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
33847         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33848         of wmemset.
33850         [BZ #17573]
33851         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33852         with asm name __mempcpy.
33853         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33855         [BZ #17572]
33856         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33857         and define as weak alias of __rawmemchr.
33858         (__rawmemchr): Do not define as strong alias of rawmemchr.
33860         [BZ #17571]
33861         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33862         alias of __qsort_r.
33863         (qsort): Call __qsort_r instead of qsort_r.
33864         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33865         (__qsort_r): Declare.  Call libc_hidden_proto.
33866         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33867         instead of qsort_r.
33868         * nscd/gai.c (__qsort_r): Define to qsort_r.
33869         * posix/tst-rfc3484.c (__qsort_r): Likewise.
33870         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33871         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33873         [BZ #17570]
33874         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33875         define as weak alias of __malloc_info.
33877         [BZ #17584]
33878         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33879         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33880         (__rewinddir): Use libc_hidden_def.
33881         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33882         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33883         (__rewinddir): Use libc_hidden_def.
33884         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33885         weak alias of __rewinddir.  Don't use libc_hidden_def.
33886         (__rewinddir): Use libc_hidden_def.
33887         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33888         (__rewinddir): Use libc_hidden_proto.
33889         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33890         rewinddir.
33891         (__getcwd): Use __rewinddir instead of rewinddir.
33893         [BZ #17583]
33894         * libio/fileno.c (fileno): Rename to __fileno and define as weak
33895         alias of __fileno.  Use libc_hidden_weak.
33896         (__fileno): Use libc_hidden_def.
33897         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33898         * libio/ftello.c (ftello): Rename to __ftello and define as weak
33899         alias of __ftello.
33900         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33901         __ftello.
33902         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33903         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
33904         libc_hidden_def.
33905         (fread_unlocked): Don't use libc_hidden_ver.
33906         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33907         and define as weak alias of __fread_unlocked.  Don't use
33908         libc_hidden_def.
33909         (__fread_unlocked): Use libc_hidden_def.
33910         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
33911         (ftello): Don't use libc_hidden_proto.
33912         (__ftello): Declare.  Use libc_hidden_proto.
33913         (fread_unlocked): Don't use libc_hidden_proto.
33914         (__fread_unlocked): Declare.  Use libc_hidden_proto.
33915         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33916         and __ftello instead of fileno, fread_unlocked and ftello.
33918 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33920         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33921         GOT12.
33922         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33923         Likewise.
33924         (_dl_start_user): Likewise.
33925         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33927 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
33928             Siddhesh Poyarekar  <siddhesh@redhat.com>
33930         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33931         Move argv and envp down instead of moving argc up.
33932         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33934 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
33936         [BZ #17506]
33937         * test-skeleton.c (main): Return successful if one of
33938         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33939         * string/tst-strcoll-overflow.c: Define expected status.
33941 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
33943         [BZ #17475]
33944         * locale/iso-639.def: Define Bhili and Tulu language codes.
33946 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
33948         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33950 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
33952         [BZ #17555]
33953         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33955 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33957         * configure.ac: Updated check of minimal required version to
33958         2.22.
33959         * manual/install.texi (Tools for Compilation): Updated version
33960         number.
33961         * configure: Regenerated.
33962         * INSTALL: Likewise.
33964 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
33966         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33967         __tls_get_addr.
33969 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
33971         * include/sys/wait.h (__libc_waitpid): Remove declaration.
33972         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33973         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33974         libc_hidden_weak.
33975         (waitpid): Define as alias of __waitpid.
33976         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33977         __waitpid.
33978         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33979         libc_hidden_weak.
33980         (waitpid): Define as alias of __waitpid.
33981         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33982         __libc_waitpid alias.
33983         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33984         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33985         Likewise.
33986         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33987         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33988         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33989         alias.
33990         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33991         __waitpid.
33992         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33993         libc_hidden_weak.
33994         (waitpid): Define as alias of __waitpid.
33996 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
33998         * manual/llio.texi: Add comment that write safety has been
33999         fixed in Linux.
34001         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34002         (localplt-build-dso): Add elf/ld.so.
34003         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
34004         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
34005         and free for ld.so.
34006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
34007         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
34008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
34009         Likewise.
34010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34011         Likewise.
34012         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
34013         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
34014         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
34015         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
34016         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
34017         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
34018         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
34019         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
34020         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
34021         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
34022         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34024 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
34026         [BZ #14132]
34027         * include/libc-symbols.h (INTUSE): Remove macro.
34028         (INTDEF): Likewise.
34029         (INTVARDEF): Likewise.
34030         (_INTVARDEF): Likewise.
34031         (INTDEF2): Likewise.
34032         (INTVARDEF2): Likewise.
34033         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34034         rtld_hidden_def instead of INTVARDEF.
34035         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34036         (_dl_starting_up_internal): Remove declaration.
34037         (_dl_starting_up): Use rtld_hidden_proto.
34038         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34039         declaration.
34040         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34041         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34042         _dl_starting_up.
34043         * elf/dl-writev.h (_dl_writev): Likewise.
34044         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34045         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34046         _dl_starting_up_internal.
34048 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34050         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34051         test-skeleton.c.
34053 2014-11-05  Will Newton  <will.newton@linaro.org>
34055         * benchtests/Makefile: (bench-malloc): Add malloc thread
34056         scalability benchmark.
34057         * benchtests/bench-malloc-threads.c: New file.
34059 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
34061         * sysdeps/aarch64/strchrnul.S: New file.
34063 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34065         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34066         definition.
34067         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34068         Likewise.
34069         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34070         Likewise.
34071         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34072         Likewise.
34073         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34074         Likewise.
34075         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34076         Likewise.
34078 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
34080         * catgets/test-gencat.c: Use test-skeleton.c.
34081         * catgets/tst-catgets.c: Likewise.
34082         * csu/tst-empty.c: Likewise.
34083         * elf/tst-audit2.c: Likewise.
34084         * elf/tst-global1.c: Likewise.
34085         * elf/tst-pathopt.c: Likewise.
34086         * elf/tst-piemod1.c: Likewise.
34087         * elf/tst-tls10.c: Likewise.
34088         * elf/tst-tls11.c: Likewise.
34089         * elf/tst-tls12.c: Likewise.
34090         * gnulib/tst-gcc.c: Likewise.
34091         * iconvdata/tst-e2big.c: Likewise.
34092         * iconvdata/tst-loading.c: Likewise.
34093         * iconv/tst-iconv1.c: Likewise.
34094         * iconv/tst-iconv2.c: Likewise.
34095         * inet/test-inet6_opt.c: Likewise.
34096         * inet/tst-gethnm.c: Likewise.
34097         * inet/tst-network.c: Likewise.
34098         * inet/tst-ntoa.c: Likewise.
34099         * intl/tst-codeset.c: Likewise.
34100         * intl/tst-gettext2.c: Likewise.
34101         * intl/tst-gettext3.c: Likewise.
34102         * intl/tst-ngettext.c: Likewise.
34103         * intl/tst-translit.c: Likewise.
34104         * io/test-stat.c: Likewise.
34105         * libio/test-fmemopen.c: Likewise.
34106         * libio/tst-freopen.c: Likewise.
34107         * libio/tst-sscanf.c: Likewise.
34108         * libio/tst-ungetwc1.c: Likewise.
34109         * libio/tst-ungetwc2.c: Likewise.
34110         * libio/tst-widetext.c: Likewise.
34111         * localedata/tst-ctype.c: Likewise.
34112         * localedata/tst-digits.c: Likewise.
34113         * localedata/tst-leaks.c: Likewise.
34114         * localedata/tst-mbswcs1.c: Likewise.
34115         * localedata/tst-mbswcs2.c: Likewise.
34116         * localedata/tst-mbswcs3.c: Likewise.
34117         * localedata/tst-mbswcs4.c: Likewise.
34118         * localedata/tst-mbswcs5.c: Likewise.
34119         * localedata/tst-setlocale.c: Likewise.
34120         * localedata/tst-trans.c: Likewise.
34121         * localedata/tst-wctype.c: Likewise.
34122         * localedata/tst-xlocale1.c: Likewise.
34123         * login/tst-grantpt.c: Likewise.
34124         * malloc/tst-calloc.c: Likewise.
34125         * malloc/tst-malloc.c: Likewise.
34126         * malloc/tst-mallocstate.c: Likewise.
34127         * malloc/tst-mcheck.c: Likewise.
34128         * malloc/tst-mtrace.c: Likewise.
34129         * malloc/tst-obstack.c: Likewise.
34130         * math/atest-exp2.c: Likewise.
34131         * math/atest-exp.c: Likewise.
34132         * math/atest-sincos.c: Likewise.
34133         * math/test-matherr.c: Likewise.
34134         * math/test-misc.c: Likewise.
34135         * math/test-powl.c: Likewise.
34136         * math/tst-definitions.c: Likewise.
34137         * misc/tst-dirname.c: Likewise.
34138         * misc/tst-efgcvt.c: Likewise.
34139         * misc/tst-fdset.c: Likewise.
34140         * misc/tst-hsearch.c: Likewise.
34141         * misc/tst-mntent2.c: Likewise.
34142         * nptl/tst-sem7.c: Likewise.
34143         * nptl/tst-sem8.c: Likewise.
34144         * nptl/tst-sem9.c: Likewise.
34145         * nss/test-netdb.c: Likewise.
34146         * posix/tst-fnmatch.c: Likewise.
34147         * posix/tst-getlogin.c: Likewise.
34148         * posix/tst-gnuglob.c: Likewise.
34149         * posix/tst-mmap.c: Likewise.
34150         * pwd/tst-getpw.c: Likewise.
34151         * resolv/tst-inet_ntop.c: Likewise.
34152         * rt/tst-timer.c: Likewise.
34153         * stdio-common/test-fseek.c: Likewise.
34154         * stdio-common/test-popen.c: Likewise.
34155         * stdio-common/test-vfprintf.c: Likewise.
34156         * stdio-common/tst-cookie.c: Likewise.
34157         * stdio-common/tst-fileno.c: Likewise.
34158         * stdio-common/tst-gets.c: Likewise.
34159         * stdio-common/tst-obprintf.c: Likewise.
34160         * stdio-common/tst-perror.c: Likewise.
34161         * stdio-common/tst-sprintf2.c: Likewise.
34162         * stdio-common/tst-sprintf3.c: Likewise.
34163         * stdio-common/tst-sprintf.c: Likewise.
34164         * stdio-common/tst-swprintf.c: Likewise.
34165         * stdio-common/tst-tmpnam.c: Likewise.
34166         * stdio-common/tst-unbputc.c: Likewise.
34167         * stdio-common/tst-wc-printf.c: Likewise.
34168         * stdlib/tst-environ.c: Likewise.
34169         * stdlib/tst-fmtmsg.c: Likewise.
34170         * stdlib/tst-limits.c: Likewise.
34171         * stdlib/tst-rand48-2.c: Likewise.
34172         * stdlib/tst-rand48.c: Likewise.
34173         * stdlib/tst-random2.c: Likewise.
34174         * stdlib/tst-random.c: Likewise.
34175         * stdlib/tst-strtol.c: Likewise.
34176         * stdlib/tst-strtoll.c: Likewise.
34177         * stdlib/tst-tls-atexit.c: Likewise.
34178         * stdlib/tst-xpg-basename.c: Likewise.
34179         * string/test-ffs.c: Likewise.
34180         * string/tst-bswap.c: Likewise.
34181         * string/tst-inlcall.c: Likewise.
34182         * string/tst-strtok.c: Likewise.
34183         * string/tst-strxfrm.c: Likewise.
34184         * sysdeps/x86_64/tst-audit10.c: Likewise.
34185         * sysdeps/x86_64/tst-audit3.c: Likewise.
34186         * sysdeps/x86_64/tst-audit4.c: Likewise.
34187         * sysdeps/x86_64/tst-audit5.c: Likewise.
34188         * time/tst-ftime_l.c: Likewise.
34189         * time/tst-getdate.c: Likewise.
34190         * time/tst-mktime3.c: Likewise.
34191         * time/tst-mktime.c: Likewise.
34192         * time/tst-posixtz.c: Likewise.
34193         * time/tst-strptime2.c: Likewise.
34194         * time/tst-strptime3.c: Likewise.
34195         * wcsmbs/tst-btowc.c: Likewise.
34196         * wcsmbs/tst-mbrtowc.c: Likewise.
34197         * wcsmbs/tst-mbsrtowcs.c: Likewise.
34198         * wcsmbs/tst-wchar-h.c: Likewise.
34199         * wcsmbs/tst-wcpncpy.c: Likewise.
34200         * wcsmbs/tst-wcrtomb.c: Likewise.
34201         * wcsmbs/tst-wcsnlen.c: Likewise.
34202         * wcsmbs/tst-wcstof.c: Likewise.
34204 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
34206         [BZ #14132]
34207         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34208         INTDEF.
34209         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34210         declaration.
34211         (_dl_mcount): Use rtld_hidden_proto.
34212         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34213         _dl_mcount.
34214         * elf/rtld.c (_rtld_global_ro): Likewise.
34216         [BZ #14132]
34217         * elf/dl-init.c (_dl_init): Don't use INTDEF.
34218         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34219         of _dl_init_internal.
34220         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34221         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34222         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34223         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34224         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34225         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34226         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34227         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34228         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34229         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34230         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34231         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34232         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34233         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34234         * sysdeps/tile/dl-start.S (_start): Likewise.
34235         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34236         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34238         [BZ #14132]
34239         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34240         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34241         (rtld_progname): Make macro definition unconditional.
34242         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34243         INTDEF.
34244         (dlmopen_doit): Do not use INTUSE with _dl_argv.
34245         (dl_main): Likewise.
34246         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34247         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34248         instead of _dl_argv_internal.
34249         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34250         __GI__dl_argv instead of INTUSE(_dl_argv).
34251         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34252         __GI__dl_argv instead of _dl_argv_internal.
34254         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34255         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34256         macro.
34257         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34258         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34259         New macro.
34260         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34261         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34262         macro.
34263         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34264         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34266 2014-11-04  Andreas Schwab  <schwab@suse.de>
34268         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34270 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34272         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34273         mtvsrd instruction in binary form.
34275 2014-11-03  Andreas Schwab  <schwab@suse.de>
34277         [BZ #17522]
34278         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34279         for less than MB_LEN_MAX use a local buffer of that size.
34280         * libio/tst-fputws.c: New file.
34281         * libio/Makefile (tests): Add tst-fputws.
34283 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
34285         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34286         the size of the fpu_fr.fpu_dregs[] array.
34288 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
34290         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34291         (__nanosleep): Do not define as alias.
34292         (nanosleep): Define as alias of __nanosleep.
34293         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34294         __libc_nanosleep name.
34296 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34298         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34299         install.texi in comment.
34301 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34303         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34304         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34305         ... add here and use lwsync or sync ...
34306         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34307         ... and add here using lwsync.
34309 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34311         * elf/dl-machine-reject-phdr.h: New file.
34312         * elf/dl-load.c: #include that.
34313         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34314         if that returned true.
34316 2014-10-31  Roland McGrath  <roland@hack.frob.com>
34318         [BZ #17496]
34319         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34320         gen-as-const-headers chunk.  Add a big scare comment after the last
34321         safe place to touch before-compile.
34323 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34325         * manual/install.texi (Tools for Compilation): Update autoconf
34326         version requirements.
34327         * INSTALL: Regenerated.
34329         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34330         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34331         (__libc_pselect): Likewise.
34333         [BZ #14138]
34334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34339 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34341         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34342         correct barrier instruction.
34343         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34344         Likewise.
34345         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34346         Likewise.
34348 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34350         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34351         after defining inlines.  Instead, just use parens to defeat macro
34352         expansion of __isctype in its declaration.
34354 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34356         * include/sys/uio.h (__libc_readv): Remove declaration.
34357         (__libc_writev): Likewise.
34358         * misc/readv.c (__libc_readv): Rename to __readv.
34359         (__readv): Do not define as alias.
34360         (readv): Define as alias of __readv.
34361         * misc/writev.c (__libc_writev): Rename to __writev.
34362         (__writev): Do not define as alias.
34363         (writev): Define as alias of __writev.
34364         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34365         (__readv): Do not define as alias.
34366         (readv): Define unconditionally as alias of __readv.
34367         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34368         (__writev): Do not define as alias.
34369         (writev): Define unconditionally as alias of __writev.
34370         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34371         name.
34372         (writev): Do not define __libc_writev name.
34374 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34376         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34377         (convert_charseq): New function, broken out of ...
34378         (use_from_charmap): ... here.  Call it.
34379         (use_to_charmap): Use convert_charseq and free instead of duplicating
34380         its code with a variable-length stack struct.
34382 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34384         * include/fcntl.h (__libc_creat): Remove declaration.
34385         * io/creat.c (__libc_creat): Rename to creat.
34386         (creat): Do not define as alias.
34387         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34388         of creat instead of __libc_creat.
34389         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34390         to creat.
34391         (creat): Do not define as alias.
34392         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34393         __libc_creat.
34394         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34395         __libc_creat name.
34396         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34397         Likewise.
34399 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
34401         * manual/llio.texi: Add comments discussing why write() may be
34402         considered MT-unsafe on Linux.
34404 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
34406         * dl-load.c (local_strdup): Remove.
34407         (expand_dynamic_string_token): Use __strdup.
34408         (decompose_rpath): Likewise.
34409         (_dl_map_object): Likewise.
34411 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
34413         [BZ #14132]
34414         * sysdeps/generic/unwind-dw2-fde.c
34415         (__register_frame_info_bases_internal): Do not declare.
34416         (__register_frame_info_table_bases_internal): Likewise.
34417         (__deregister_frame_info_bases_internal): Likewise.
34418         (__register_frame_info_bases): Declare and use hidden_proto before
34419         definition.  Use hidden_def instead of INTDEF.
34420         (__register_frame_info_table_bases): Likewise.
34421         (__deregister_frame_info_bases): Likewise.
34422         (__register_frame_info): Do not use INTUSE.
34423         (__register_frame): Likewise.
34424         (__register_frame_info_table): Likewise.
34425         (__register_frame_table): Likewise.
34426         (__deregister_frame_info): Likewise.
34427         (__deregister_frame): Likewise.
34429 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
34431         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34432         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34433         not undefine.
34434         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34435         Likewise.
34436         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34437         Likewise.
34439 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
34441         [BZ #14138]
34442         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34443         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34444         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34445         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34446         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34447         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34448         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34449         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34450         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34451         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34452         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34453         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34454         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34455         syscall.
34456         (setfsuid): Likewise.
34457         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34458         (setfsuid): Likewise.
34459         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34460         (setfsuid): Likewise.
34461         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34462         Likewise.
34463         (setfsuid): Likewise.
34464         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34465         (setfsuid): Likewise.
34466         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34467         Likewise.
34468         (setfsuid): Likewise.
34470 2014-10-27  Andreas Schwab  <schwab@suse.de>
34472         [BZ #17501]
34473         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34474         check for Slow_SSE4_2 feature bit.
34475         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34476         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34477         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34478         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
34480 2014-10-24  Roland McGrath  <roland@hack.frob.com>
34482         * configure.ac: Validate compiler version with a empirical test of
34483         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34484         $CC -v output.
34485         * configure: Regenerated.
34487         * inet/htons.c (htons): Prototypify.
34488         * inet/htonl.c (htonl): Likewise.
34490 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34492         * string/strncat.c (strncat): Improve performance by using strlen.
34494 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34496         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34498 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34500         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34501         Call libc_fetestexcept_aarch64.
34503 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34505         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34506         Call libc_feholdexcept_aarch64.
34508 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34510         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34511         Call get_rounding_mode.
34513 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34515         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34516         Simplify logic.
34518 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34520         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34521         Simplify logic.
34523 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
34525         [BZ #14138]
34526         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34527         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34528         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34529         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34530         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34531         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34532         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34533         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34534         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34535         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34536         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34537         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34538         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34539         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34540         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34541         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
34542         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
34543         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
34544         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
34545         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34546         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
34547         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
34548         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
34549         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
34550         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
34551         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
34552         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
34553         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
34554         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
34555         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
34556         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
34557         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
34558         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
34559         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
34560         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
34561         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
34562         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
34563         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
34564         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
34565         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
34566         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
34567         syscall.
34568         (geteuid): Likewise.
34569         (getgid): Likewise.
34570         (getuid): Likewise.
34571         (getresgid): Likewise.
34572         (getresuid): Likewise.
34573         (getgroups): Likewise.
34574         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
34575         (geteuid): Likewise.
34576         (getgid): Likewise.
34577         (getuid): Likewise.
34578         (getresgid): Likewise.
34579         (getresuid): Likewise.
34580         (getgroups): Likewise.
34581         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
34582         (geteuid): Likewise.
34583         (getgid): Likewise.
34584         (getuid): Likewise.
34585         (getresgid): Likewise.
34586         (getresuid): Likewise.
34587         (getgroups): Likewise.
34588         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34589         Likewise.
34590         (geteuid): Likewise.
34591         (getgid): Likewise.
34592         (getuid): Likewise.
34593         (getresgid): Likewise.
34594         (getresuid): Likewise.
34595         (getgroups): Likewise.
34596         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34597         (geteuid): Likewise.
34598         (getgid): Likewise.
34599         (getuid): Likewise.
34600         (getresgid): Likewise.
34601         (getresuid): Likewise.
34602         (getgroups): Likewise.
34603         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34604         Likewise.
34605         (geteuid): Likewise.
34606         (getgid): Likewise.
34607         (getuid): Likewise.
34608         (getgroups): Likewise.
34610         [BZ #14138]
34611         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34612         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34613         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34614         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34615         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34616         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34617         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34618         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34619         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34620         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34621         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34622         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34623         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34624         __chown.
34625         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34626         (lchown): Likewise.
34627         (fchown): Likewise.
34628         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34629         Likewise.
34630         (lchown): Likewise.
34631         (fchown): Likewise.
34632         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34633         (lchown): Likewise.
34634         (fchown): Likewise.
34635         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34636         Likewise.
34637         (lchown): Likewise.
34638         (fchown): Likewise.
34640 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34642         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34643         Simplify logic.
34645 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34647         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34648         Cleanup logic.
34650 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34652         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34653         Remove unused include.
34655 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34657         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34658         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34659         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34660         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34662 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
34663             Helge Deller <deller@gmx.de>
34665         [BZ #17508]
34666         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34667         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34668         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34670 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
34672         [BZ #14132]
34673         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34674         Remove macro definition.
34675         (__ashrdi3_v_glibc20): Likewise.
34676         (__lshrdi3_v_glibc20): Likewise.
34677         (__cmpdi2_v_glibc20): Likewise.
34678         (__ucmpdi2_v_glibc20): Likewise.
34679         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34680         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34681         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34682         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34683         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34684         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34686 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34688         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34689         old GNU extension [0] syntax.
34690         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34691         alloca rather than an array member with variable length.
34692         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34693         * nscd/nscd.c (invalidate_db): New function, broken out of ...
34694         (parse_opt): ... here.  Likewise use alloca there.
34695         Validate the -i argument before checking for rootness.
34696         (send_shutdown): New function, broken out of ...
34697         (parse_opt): ... here.
34699 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34701         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34702         macro to get at the _rt_local_ro field.
34703         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34704         ([PIC] case) or _dl_hwcap ([!PIC] case).
34705         * sysdeps/arm/setjmp.S: Likewise.
34707         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34708         * sysdeps/arm/configure.ac: New check to define it.
34709         * sysdeps/arm/configure: Regenerated.
34710         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34711         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34712         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34713         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34714         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34715         Use move/movt pair instead of a load.
34716         (LDST_GLOBAL): Macro removed.
34717         (LDR_GLOBAL): New macro replaces it.
34718         (LDR_HIDDEN): New macro.
34719         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34720         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34722         * setjmp/tst-setjmp-static.c: New file.
34723         * setjmp/Makefile (tests): Add it.
34724         (tests-static): New variable.
34726 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
34728         [BZ #17485]
34729         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34731 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
34733         [BZ #14132]
34734         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34736 2014-10-21  Roland McGrath  <roland@hack.frob.com>
34738         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34740 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34742         * io/fts.c (dirent_not_directory): New function.
34743         (fts_build): Call it.
34745 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34747         * nptl/version.c (__nptl_main): Use normal __write rather than
34748         INTERNAL_SYSCALL.
34749         (banner): Update copyright years.
34751         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34752         gettimeofday.
34753         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34754         * nptl/pthread_cond_timedwait.c: Likewise.
34755         * nptl/pthread_mutex_timedlock.c: Likewise.
34756         * nptl/sem_timedwait.c: Likewise.
34758         * sysdeps/nptl/bits/libc-lock.h
34759         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34760         (__libc_lock_init_recursive): Return void, not 0.
34761         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34762         (__libc_rwlock_init): Likewise.
34763         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34765 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34767         [BZ #15215]
34768         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34769         (__pthread_once_slow): ... here.
34770         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34771         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34773 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34775         [BZ #15215]
34776         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34777         __PTHREAD_ONCE_FORK_GEN_INCR): New.
34778         * sysdeps/nptl/fork.c (__libc_fork): Use them.
34779         * nptl/pthread_once.c (__pthread_once): Likewise.
34780         Update comments.
34782 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
34784         [BZ #14138]
34785         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34786         name.
34787         (writev): Use __libc_writev as strong name.
34788         * sysdeps/unix/sysv/linux/readv.c: Remove file.
34789         * sysdeps/unix/sysv/linux/writev.c: Likewise.
34791 2014-10-17  Roland McGrath  <roland@hack.frob.com>
34793         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34795         * sysdeps/i386/nptl/tls.h
34796         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34797         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34798         New macros.
34799         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34800         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34801         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34802         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34803         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34804         Call CHECK_THREAD_SYSINFO instead of doing an assert.
34806         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34807         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34808         on [__NR_futex].
34809         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34810         broken out of ...
34811         (__pthread_mutex_init): ... here.  Call it.
34812         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34813         Conditionalize PI cases on [__NR_futex].
34814         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34815         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34816         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34818         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34819         conditional on [SIGSETXID].
34820         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34821         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34822         is defined.  Likewise for SIGSETXID.
34823         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34824         Conditionalize definitions on [SIGSETXID].
34825         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34826         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34827         unblocking on [SIGCANCEL].
34829         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34830         [__NR_set_robust_list].
34832 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34834         * string/strcoll_l.c (get_next_seq): Fix up formatting.
34835         (do_compare): Likewise.
34837 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
34839         [BZ #15884]
34840         * string/strcoll_l.c: Don't include stdio.h.
34841         (coll_seq): Remove members idxarr and rulearr.
34842         (get_next_seq_cached): Remove function.
34843         (get_next_seq): Likewise.
34844         (get_next_seq_nocache): Rename to get_next_seq.
34845         (do_compare): Remove function.
34846         (do_compare_nocache): Rename to do_compare.
34847         (STRCOLL): Remove weight and rules cache.
34849 2014-10-16  Roland McGrath  <roland@hack.frob.com>
34851         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34852         * sysdeps/arm/sfp-machine.h: ... to here.
34853         * sysdeps/arm/Implies: Remove arm/soft-fp.
34855 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
34857         * conform/data/sys/utsname.h-data (*_t): Allow.
34858         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34859         [POSIX] (WEXITED): Do not expect constant.
34860         [POSIX] (WSTOPPED): Likewise.
34861         [POSIX] (WNOHANG): Likewise.
34862         [POSIX] (WNOWAIT): Likewise.
34863         [POSIX] (siginfo_t): Do not expect type or elements.
34864         [POSIX] (pid_t): Do not expect type.
34865         [POSIX] (signal.h): Do not allow header.
34866         [POSIX] (sys/resource.h): Likewise.
34867         [POSIX] (si_*): Do not allow pattern.
34868         [POSIX] (W*): Likewise.
34869         [POSIX] (P_*): Likewise.
34870         [POSIX] (BUS_*): Likewise.
34871         [POSIX] (CLD_*): Likewise.
34872         [POSIX] (FPE_*): Likewise.
34873         [POSIX] (ILL_*): Likewise.
34874         [POSIX] (POLL_*): Likewise.
34875         [POSIX] (SEGV_*): Likewise.
34876         [POSIX] (SI_*): Likewise.
34877         [POSIX] (TRAP_*): Likewise.
34878         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34879         variable.
34881 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
34883         [BZ #12926]
34884         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34885         infinite loop when __recvmsg returns 0.
34887 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
34889         * CANCEL-FCT-WAIVE: Remove file.
34890         * CANCEL-FILE-WAIVE: Likewise.
34892         [BZ #14132]
34893         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34894         instead of INTVARDEF.
34895         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34896         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34897         rtld_hidden_data_def instead of INTVARDEF.
34898         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34899         * elf/dl-deps.c (expand_dst): Likewise.
34900         * elf/dl-load.c (_dl_dst_count): Likewise.
34901         (_dl_dst_substitute): Likewise.
34902         (decompose_rpath): Likewise.
34903         (_dl_init_paths): Likewise.
34904         (open_path): Likewise.
34905         (_dl_map_object): Likewise.
34906         * elf/rtld.c (dl_main): Likewise.
34907         (process_dl_audit): Likewise.
34908         (process_envvars): Likewise.
34909         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34910         Remove declaration.
34911         (__libc_enable_secure): Use rtld_hidden_proto.
34913 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34915         * elf/dl-load.c
34916         (add_path): New function broken out of _dl_rtld_di_serinfo.
34917         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
34919 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
34921         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34922         parentheses around macro arguments.
34923         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34924         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34925         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34926         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34927         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34928         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34929         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34930         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34931         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34932         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34933         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34934         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34935         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34936         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34937         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34938         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34939         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34940         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34941         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34942         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34943         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34945         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34946         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34947         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34949         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34950         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34951         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34952         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34953         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34954         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34955         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34956         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34957         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34958         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34959         Likewise.
34960         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34961         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34962         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34963         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34964         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34965         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34966         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34967         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34968         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34969         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34970         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34971         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34972         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34974         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34975         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34976         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34977         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34978         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34979         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34980         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34981         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34982         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34983         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34984         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34985         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34986         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34987         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34988         (_FP_FRAC_SRS_1): Likewise.
34989         (_FP_FRAC_CLZ_1): Likewise.
34990         (_FP_MUL_MEAT_1_imm): Likewise.
34991         (_FP_MUL_MEAT_1_wide): Likewise.
34992         (_FP_MUL_MEAT_1_hard): Likewise.
34993         (_FP_SQRT_MEAT_1): Likewise.
34994         (_FP_FRAC_ASSEMBLE_1): Likewise.
34995         (_FP_FRAC_DISASSEMBLE_1): Likewise.
34996         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34997         (__FP_CLZ_2): Likewise.
34998         (_FP_MUL_MEAT_2_wide): Likewise.
34999         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35000         (_FP_MUL_MEAT_2_gmp): Likewise.
35001         (_FP_MUL_MEAT_2_120_240_double): Likewise.
35002         (_FP_SQRT_MEAT_2): Likewise.
35003         (_FP_FRAC_ASSEMBLE_2): Likewise.
35004         (_FP_FRAC_DISASSEMBLE_2): Likewise.
35005         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
35006         (_FP_FRAC_CLZ_4): Likewise.
35007         (_FP_MUL_MEAT_4_wide): Likewise.
35008         (_FP_MUL_MEAT_4_gmp): Likewise.
35009         (_FP_SQRT_MEAT_4): Likewise.
35010         (_FP_FRAC_ASSEMBLE_4): Likewise.
35011         (_FP_FRAC_DISASSEMBLE_4): Likewise.
35012         * soft-fp/op-common.h (_FP_CMP): Likewise.
35013         (_FP_CMP_EQ): Likewise.
35014         (_FP_CMP_UNORD): Likewise.
35015         (_FP_TO_INT): Likewise.
35016         (_FP_FROM_INT): Likewise.
35017         [!__FP_CLZ] (__FP_CLZ): Likewise.
35018         (_FP_DIV_HELP_imm): Likewise.
35019         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
35020         Likewise.
35021         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
35022         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
35023         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
35024         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
35025         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
35026         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35027         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35028         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35029         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35030         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35031         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35032         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35033         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35034         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35035         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35036         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35037         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35038         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35039         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35040         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35041         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35042         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35043         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35044         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35045         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35046         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35047         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35048         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35049         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35050         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35051         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35052         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35053         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35054         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35055         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35056         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35057         (FP_UNPACK_RAW_SP): Likewise.
35058         (FP_PACK_RAW_S): Likewise.
35059         (FP_PACK_RAW_SP): Likewise.
35060         (FP_UNPACK_S): Likewise.
35061         (FP_UNPACK_SP): Likewise.
35062         (FP_UNPACK_SEMIRAW_S): Likewise.
35063         (FP_UNPACK_SEMIRAW_SP): Likewise.
35064         (FP_PACK_S): Likewise.
35065         (FP_PACK_SP): Likewise.
35066         (FP_PACK_SEMIRAW_S): Likewise.
35067         (FP_PACK_SEMIRAW_SP): Likewise.
35068         (_FP_SQRT_MEAT_S): Likewise.
35069         (FP_CMP_S): Likewise.
35070         (FP_CMP_EQ_S): Likewise.
35071         (FP_CMP_UNORD_S): Likewise.
35072         (FP_TO_INT_S): Likewise.
35073         (FP_FROM_INT_S): Likewise.
35075         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35077         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35078         (FP_EX_INVALID_IMZ): Likewise.
35079         (FP_EX_INVALID_IMZ_FMA): Likewise.
35080         (FP_EX_INVALID_ISI): Likewise.
35081         (FP_EX_INVALID_ZDZ): Likewise.
35082         (FP_EX_INVALID_IDI): Likewise.
35083         (FP_EX_INVALID_SQRT): Likewise.
35084         (FP_EX_INVALID_CVI): Likewise.
35085         (FP_EX_INVALID_VC): Likewise.
35086         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35087         "invalid" exceptions.
35088         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35089         (_FP_ADD_INTERNAL): Likewise.
35090         (_FP_MUL): Likewise.
35091         (_FP_FMA): Likewise.
35092         (_FP_DIV): Likewise.
35093         (_FP_CMP_CHECK_NAN): Likewise.
35094         (_FP_SQRT): Likewise.
35095         (_FP_TO_INT): Likewise.
35096         (FP_EXTEND): Likewise.
35098 2014-10-09  Allan McRae  <allan@archlinux.org>
35100         * po/fr.po: Update French translation from translation project.
35102 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
35104         [BZ #14132]
35105         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35106         of INTDEF.
35107         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35108         (__cxa_atexit): Use libc_hidden_proto.
35109         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35111         [BZ #14132]
35112         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35113         declaration.
35114         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35115         [!_ISOMAC] (__iswspace_l_internal): Likewise.
35116         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35117         [!_ISOMAC] (__iswctype_internal): Likewise.
35118         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35119         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35120         alias.
35121         (fcntl): Remove __fcntl_internal alias.
35122         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35123         __connect_internal alias.
35124         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35125         Likewise.
35127         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35128         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35129         FP_DENORM_ZERO.
35130         (_FP_CHECK_FLUSH_ZERO): New macro.
35131         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35132         (_FP_CMP): Likewise.
35133         (_FP_CMP_EQ): Likewise.
35134         (_FP_TO_INT): Do not set inexact for subnormal arguments if
35135         FP_DENORM_ZERO.
35136         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35137         (FP_TRUNC): Likewise.
35139         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35140         treated as invalid conversion, not as normal exponent.
35142         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35143         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
35144         (_FP_CMP_EQ): Likewise.
35145         (_FP_CMP_UNORD): Likewise.
35146         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35147         (FP_CMP_EQ_D): Likewise.
35148         (FP_CMP_UNORD_D): Likewise.
35149         * soft-fp/extended.h (FP_CMP_E): Likewise.
35150         (FP_CMP_EQ_E): Likewise.
35151         (FP_CMP_UNORD_E): Likewise.
35152         * soft-fp/quad.h (FP_CMP_Q): Likewise.
35153         (FP_CMP_EQ_Q): Likewise.
35154         (FP_CMP_UNORD_Q): Likewise.
35155         * soft-fp/single.h (FP_CMP_S): Likewise.
35156         (FP_CMP_EQ_S): Likewise.
35157         (FP_CMP_UNORD_S): Likewise.
35158         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35159         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35160         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35161         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35162         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35163         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35164         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35165         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35166         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35167         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35168         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35169         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35170         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35171         to FP_CMP_Q.
35172         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35173         FP_CMP_Q.
35174         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35175         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35176         FP_CMP_EQ_Q.
35177         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35178         FP_CMP_Q.
35179         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35180         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35181         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35182         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35183         FP_CMP_EQ_Q.
35184         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35185         FP_CMP_Q.
35186         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35187         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35188         FP_CMP_EQ_Q.
35189         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35190         FP_CMP_Q.
35191         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35192         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35193         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35194         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35195         FP_CMP_EQ_Q.
35197         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35198         a subnormal result, set the underflow exception if trapping on
35199         underflow is enabled.
35200         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35201         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35202         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35203         redefine to 0.
35204         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35205         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35206         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35207         * soft-fp/extendxftf2.c (__extendxftf2): Use
35208         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35210         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35211         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35212         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35213         FP_HANDLE_EXCEPTIONS.
35214         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35215         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35216         FP_HANDLE_EXCEPTIONS.
35217         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35218         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35219         FP_HANDLE_EXCEPTIONS.
35220         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35221         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35222         FP_HANDLE_EXCEPTIONS.
35224 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
35226         [BZ #14132]
35227         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35228         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35229         use INTUSE.
35230         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35231         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35232         Remove alias.
35233         (__adjtimex): Define using libc_hidden_ver.
35234         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35235         Remove declaration.
35236         (ntp_gettime): Call __adjtimex directly.
35237         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35238         Remove declaration.
35239         (ntp_gettimex): Call __adjtimex directly.
35240         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35241         __adjtimex_internal alias.
35243 2014-10-08  Roland McGrath  <roland@hack.frob.com>
35245         [BZ #17460]
35246         * nscd/nscd.c (more_help): Rewrite list of tables collection
35247         using xstrdup and asprintf.
35249         * nscd/nscd_conf.c: Remove local xstrdup declaration.
35251 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35252             Roland McGrath  <roland@hack.frob.com>
35254         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35255         (do_lookup_unique): ... local function 'enter' here; update callers.
35257 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
35259         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35260         compat_symbol calls on [SHARED].
35261         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35262         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35263         Remove.
35264         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35265         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35266         (oldsetrlimit): Remove.
35267         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35269         (lchown): New syscall entry.
35270         (oldsetrlimit): Remove.
35271         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35272         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35273         (oldsetrlimit): Remove.
35274         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35276         [BZ #14138]
35277         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35278         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35279         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35280         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35281         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35282         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35283         (fchown): Likewise.
35284         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35285         (fchown): Likewise.
35286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35287         Likewise.
35289 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35291         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35292         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35293         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35294         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35295         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35296         Likewise.
35297         (__old_sem_post): Likewise.
35299 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
35301         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35302         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35303         HAVE_CLOCK_GETTIME_VSYSCALL macros.
35304         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35305         Use INLINE_VSYSCALL macro.
35306         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35307         __vdso_clock_gettime.
35308         * sysdeps/unix/sysv/linux/tile/init-first.c
35309         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35310         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35311         __vdso_clock_gettime.
35313         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35314         to set up frame more cleanly.
35316         * sysdeps/tile/memcmp.c: New file.
35318         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35320         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35321         * sysdeps/tile/tilegx/strcasestr.c: New file.
35322         * sysdeps/tile/tilegx/strnlen.c: New file.
35323         * sysdeps/tile/tilegx/strstr.c: New file.
35325         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35327 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
35329         * nptl/tst-setuid3.c: Write errors to stdout.
35331 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35333         * elf/dl-deps.c
35334         (preload): New functions broken out of _dl_map_object_deps.
35335         (_dl_map_object_deps):  Remove a nested function. Update call sites.
35337 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
35339         [BZ #14138]
35340         * sysdeps/unix/sysv/linux/execve.c: Remove file.
35341         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35343 2014-10-01  Steve Ellcey  <sellcey@mips.com>
35345         * sysdeps/mips/strcmp.S: New.
35347 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
35349         [BZ #14138]
35350         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35351         (linkat): Likewise.
35352         (mkdirat): Likewise.
35353         (readlinkat): Likewise.
35354         (renameat): Likewise.
35355         (symlinkat): Likewise.
35356         (unlinkat): Likewise.
35357         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35358         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35359         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35360         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35361         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35362         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35363         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35365 2014-09-30  Will Newton  <will.newton@linaro.org>
35367         * math/math.h: Define long double math functions if
35368         _LIBC_TEST is defined.
35369         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35371         * localedata/Makefile: Move assignment to tests-special
35372         into an ifdef testing run-built-tests.
35373         * timezone/Makefile: Likewise.
35375 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
35377         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35378         with $(BASH) not $(SHELL).
35380 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
35381             Matthew LeGendre  <legendre1@llnl.gov>
35383         [BZ #17411]
35384         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35385         l_reloc_result.
35387 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35389         * stdio-common/printf_fp.c
35390         (hack_digit): New function, broken out of ...
35391         (__printf_fp): ... local function here.  Update call sites.
35392         hack_digit now takes an additional parameter that is a pointer
35393         to a struct of the referenced locals.  Those locals moved inside
35394         the struct and references updated.
35396 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
35398         * aclocal.m4: Require autoconf 2.69.
35399         * configure: Regenerated.
35400         * sysdeps/aarch64/configure: Likewise.
35401         * sysdeps/alpha/configure: Likewise.
35402         * sysdeps/arm/armv7/configure: Likewise.
35403         * sysdeps/arm/configure: Likewise.
35404         * sysdeps/ia64/configure: Likewise.
35405         * sysdeps/mach/configure: Likewise.
35406         * sysdeps/mips/configure: Likewise.
35407         * sysdeps/s390/configure: Likewise.
35408         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35411         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35412         file.
35413         * sysdeps/ia64/configure.ac: Likewise.
35415 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
35417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35418         specify symbol version for ld.so.  Do not include entry for
35419         libpthread.
35420         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35421         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35422         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35424         [BZ #14171]
35425         * Makeconfig [$(build-shared) = yes]
35426         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35427         makefiles.
35428         [$(build-shared) = yes && $(soversions.mk-done) = t]
35429         ($(common-objpfx)gnu/lib-names.h): Remove rule.
35430         [$(build-shared) = yes && $(soversions.mk-done) = t]
35431         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
35432         to Makerules.
35433         [$(build-shared) = yes && $(soversions.mk-done) = t]
35434         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35435         here.
35436         [$(build-shared) = yes && $(soversions.mk-done) = t]
35437         (common-generated): Don't append gnu/lib-names.h and
35438         gnu/lib-names.stmp here.
35439         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35440         (lib-names-h-abi): New variable.
35441         [$(build-shared) = yes && $(soversions.mk-done) = t]
35442         (lib-names-stmp-abi): Likewise.
35443         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35444         abi-variants] (before-compile): Append
35445         $(common-objpfx)$(lib-names-h-abi).
35446         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35447         abi-variants] (common-generated): Append gnu/lib-names.h.
35448         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35449         abi-variants] (install-others-nosubdir): Depend on
35450         $(inst_includedir)/$(lib-names-h-abi).
35451         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35452         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35453         [$(build-shared) = yes && $(soversions.mk-done) = t]
35454         ($(common-objpfx)$(lib-names-h-abi)): New rule.
35455         [$(build-shared) = yes && $(soversions.mk-done) = t]
35456         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35457         [$(build-shared) = yes && $(soversions.mk-done) = t]
35458         (common-generated): Append $(lib-names-h-abi) and
35459         $(lib-names-stmp-abi).
35460         * scripts/lib-names.awk: Do not handle multi being set.
35461         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35462         Remove variable.
35463         (abi-lp64_be-ld-soname): Likewise.
35464         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35465         Likewise.
35466         (abi-hard-ld-soname): Likewise.
35467         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35468         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35469         Remove variable.
35470         (abi-o32_hard-ld-soname): Likewise.
35471         (abi-o32_soft_2008-ld-soname): Likewise.
35472         (abi-o32_hard_2008-ld-soname): Likewise.
35473         (abi-n32_soft-ld-soname): Likewise.
35474         (abi-n32_hard-ld-soname): Likewise.
35475         (abi-n32_soft_2008-ld-soname): Likewise.
35476         (abi-n32_hard_2008-ld-soname): Likewise.
35477         (abi-n64_soft-ld-soname): Likewise.
35478         (abi-n64_hard-ld-soname): Likewise.
35479         (abi-n64_soft_2008-ld-soname): Likewise.
35480         (abi-n64_hard_2008-ld-soname): Likewise.
35481         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35482         Likewise.
35483         (abi-64-v2-ld-soname): Likewise.
35484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35485         ld.so entries.
35486         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35487         variable.
35488         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35489         entry.
35490         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35491         variable.
35492         (abi-64-ld-soname): Likewise.
35493         (abi-x32-ld-soname): Likewise.
35494         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35495         entry.
35496         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35498 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
35500         [BZ #14138]
35501         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35502         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35503         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35504         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35505         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35506         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35507         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35508         syscall entry for GLIBC_2.2 symbol version.
35509         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35510         Likewise.
35511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35512         (setrlimit): Likewise.
35513         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35514         Likewise.
35516 2014-09-23  Will Newton  <will.newton@linaro.org>
35518         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35519         _LINUX_ARM_SYSDEP_H include guard too.
35520         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35521         define.
35523 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35525         * sysdeps/unix/sysv/linux/eventfd.c:
35526         Make first argument unsigned.
35527         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35528         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35530 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
35532         [BZ #16852]
35533         * socket/recvmmsg.c (recvmmsg): Drop const argument.
35534         * socket/sys/socket.h: Likewise.
35535         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35537 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35539         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35541 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
35543         * time/tst-ftime.c: New test.
35544         * time/Makefile (tests): Add tst-ftime.
35546 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
35548         * soft-fp/extended.h: Fix comment formatting.
35549         * soft-fp/op-1.h: Likewise.
35550         * soft-fp/op-2.h: Likewise.
35551         * soft-fp/op-4.h: Likewise.
35552         * soft-fp/op-8.h: Likewise.
35553         * soft-fp/op-common.h: Likewise.
35554         * soft-fp/soft-fp.h: Likewise.
35556         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35558 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
35560         [BZ #6652]
35561         * Makeconfig (soversions-default-setname): Remove variable.
35562         ($(common-objpfx)soversions.i): Don't pass default_setname to
35563         soversions.awk.
35564         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
35565         oldest_abi to abi-versions.awk.
35566         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
35567         * config.make.in (oldest-abi): Remove variable.
35568         * configure.ac (--enable-oldest-abi): Remove configure option.
35569         * configure: Regenerated.
35570         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
35571         text.
35572         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
35573         * scripts/soversions.awk: Do not handle default_setname variable.
35574         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
35575         variable.
35576         * sysdeps/mach/hurd/configure: Regenerated.
35577         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
35578         variable.
35579         * sysdeps/unix/sysv/linux/configure: Regenerated.
35581 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35583         * elf/Makefile (CFLAGS-interp.c): Remove.
35584         ($(elf-objpfx)runtime-linker.h): Generate header with linker
35585         path string.
35586         * elf/interp.c: Include generated runtime-linker.h
35588         * Makerules (lib%.so): Don't include $(+interp) in
35589         prerequisites.
35590         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35591         * dlfcn/eval.c: Remove file.
35593         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35594         macros.
35596         [BZ #17266]
35597         * misc/sys/cdefs.h: Define __extern_always_inline for clang
35598         4.2 and newer.
35600         [BZ #17370]
35601         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35603 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35604             Jakub Jelinek  <jakub@redhat.com>
35606         [BZ #17266]
35607         * libio/stdio.h: Check definition of __fortify_function
35608         instead of __extern_always_inline to include bits/stdio2.h.
35609         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35610         check if __extern_always_inline is defined.
35611         [__USE_MISC || __USE_XOPEN]: Likewise.
35612         [__USE_ISOC99] Likewise.
35613         * misc/sys/cdefs.h (__fortify_function): Define only if
35614         __extern_always_inline is defined.
35615         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35616         __extern_always_inline and __extern_inline only for g++-4.3
35617         and newer or a compatible gcc.
35619 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
35621         [BZ #17371]
35622         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35623         last change to handle zero prefix length.
35625 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35627         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35628         _SC_REGEX_VERSION.
35630         * posix/getconf.c (vars): Add _POSIX_IPV6 and
35631         _POSIX_RAW_SOCKETS.
35633 2014-09-13  Allan McRae  <allan@archlinux.org>
35635         * po/ru.po: Update Russian translation from translation project.
35637 2014-09-12  Roland McGrath  <roland@hack.frob.com>
35639         * locale/programs/locale.c (show_locale_vars): Inline local function
35640         into its sole call site.  Clean up some style nits.
35641         (print_item): New function, broken out of ...
35642         (show_info): ... local function here.  Clean up style nits.
35644         * locale/programs/ld-ctype.c (set_one_default): New function, broken
35645         out of ...
35646         (set_class_defaults): ... local function set_default here.
35647         Define set_default as a macro locally to pass constant parameters.
35648         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35649         rather than a shared local.
35651         * stdlib/rpmatch.c (try): New function, broken out of ...
35652         (rpmatch): ... local function here.  Also, prototypify definition.
35654 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
35656         * scripts/soversions.awk: Do not handle configuration names.
35657         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35658         vendor and os variables to soversions.awk.
35659         * configure.ac: Do not modify gnu-* host_os.
35660         * configure: Regenerated
35661         * shlib-versions: Remove first column with configuration names.
35662         * nptl/shlib-versions: Likewise.
35663         * nptl_db/shlib-versions: Likewise.
35664         * sysdeps/hppa/shlib-versions: Likewise.
35665         * sysdeps/m68k/shlib-versions: Likewise.
35666         * sysdeps/mach/hurd/shlib-versions: Likewise.
35667         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35668         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35669         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35670         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35671         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35672         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35673         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35674         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35676         Likewise.
35677         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35678         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35679         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35680         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35681         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35682         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35683         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35684         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35687         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35689         Regenerated.
35690         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35692         Condition symbol version definitions on [HAVE_ELFV2_ABI].
35694         * shlib-versions: Remove OS-specific entries.  Moved to files in
35695         sysdeps.
35696         * sysdeps/mach/hurd/shlib-versions: New file.
35697         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35699         * nptl/shlib-versions: Remove architecture-specific entries.
35700         Moved to files in sysdeps.
35701         * shlib-versions: Likewise.
35702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35703         file.
35704         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35705         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35706         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35707         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35709         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35710         (UDP_NO_CHECK6_RX): Likewise.
35712 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35714         * sysdeps/posix/sysconf.c (__sysconf): Spell
35715         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35717 2014-08-12  Florian Weimer  <fweimer@redhat.com>
35719         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35720         loading.
35721         * iconv/Versions (__gconv_transliterate): Export for use from
35722         gconv modules.
35723         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35724         (struct __gconv_trans_data, __gconv_trans_fct,
35725         __gconv_trans_context_fct, __gconv_trans_query_fct,
35726         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35727         definitions.
35728         (struct __gconv_step_data): Remove __trans member.
35729         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
35730         longer hidden.  Remove unused trans_data argument.
35731         * iconv/gconv_int.h (struct trans_struct): Remove definition.
35732         (__gconv_translit_find): Remove declaration.
35733         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
35734         prototype.
35735         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35736         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35737         trans_data argument.  Add hidden definition.
35738         (__gconv_translit_find): Remove.
35739         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35740         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35741         * iconv/skeleton.c: Remove transliteration initialization.
35742         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35743         __gconv_step_data initialization.
35744         * libio/iofwide.c (__libio_translit_): Remove.
35745         (_IO_fwide): Adjust struct __gconv_step_data initialization.
35746         * wcsmbs/btowc.c (__btowc): Likewise.
35747         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35748         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35749         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35750         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35751         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35752         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35753         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35754         * wcsmbs/wctob.c (wctob): Likewise.
35756 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35758         [BZ #16194]
35759         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35760         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
35761         register usage.
35762         * sysdeps/x86/Makefile: Adjust.
35764 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35765             Roland McGrath  <roland@hack.frob.com>
35767         * locale/weight.h: Add include guard.
35768         (findidx): Make static rather than auto; take new parameters
35769         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35770         * locale/weightwc.h: Likewise.
35771         * posix/fnmatch_loop.c
35772         (FCT): Change type of EXTRA from int32_t to wint_t.
35773         Don't include either header inside the function.
35774         Call FINDIDX rather than findidx, and pass new arguments.
35775         #undef FINDIDX at the end of the file.
35776         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35777         FINDIDX before including fnmatch_loop.c for the non-wide version.
35778         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35779         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35780         for the wide version.
35781         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35782         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35783         Pass new arguments to findidx.
35784         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35785         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35786         Don't #include it inside the function.  Pass new arguments to findidx.
35787         * posix/regex_internal.h
35788         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35789         (re_string_elem_size_at): Don't #include it inside the function.
35790         Pass new arguments to findidx.
35791         * string/strcoll_l.c: #include WEIGHT_H at top level.
35792         (get_next_seq): Don't #include it inside the function.
35793         Pass new arguments to findidx.
35794         (get_next_seq_nocache): Likewise.
35795         * string/strxfrm_l.c: #include WEIGHT_H at top level.
35796         (STRXFRM): Don't #include it inside the function.
35797         Pass new arguments to findidx.
35799 2014-09-11  Florian Weimer  <fweimer@redhat.com>
35801         [BZ #17344]
35802         * malloc/malloc.c (unlink): Turn asserts into a call to
35803         malloc_printerr.
35805 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
35807         [BZ #17370]
35808         * libio/wfileops (do_ftell_wide): Free OUT.
35810 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
35812         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35814 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35816         [BZ #17363]
35817         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35818         group if the current group is empty.
35820 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35822         * benchtests/bench-memset.c (test_main): Add more test from size
35823         from 32 to 512 bytes.
35824         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35825         Add POWER8 memset object.
35826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35827         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35828         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35829         implementation.
35830         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35831         Likewise.
35832         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35833         multiarch POWER8 memset optimization.
35834         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35835         POWER8 memset optimization.
35837         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35838         Remove bzero multiarch objects.
35839         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35840         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35841         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35842         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35843         Remove define.
35844         [__bzero]: Redefine to specific name.
35845         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35846         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35847         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35848         define.
35849         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35850         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35852 2014-09-10  Florian Weimer  <fweimer@redhat.com>
35854         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35855         warnings into errors.
35857         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35858         __cxa_thread_atexit_impl prototype.
35860 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35862         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35863         Fix capitalization of error message.
35865 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35867         * sysdeps/mips/preconfigure: Modify ABI tests.
35869 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
35871         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35873 2014-09-07  Roland McGrath  <roland@hack.frob.com>
35874             Carlos O'Donell  <carlos@systemhalted.org>
35876         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35877         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35878         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35879         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35880         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35881         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35882         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35883         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35884         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35885         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35886         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35887         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35888         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35889         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35890         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35891         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35892         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35893         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35894         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35895         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35896         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35897         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35898         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35899         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35900         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35901         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35902         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35903         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35904         Deconditionalize the code that was previously under [RESET_PID].
35905         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35906         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35907         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35908         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35909         include sysdep.h.
35911 2014-09-08  Allan McRae  <allan@archlinux.org>
35913         * version.h (RELEASE): Set to "development".
35914         (VERSION): Set to "2.20.90"
35916 2014-09-07  Allan McRae  <allan@archlinux.org
35918         * version.h (RELEASE): Set to "stable".
35919         (VERSION): Set to "2.20"
35920         * include/features.h (__GLIBC_MINOR__): Set to 20.
35922         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35923         Liebler.
35925         * po/ko.po: Update Korean translation from translation project.
35927 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
35929         [BZ #17354]
35930         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35931         macro for handling signed relocations.
35933 2014-09-03  Florian Weimer  <fweimer@redhat.com>
35935         [BZ #17325]
35936         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35937         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35938         assert.
35939         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35940         * iconvdata/ibm935.c (BODY): Likewise.
35941         * iconvdata/ibm937.c (BODY): Likewise.
35942         * iconvdata/ibm939.c (BODY): Likewise.
35943         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35944         assert.
35945         * iconvdata/Makefile (iconv-test.out): Pass module list to test
35946         script.
35947         * iconvdata/run-iconv-test.sh: New test loop for checking for
35948         decoder crashers.
35950 2014-09-02  Khem Raj  <raj.khem@gmail.com>
35952         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35953         libm_hidden_ver.
35955 2014-09-01  Allan McRae  <allan@archlinux.org>
35957         * po/eo.po: Update Esperanto translation from translation project.
35959         * po/ca.po: Update Catalan translation from translation project.
35961 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35963         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35964         __proc_dostop call.
35966 2014-08-27  Mark Wielaard  <mjw@redhat.com>
35968         [BZ #17319]
35969         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35970         to call set_thread_area instead of hand written asm.
35971         (__NR_set_thread_area): Removed define.
35972         (TLS_FLAG_WRITABLE): Likewise.
35973         (__ASSUME_SET_THREAD_AREA): Remove check.
35974         (TLS_EBX_ARG): Remove define.
35975         (TLS_LOAD_EBX): Likewise.
35977 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35979         Simplify atomicity of socket creation in bind.
35981         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35982         looking up the name after linking the file.
35984 2014-08-27  Allan McRae  <allan@archlinux.org>
35986         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35988 2014-08-26  Florian Weimer  <fweimer@redhat.com>
35990         [BZ #17187]
35991         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35992         trans_compare, open_translit, __gconv_translit_find):
35993         Remove module loading code.
35995 2014-08-26  Allan McRae  <allan@archlinux.org>
35997         * po/vi.po: Update Vietnamese translation from translation project.
35999         * po/uk.po: Update Ukrainian translation from translation project.
36001         * po/fr.po: Update French translation from translation project.
36003         * po/ru.po: Update Russian translation from translation project.
36005         * po/pl.po: Update Polish translation from translation project.
36007         * po/cs.po: Update Czech translation from translation project.
36009         * po/de.po: Update German translation from translation project.
36011         * po/bg.po: Update Bulgarian translation from translation project.
36013         * po/sv.po: Update Sweedish translation from translation project.
36015         * po/nl.po: Update Dutch translation from translation project.
36017         * po/es.po: Update Spanish translation from translation project.
36019 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36021         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
36023         * catgets/Makefile (CPPFLAGS-gencat): Remove.
36024         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
36025         (CPPFLAGS-iconvconfig): Likewise.
36026         * timezone/Makefile (CPPFLAGS-zic): Likewise.
36028         * include/libc-symbols.h: Remove unnecessary check for
36029         NOT_IN_libc.
36030         * nptl/pthreadP.h: Likewise.
36031         * sysdeps/aarch64/setjmp.S: Likewise.
36032         * sysdeps/alpha/setjmp.S: Likewise.
36033         * sysdeps/arm/sysdep.h: Likewise.
36034         * sysdeps/i386/setjmp.S: Likewise.
36035         * sysdeps/m68k/setjmp.c: Likewise.
36036         * sysdeps/posix/getcwd.c: Likewise.
36037         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36038         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36039         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36040         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36041         * sysdeps/sh/sh3/setjmp.S: Likewise.
36042         * sysdeps/sh/sh4/setjmp.S: Likewise.
36043         * sysdeps/unix/alpha/sysdep.h: Likewise.
36044         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36045         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36046         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36047         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36051         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36052         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36053         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36054         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36055         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36057         * sysdeps/x86_64/setjmp.S: Likewise.
36059 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
36061         [BZ #17263]
36062         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36063         <stdint.h>.
36064         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36065         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36067 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36069         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36071         [BZ #17262]
36072         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36073         and __x86_64__ when disabling x87 inline functions.
36075 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36077         [BZ #17259]
36078         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36079         asm statement with __cpuid_count.
36081 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
36083         * configure.ac: Change __ehdr_start code to dereference the struct.
36084         Run readelf on the output to look for relocations.
36085         * configure: Regenerated.
36087 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
36089         [BZ #17261]
36090         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36091         value to 0.
36092         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36094 2014-08-12  Roland McGrath  <roland@hack.frob.com>
36096         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36098 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
36100         [BZ #16892]
36101         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36102         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36104 2014-08-12  Sean Anderson  <seanga2@gmail.com>
36106         * malloc/malloc.c: Fix typo in comment.
36108 2014-08-09  Allan McRae  <allan@archlinux.org>
36110         * Regenerate libc.po.
36112 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
36114         * intl/tst-gettext2.sh: Check every lang file for creation.
36116 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36118         * sysdeps/aarch64/fpu/math_private.h
36119         (libc_feholdsetround_noex_aarch64_ctx): New function.
36121 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36123         * sysdeps/arm/armv6/strcpy.S (strcpy):
36124         Fix performance issue in misaligned cases.
36126 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36128         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36129         Move definition from termios.h.
36130         (struct termio): Likewise.
36131         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36132         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36133         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36134         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36135         Likewise.
36136         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36137         Move definition to ioctl-types.h
36138         (struct termio): Likewise.
36139         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36140         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36141         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36142         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36143         Likewise.
36145 2014-08-05  Richard Henderson  <rth@redhat.com>
36147         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36148         exceptions.
36149         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36150         Add fraiseexcpt.
36151         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36152         Use __feraiseexcept.
36153         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36154         Protect libm symbols with IS_IN_libm.
36156         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36158 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
36160         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36162 2014-08-04  Will Newton  <will.newton@linaro.org>
36164         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36165         file.
36167 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
36169         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36170         variants for each function.
36172 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36174         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36175         appended ...
36176         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36177         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36178         appended ...
36179         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36180         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36181         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36182         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36183         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36184         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36185         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36186         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36187         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36188         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36189         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36190         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36191         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36192         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36193         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36194         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36195         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36196         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36197         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36198         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36199         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36200         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36201         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36202         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36203         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36204         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36205         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36206         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36207         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36208         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36209         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36210         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36211         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36212         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36213         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36214         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36215         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36216         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36217         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36218         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36219         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36220         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36221         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36222         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36223         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36224         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36225         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36226         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36227         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36228         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36229         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36230         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36231         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36232         Update #include.
36233         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36234         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36236 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36238         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36239         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36240         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36241         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36242         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36243         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36245 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36247         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36248         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36249         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36250         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36252 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36254         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36255         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36256         (__libc_vfork): Define function under this name.
36257         (__vfork): Define as an alias.
36258         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36259         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36261 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36263         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36264         that was previously under [RESET_PID].
36265         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36267 2014-08-04  Andreas Schwab  <schwab@suse.de>
36269         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36271 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
36273         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36274         (main): Likewise.
36276 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36278         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36280 2014-08-01  Richard Henderon  <rth@redhat.com>
36282         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36283         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36284         typo in exact zero test.
36285         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36286         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36287         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36289 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36291         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36292         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36293         * sysdeps/arm/sysdep.h: ... here.
36294         [!__ASSEMBLER__]: Include <stdint.h>.
36296 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36298         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36299         (HAVE_WCTYPE_H): Likewise.
36300         (HAVE_ISWCTYPE): Likewise.
36301         (ENABLE_NLS): Likewise.
36302         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36303         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36305         * posix/regex_internal.c: Check if DEBUG is defined and is
36306         set.
36308         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36309         (HAVE_MBSRTOWCS): Likewise.
36310         * posix/fnmatch.c: Include string.h unconditionally.
36312 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36314         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36315         reversal.
36317 2014-07-31  Roland McGrath  <roland@hack.frob.com>
36319         * sysdeps/generic/safe-fatal.h: New file.
36320         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36321         * nptl/forward.c: Include it.
36322         (__pthread_unwind): Use __safe_fatal as default action, rather
36323         than a bogus use of INTERNAL_SYSCALL that could never work.
36325         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36326         * configure.ac (libc_cv_builtin_trap): New test.
36327         * configure: Regenerated.
36328         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36329         (ABORT_INSTRUCTION): Define using __builtin_trap.
36331         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36332         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36333         * sysdeps/nptl/nptl-signals.h: New file.
36334         * nptl/pthreadP.h: Include <nptl-signals.h>.
36336 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36338         * sysdeps/s390/s390-64/utf16-utf32-z9.c
36339         (ONE_DIRECTION): Define.
36340         * sysdeps/s390/s390-64/utf8-utf16-z9.c
36341         (ONE_DIRECTION): Define.
36342         * sysdeps/s390/s390-64/utf8-utf32-z9.c
36343         (ONE_DIRECTION): Define.
36345 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36347         * sysdeps/s390/Makefile: Delete file.
36348         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36349         * sysdeps/s390/__longjmp.c: Delete file.
36350         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36351         Remove fields __flags and __reserved.
36352         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36353         and add versioning.
36354         * sysdeps/s390/rtld-__longjmp.c: Delete file.
36355         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36356         * sysdeps/s390/rtld-setjmp.S: Likewise.
36357         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36358         * sysdeps/s390/s390-32/__longjmp.c: ... here.
36359         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36360         * sysdeps/s390/s390-32/setjmp.S: ... here.
36361         Add versioning.
36362         (__sigsetjmp): Remove setting __flags field.
36363         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36364         * sysdeps/s390/s390-64/__longjmp.c: ... here.
36365         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36366         * sysdeps/s390/s390-64/setjmp.S: ... here.
36367         Add versioning.
36368         (__sigsetjmp): Remove setting __flags field.
36369         * sysdeps/s390/setjmp.S: Delete file.
36370         * sysdeps/s390/sigjmp.c: Likewise.
36371         * sysdeps/s390/v1-longjmp.c: Likewise.
36372         * sysdeps/s390/v1-setjmp.h: Likewise.
36373         * sysdeps/s390/v1-sigjmp.c: Likewise.
36374         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36375         Remove v1-longjmp_chk.
36376         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36377         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36378         Include debug/longjmp_chk.c and add versioning.
36379         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36380         Include nptl/pt-longjmp.c and add versioning.
36381         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36382         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36383         Include __longjmp.c.
36384         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36385         Move to ...
36386         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36387         (__getcontext): Remove setting __flags field.
36388         Add versioning.
36389         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36390         Don't restore upper high grps.
36391         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36392         Likewise.
36393         (__swapcontext): Remove setting uc_flags field.
36394         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36395         Delete file.
36396         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36397         Include __longjmp.c.
36398         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36399         Move to ...
36400         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36401         (__getcontext): Remove setting __flags field.
36402         Add versioning.
36403         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36404         (__swapcontext): Remove setting uc_flags field.
36405         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36406         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36407         Remove fields uc_high_gprs and __reserved.
36408         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36409         New file with reverted content.
36410         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36411         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36412         Regenerated.
36413         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36414         Regenerated.
36416 2014-07-31  Andreas Schwab  <schwab@suse.de>
36418         * config.h.in (HAVE_IFUNC): Define to 0.
36419         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36420         definedness.
36422 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
36424         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36425         memmove-avx-unaligned, memcpy-avx-unaligned and
36426         mempcpy-avx-unaligned.
36427         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36428         Add tests for AVX memcpy functions.
36429         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36430         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36431         memcpy_chk.
36432         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36433         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36434         memmove_chk.
36435         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36436         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36437         mempcpy_chk.
36438         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36439         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36440         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36442 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36444         [BZ #17213]
36445         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36446         powerpc64le.
36448 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
36450         [BZ #16839]
36451         * manual/llio.texi: Add section about open file description locks.
36452         * manual/examples/ofdlocks.c: Example of open file description
36453         lock usage.
36454         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36455         F_OFD_SETLK, and F_OFD_SETLKW.
36457 2014-07-23  Allan McRae  <allan@archlinux.org>
36459         * po/es.po: Update Spanish translation from translation project.
36461 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
36463         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36465 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
36467         [BZ #17078]
36468         * sysdeps/arm/dl-machine.h (elf_machine_rela)
36469         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36470         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36472 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
36474         [BZ #17088]
36475         * math/fesetenv.c (__fesetenv)
36476         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36477         * math/feupdateenv.c (__feupdateenv)
36478         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36480         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36481         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36482         (__ASSUME_SOCKETCALL): Do not define.
36484         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36485         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36486         (__ASSUME_SOCKETCALL): Do not define.
36487         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36488         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36489         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36490         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36491         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36492         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36493         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36494         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36496         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36497         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36498         (__ASSUME_SOCKETCALL): Do not define.
36499         (__ASSUME_IPC64): Define unconditionally.
36500         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36501         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36502         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36503         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36504         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36505         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36506         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36507         Likewise.
36509         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36510         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36511         (__ASSUME_SOCKETCALL): Do not define.
36512         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36513         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36514         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36515         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36516         (__ASSUME_REQUEUE_PI): Define unconditionally.
36517         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36518         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36519         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36520         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36521         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36522         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36524         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36525         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36526         (__ASSUME_SOCKETCALL): Do not define.
36527         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36528         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36529         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36530         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36531         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36532         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36534         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36535         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36536         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36537         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36538         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36539         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36540         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36541         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
36542         (__ASSUME_GETCPU_SYSCALL): Likewise.
36544         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
36545         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
36546         cases for individual architectures.
36547         * sysdeps/gnu/configure: Regenerated.
36548         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
36549         LIBC_SLIBDIR_RTLDDIR.
36550         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
36551         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
36552         LIBC_SLIBDIR_RTLDDIR.
36553         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
36555         LIBC_SLIBDIR_RTLDDIR.
36556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36557         Regenerated.
36558         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
36559         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
36560         file.
36561         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
36562         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
36563         file.
36564         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
36565         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
36566         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
36567         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
36569         * sysdeps/aarch64/shlib-versions: Move to ...
36570         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
36571         * sysdeps/alpha/shlib-versions: Move to ...
36572         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
36573         * sysdeps/arm/shlib-versions: Move to ...
36574         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
36575         * sysdeps/hppa/shlib-versions: Move all contents except for
36576         libgcc_s entry to ...
36577         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
36578         entry from ...
36579         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
36580         * sysdeps/ia64/shlib-versions: Move to ...
36581         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
36582         entry from ...
36583         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
36584         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36585         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36586         * sysdeps/microblaze/shlib-versions: Move to ...
36587         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36588         * sysdeps/mips/shlib-versions: Move to ...
36589         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
36590         entry from ...
36591         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
36592         * sysdeps/tile/shlib-versions: Move to ...
36593         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36594         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36595         from ...
36596         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
36597         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36598         entry from ...
36599         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
36601 2014-07-17  Will Newton  <will.newton@linaro.org>
36603         * sysdeps/arm/bits/atomic.h
36604         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36605         (__arch_compare_and_exchange_bool_16_int): Likewise.
36606         (__arch_compare_and_exchange_bool_64_int): Likewise.
36608         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36609         into an #else block.
36611 2014-07-16  Roland McGrath  <roland@hack.frob.com>
36613         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36614         just Linux configurations.  Test empirically that the compiler sets
36615         __ARM_EABI__, rather than using the tuple to decide.
36616         * sysdeps/arm/preconfigure: Regenerated.
36617         * sysdeps/unix/sysv/linux/arm/configure: File removed.
36618         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36619         contents appended ...
36620         * sysdeps/arm/configure.ac: ... here.
36621         * sysdeps/arm/configure: Regenerated.
36623 2014-07-15  Roland McGrath  <roland@hack.frob.com>
36625         * nptl/pthread_kill.c: New file.
36626         * nptl/pthread_sigmask.c: New file.
36627         * nptl/pthread_sigqueue.c: New file.
36629         * sysdeps/nptl/lowlevellock.h: New file.
36630         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36631         * sysdeps/nptl/lowlevellock-futex.h: New file.
36633         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36634         Remove dead declarations.
36636 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
36638         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36639         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36640         config-cflags-avx2.
36641         * sysdeps/x86_64/configure.ac: Likewise.
36642         * sysdeps/i386/configure: Regenerated.
36643         * sysdeps/x86_64/configure: Likewise.
36644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36645         memset-avx2 only if config-cflags-avx2 is yes.
36646         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36647         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36648         defined.
36649         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36650         only if HAVE_AVX2_SUPPORT is defined.
36651         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36653 2014-07-14  Alan Modra  <amodra@gmail.com>
36655         [BZ #17153]
36656         * elf/elf.h (DT_PPC64_NUM): Correct value.
36657         * NEWS: Add to fixed bug list.
36659 2014-07-13  Jim Meyering  <meyering@fb.com>
36661         [BZ 17150]
36662         regex: don't deref NULL upon heap allocation failure
36663         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36664         failure in one more place.
36665         To trigger the segfault, configure grep -with-included-regex,
36666         build it, and run these commands:
36667         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36669 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
36671         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36673 2014-07-11  Richard Henderson  <rth@redhat.com>
36675         * sysdeps/aarch64/libm-test-ulps: Update.
36677 2014-07-10  Florian Weimer  <fweimer@redhat.com>
36679         [BZ #17135]
36680         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36681         * nptl/allocatestack.c (__nptl_setxid_error): New function.
36682         (__nptl_setxid): Initialize error member.  Call
36683         __nptl_setxid_error.
36684         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36685         * nptl/descr.h (struct xid_command): Add error member.
36686         * nptl/tst-setuid3.c: New file.
36687         * nptl/Makefile (tests): Add it.
36689 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36691         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36692         New define.
36693         (__lll_trylock): Use __lll_base_trylock.
36694         (__lll_cond_trylock): Likewise.
36696 2014-07-10  Roland McGrath  <roland@hack.frob.com>
36698         * nptl/pthread_create.c (start_thread): Use atomic_or and
36699         lll_futex_wake directly rather than lll_robust_dead.
36700         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36701         (lll_robust_dead): Macro removed.
36702         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36703         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36704         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36705         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36706         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36707         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36708         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36709         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36710         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36711         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36712         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36713         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36714         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36715         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36716         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36718         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36719         Use atomic_compare_and_exchange_val_acq directly rather than
36720         lll_robust_trylock.
36721         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36722         (__lll_robust_trylock, lll_robust_trylock): Removed.
36723         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36724         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36725         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36726         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36727         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36728         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36729         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36730         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36731         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36732         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36733         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36734         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36735         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36736         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36738 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36740         * manual/locale.texi (Locale Names): New section documenting
36741         locale name syntax.  Adjust menu and node chaining accordingly.
36742         (Choosing Locale): Reference Locale Names, Locale Categories.
36743         Mention setting LC_ALL=C.  Reflect that name syntax is now
36744         documented.
36745         (Locale Categories): New section title.  Reference Locale Names.
36746         LC_ALL is an environment variable, but not a category.
36747         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36748         description, now in Locale Name.  Reference that section.  Locale
36749         name syntax is now documented.
36751 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36753         [BZ #17137]
36754         * locale/findlocale.c (name_present, valid_locale_name): New
36755         functions.
36756         (_nl_find_locale): Use the loc_name variable to store name
36757         candidates.  Call name_present and valid_locale_name to check and
36758         validate locale names.  Return an error if the locale is invalid.
36760 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36762         * locale/setlocale.c (setlocale): Use strdup for allocating
36763         composite name copy.
36765 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36767         Sync up with gnulib.
36768         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36769         [!_LIBC && ENABLE_NLS]: Include gettext.h.
36770         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36771         and _GL_ARG_NONNULL.
36772         [USE_UNLOCKED_IO]: Include unlocked-io.h.
36773         [!_LIBC]: Include code for Windows and Cygwin.
36774         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36775         Include prototype for int strerror_r.
36776         [!_LIBC] (is_open): New function.
36777         (flush_stdout): New function.
36778         (print_errno_message): Use it.
36779         (error): Likewise.
36780         (error_at_line): Likewise.
36781         (error_tail) Add function attribute macros.  Use
36782         __builtin_expect.
36784         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36786         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36788         * io/ftw.c: Include sys/param.h unconditionally.
36790         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36792         [BZ #17125]
36793         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36794         libc_freeres_ptr.
36795         (freecache): New function to free CACHE on exit.
36797         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36798         initialization.
36800 2014-07-09  David S. Miller  <davem@davemloft.net>
36802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36804         * sysdeps/sparc/nptl/internaltypes.h: Delete.
36805         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36806         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36807         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36808         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36809         * sysdeps/sparc/nptl/sem_init.c: Likewise.
36810         * sysdeps/sparc/nptl/sem_post.c: Likewise.
36811         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36812         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36813         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36814         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36815         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36816         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36818 2014-07-09  Andreas Schwab  <schwab@suse.de>
36820         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36821         output.
36822         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36823         (do_test): Likewise.
36825         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36827 2014-07-09  Will Newton  <will.newton@linaro.org>
36829         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36830         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36831         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36832         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36833         * sysdeps/hppa/start.S (_start): Likewise.
36835 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36837         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36839         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36840         defined.
36842 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36844         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36845         after checking that it is non-NULL.
36847         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36849 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36851         * sysdeps/powerpc/memmove.c: Remove file.
36852         * sysdeps/powerpc/powerpc32/power4/memcopy.h
36853         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36854         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36855         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36856         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36857         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36858         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36859         string memmove instead of removed powerpc one.
36861         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36862         [weak_alias]: Fix compiler warning due trailing data.
36863         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36864         [weak_alias]: Likewise.
36865         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36866         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36869         (__libc_ifunc_impl_list): Add memmove functions.
36871 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36873         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36874         Remove code.
36875         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36876         Likewise.
36877         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36878         Likewise.
36879         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36880         Likewise.
36881         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36882         Likewise.
36883         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36884         Likewise.
36885         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36886         Likewise.
36887         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36888         Likewise.
36889         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36890         Likewise.
36891         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36892         Likewise.
36893         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36894         Likewise.
36895         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36896         Likewise.
36897         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36898         Likewise.
36899         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36900         Likewise.
36901         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36902         Likewise.
36903         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36904         Likewise.
36905         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36906         Likewise.
36908 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36910         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36911         to avoid alignment traps in non-cacheable memory.
36912         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36914         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36915         multiarch objects.
36916         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36917         file: multiarch power7 memmove.
36918         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36919         multiarch default memmove.
36920         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36921         multiarch memove for powerpc32/power4.
36923         * string/bcopy.c: Use full path to include memmove.c.
36924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36925         multiarch objects.
36926         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36927         bcopy for powerpc64.
36928         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36929         bcopy for powerpc64.
36930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36931         and memmove implementations.
36932         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36933         optimized multiarch memmove for POWER7/powerpc64.
36934         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36935         default multiarch memmove for powerpc64.
36936         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36937         multiarch for powerpc64.
36938         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36939         for POWER7/powerpc64.
36940         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36941         memmove for POWER7/powerpc64.
36943         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36944         glibc default one.
36946         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36947         __ELF_NATIVE_CLASS equal to 64.
36949 2014-07-07  Roland McGrath  <roland@hack.frob.com>
36951         * sysdeps/nptl/lowlevellock.h: File removed.
36953         * NEWS: NPTL is no longer an add-on!
36954         * nptl/internaltypes.h: Moved ...
36955         * sysdeps/nptl/internaltypes.h: ... here.
36956         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36957         * sysdeps/nptl/fork.c: Likewise.
36958         * sysdeps/nptl/gai_misc.h: Likewise.
36959         * sysdeps/nptl/librt-cancellation.c: Likewise.
36960         * sysdeps/nptl/jmp-unwind.c: Likewise.
36961         * sysdeps/nptl/setxid.h: Likewise.
36962         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36963         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36964         * sysdeps/unix/sysv/linux/arm/Implies: New file.
36965         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36966         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36967         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36968         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36969         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36970         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36971         * sysdeps/unix/sysv/linux/mips/Implies: New file.
36972         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36973         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36974         * sysdeps/unix/sysv/linux/sh/Implies: New file.
36975         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36976         * sysdeps/unix/sysv/linux/tile/Implies: New file.
36977         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36978         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36979         * nptl/Makeconfig: Moved ...
36980         * sysdeps/nptl/Makeconfig: ... here.
36981         * nptl/configure: File removed.
36982         * nptl/ANNOUNCE: File removed.
36983         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36984         * sysdeps/unix/sysv/linux/configure: Regenerated.
36986         * nptl/Makefile (routines): Add libc_pthread_init,
36987         libc_multiple_threads, register-atfork and unregister-atfork.
36988         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36989         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36990         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36991         pthread-pi-defines.sym, structsem.sym.
36992         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36993         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36994         [$(subdir) = nptl] (tests): Add tst-setgetname.
36995         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36996         * sysdeps/unix/sysv/linux/sigaction.c: Just include
36997         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36998         [!LIBC_SIGACTION]: Remove aliases.
36999         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37000         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37001         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37002         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
37003         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37004         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
37005         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37006         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37007         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37008         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
37009         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
37010         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
37011         __libc_allocate_rtsig_private.
37012         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
37013         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
37014         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
37015         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
37016         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
37017         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
37018         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
37019         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
37020         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
37021         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
37022         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
37023         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
37024         * nptl/internaltypes.h: ... here.
37025         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
37026         * sysdeps/nptl/jmp-unwind.c: ... here.
37027         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37028         * nptl/libc-lowlevellock.c: ... here.
37029         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37030         * nptl/libc_multiple_threads.c: ... here.
37031         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37032         * nptl/libc_pthread_init.c: ... here.
37033         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37034         * nptl/lowlevelbarrier.sym: ... here.
37035         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37036         * nptl/lowlevelcond.sym: ... here.
37037         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37038         * nptl/lowlevellock.c: ... here.
37039         * nptl/lowlevellock.h: Moved ...
37040         * sysdeps/nptl/lowlevellock.h: ... here.
37041         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37042         * nptl/lowlevelrobustlock.c: ... here.
37043         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37044         * nptl/lowlevelrobustlock.sym: ... here.
37045         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37046         * nptl/lowlevelrwlock.sym: ... here.
37047         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37048         * nptl/pt-fork.c: ... here.
37049         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37050         * nptl/pthread-pi-defines.sym: ... here.
37051         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37052         * nptl/pthread_attr_getaffinity.c: ... here.
37053         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37054         * nptl/pthread_attr_setaffinity.c: ... here.
37055         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37056         * nptl/pthread_mutex_cond_lock.c: ... here.
37057         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37058         Update #include.
37059         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37060         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37061         * nptl/pthread_once.c: ... here, replacing old file.
37062         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37063         * nptl/pthread_yield.c: ... here.
37064         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37065         * nptl/register-atfork.c: ... here.
37066         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37067         * nptl/sem_post.c: ... here.
37068         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37069         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37070         * nptl/sem_timedwait.c: ... here.
37071         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37072         * nptl/sem_trywait.c: ... here.
37073         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37074         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37075         * nptl/sem_wait.c: ... here.
37076         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37077         * nptl/structsem.sym: ... here.
37078         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37079         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37080         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37081         * nptl/unregister-atfork.c: ... here.
37082         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37083         * nptl/unwindbuf.sym: ... here.
37084         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37085         * sysdeps/nptl/fork.c: ... here.
37086         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37087         * sysdeps/nptl/fork.h: ... here.
37088         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37089         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37090         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37091         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37092         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37093         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37094         * sysdeps/unix/sysv/linux/getpid.c: ... here.
37095         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37096         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37097         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37098         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37099         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37100         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37101         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37102         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37103         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37104         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37105         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37106         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37107         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37108         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37109         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37110         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37111         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37112         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37113         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37114         * sysdeps/unix/sysv/linux/raise.c: ... here.
37115         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37116         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37117         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37118         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37119         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37120         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37121         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37122         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37123         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37124         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37125         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37126         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37127         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37128         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37129         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37131 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37133         * sysdeps/generic/memcopy.h: Add comment for
37134         MEMCPY_OK_FOR_FWD_MEMMOVE.
37136 2014-07-04  Will Newton  <will.newton@linaro.org>
37138         * string/memchr.c: Merge from gnulib.
37139         [_LIBC]: Remove conditionals.
37140         (__ptr_t): Remove define.
37141         (LONG_MAX_32_BITS): Likewise.
37142         (LONG_MAX): Likewise.
37143         (MEMCHR): Use ANSI prototype and optimize algorithm.
37145         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37147 2014-07-03  Roland McGrath  <roland@hack.frob.com>
37149         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37150         (lll_futex_timed_wait_bitset): Fix syscall argument count.
37152         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37153         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37154         in a bare environment with no <stdlib.h> installed.
37155         * sysdeps/nptl/configure: Regenerated.
37157         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37159         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37160         AC_EGREP_CPP for kernel header checks, so they only succeed if
37161         including <linux/version.h> actually works right.
37162         * sysdeps/unix/sysv/linux/configure: Regenerated.
37164         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37165         value so it's not diagnosed as unused.
37167         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37168         thing) with "ifeq ($(subdir),rt)".
37170 2014-07-03  Richard Henderson  <rth@redhat.com>
37172         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37173         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37174         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37176         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37177         (math_force_eval): New.
37179         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37180         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37182         * sysdeps/alpha/fpu/s_round.c: Remove file.
37183         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37185         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37186         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37187         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37188         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37189         (_dl_start, print_statistics): Likewise.
37190         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37191         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37193         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37194         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37195         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37196         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37197         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37198         (HP_SMALL_TIMING_AVAIL): Define.
37199         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37200         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37201         (HP_SMALL_TIMING_AVAIL): Define.
37202         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37203         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37205         * sysdeps/aarch64/hp-timing.h: New file.
37207         * sysdeps/generic/hp-timing.h: Remove dead comment.
37208         * sysdeps/generic/hp-timing-common.h: New file.
37209         * sysdeps/alpha/hp-timing.h: Include it.
37210         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37211         * sysdeps/i386/i686/hp-timing.h: Likewise.
37212         * sysdeps/ia64/hp-timing.h: Likewise.
37213         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37214         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37215         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37216         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37217         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37218         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37219         (hp_timing_t): New.
37221         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37222         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37223         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37224         * elf/rtld.c (_dl_start_final): Likewise.
37225         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37226         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37227         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37228         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37229         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37230         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37231         (HP_TIMING_DIFF_INIT): Remove.
37232         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37233         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37234         (HP_TIMING_DIFF_INIT): Remove.
37235         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37236         * sysdeps/i386/i686/hp-timing.c: Remove file.
37237         * sysdeps/x86_64/hp-timing.c: Remove file.
37238         * sysdeps/ia64/hp-timing.c: Remove file.
37239         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37240         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37241         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37242         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37244         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37245         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37246         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37247         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37248         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37249         (HP_TIMING_ACCUM): Remove.
37250         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37251         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37252         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37254         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37255         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37256         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37257         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37258         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37259         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37260         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37261         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37263         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37265 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
37267         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37269 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37271         Sync up with gettext.
37272         * intl/loadmsgcat.c: Define O_BINARY if not defined.
37273         [_MSC_VER]: Include malloc.h
37274         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37275         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37276         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
37277         TEMP_FAILURE_RETRY.  Cast return of alloca.
37278         [!_LIBC] Call gl_rwlock_init.
37279         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37281 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37283         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37284         before checking its value.
37286 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37288         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37290         * debug/memcpy_chk.c: Don't include pagecopy.h.
37291         * debug/mempcpy_chk.c: Likewise.
37292         * string/memcpy.c: Likewise.
37293         * string/memmove.c: Likewise.
37294         * sysdeps/powerpc/memmove.c: Likewise.
37295         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
37296         definition of PAGE_COPY_FWD_MAYBE here...
37297         * sysdeps/generic/pagecopy.h: ... from here.
37298         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37300 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37301             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37303         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37305         optimizations.
37306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37307         (__libc_ifunc_impl_list): Likewise.
37308         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37309         multiarch strcat for PPC64.
37310         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37311         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37313 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37315         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37317 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37319         * intl/loadmsgcat.c: Remove declaration of
37320         get_sysdep_segment_value.
37321         (get_sysdep_segment_value): Use ISO C style.
37322         (_nl_load_domain): Use ISO C style.  Get rid of redundant
37323         semicolon.  Fix typo and formatting in comment.
37324         (_nl_unload_domain): Use ISO C style.
37326         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37328 2014-07-02  Will Newton  <will.newton@linaro.org>
37330         * malloc/obstack.c: Merge from gnulib master.
37331         [HAVE_CONFIG_H]: Remove conditional code.
37332         [!_LIBC]: Include config.h.
37333         [!ELIDE_CODE]: Don't include inttypes.h, include
37334         stdint.h unconditionally.
37335         (print_and_abort): Mark as _Noreturn.
37336         (_obstack_allocated_p): Mark as __attribute_pure__.
37337         (obstack_free): Rename to __obstack_free.
37338         [!__attribute__]: Remove conditional code.
37339         * malloc/obstack.h: Merge from gnulib master.
37340         [__cplusplus]: Move conditional down.
37341         [!__attribute_pure__]: Define __attribute_pure__ here
37342         if it is not already defined.
37343         (_obstack_memory_used): Mark as __attribute_pure__.
37344         [!__obstack_free]: Define as obstack_free.
37345         [__GNUC__]: Remove check for ancient NeXT gcc.
37347 2014-07-02  Will Newton  <will.newton@linaro.org>
37348             Paul Eggert  <eggert@cs.ucla.edu>
37350         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37352 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37354         * resolv/gethnamaddr.c: Add comment warning that the file is
37355         not maintained.
37357 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
37359         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37360         entries.
37362         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37363         entry for aio_cancel and aio_cancel64.
37364         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37365         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37366         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37367         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37368         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37369         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37370         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37371         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37372         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37373         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37374         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37375         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37376         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37378 2014-07-01  Roland McGrath  <roland@hack.frob.com>
37380         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37381         * nptl/pthread_mutex_lock.c: Likewise.
37382         * nptl/pthread_mutex_timedlock.c: Likewise.
37383         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37385 2014-07-01  Richard henderson  <rth@redhat.com>
37387         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37388         (__isnan, __isnanl): Remove.
37389         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37391         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37393 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
37395         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37397 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37399         * resolv/nss_dns/dns-host.c (getanswer_r)
37400         [MULTI_PTRS_ARE_ALIASES]: Remove code.
37402 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
37404         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37405         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37406         undefine.
37407         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37408         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37410 2014-07-01  Roland McGrath <roland@hack.frob.com>
37412         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37413         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37415         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37416         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37418         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37419         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37420         ... here.
37421         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37422         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37424         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37425         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37426         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37427         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37429         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37430         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37431         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37432         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37433         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37434         Moved ...
37435         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37436         ... here.
37437         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37438         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37439         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37440         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37441         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37442         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37443         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37444         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37445         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37446         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37447         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37448         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37449         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37450         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37451         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37452         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37453         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37454         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37455         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37456         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37457         ... here.
37458         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37459         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37460         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37461         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37462         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37463         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37464         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37465         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37467 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
37469         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37470         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37471         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37472         Add sysdep.
37474 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37478 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
37480         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37481         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37483         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37485         * sysdeps/arm/libm-test-ulps: Regenerated.
37487 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
37488             Roland McGrath <roland@hack.frob.com>
37490         * test-skeleton.c (signal_handler): Kill the whole process group
37491         before killing the child individually.
37492         (main): Report any failure on `setpgid'.
37494 2014-06-30  Roland McGrath  <roland@hack.frob.com>
37496         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37497         from _TLS_H to _ARM_NPTL_TLS_H.
37498         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37499         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37501 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
37503         [BZ #16539]
37504         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37505         (__expm1l): Return argument unchanged when small but not
37506         subnormal.
37508         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37509         include macro name.
37510         (_FP_UNPACK_RAW_1_P): Likewise.
37511         (_FP_PACK_RAW_1): Likewise.
37512         (_FP_PACK_RAW_1_P): Likewise.
37513         (_FP_MUL_MEAT_1_wide): Likewise.
37514         (_FP_MUL_MEAT_DW_1_hard): Likewise.
37515         (_FP_MUL_MEAT_1_hard): Likewise.
37516         (_FP_DIV_MEAT_1_imm): Likewise.
37517         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37518         (_FP_DIV_MEAT_1_udiv): Likewise.
37519         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37520         (_FP_UNPACK_RAW_2): Likewise.
37521         (_FP_UNPACK_RAW_2_P): Likewise.
37522         (_FP_PACK_RAW_2): Likewise.
37523         (_FP_PACK_RAW_2_P): Likewise.
37524         (_FP_MUL_MEAT_DW_2_wide): Likewise.
37525         (_FP_MUL_MEAT_2_wide): Likewise.
37526         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37527         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37528         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37529         (_FP_MUL_MEAT_2_gmp): Likewise.
37530         (_FP_DIV_MEAT_2_udiv): Likewise.
37531         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37532         (_FP_FRAC_SRL_4): Likewise.
37533         (_FP_FRAC_SRST_4): Likewise.
37534         (_FP_FRAC_SRS_4): Likewise.
37535         (_FP_UNPACK_RAW_4): Likewise.
37536         (_FP_UNPACK_RAW_4_P): Likewise.
37537         (_FP_PACK_RAW_4): Likewise.
37538         (_FP_PACK_RAW_4_P): Likewise.
37539         (_FP_MUL_MEAT_DW_4_wide): Likewise.
37540         (_FP_MUL_MEAT_4_wide): Likewise.
37541         (_FP_MUL_MEAT_4_gmp): Likewise.
37542         (umul_ppppmnnn): Likewise.
37543         (_FP_DIV_MEAT_4_udiv): Likewise.
37544         (__FP_FRAC_ADD_4): Likewise.
37545         (__FP_FRAC_SUB_3): Likewise.
37546         (__FP_FRAC_SUB_4): Likewise.
37547         (__FP_FRAC_DEC_3): Likewise.
37548         (__FP_FRAC_DEC_4): Likewise.
37549         (__FP_FRAC_ADDI_4): Likewise.
37550         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
37551         (_FP_FRAC_SRL_8): Likewise.
37552         (_FP_FRAC_SRS_8): Likewise.
37554         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
37555         include macro name.
37556         (FP_UNPACK_RAW_EP): Likewise.
37557         (FP_PACK_RAW_E): Likewise.
37558         (FP_PACK_RAW_EP): Likewise.
37559         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
37560         (_FP_ISSIGNAN): Likewise.
37561         (_FP_ADD_INTERNAL): Likewise.
37562         (_FP_FMA): Likewise.
37563         (_FP_CMP): Likewise.
37564         (_FP_SQRT): Likewise.
37565         (_FP_TO_INT): Likewise.
37566         (_FP_FROM_INT): Likewise.
37567         (FP_EXTEND): Likewise.
37568         (_FP_DIV_MEAT_N_loop): Likewise.
37570 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
37572         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
37573         throughout.
37575 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
37577         [BZ #17097]
37578         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37579         result with correct sign in case of exponents that produce
37580         overflow except for X very close to 1.
37582 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
37584         mktime: merge #if/#ifdef usage from glibc
37585         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37586         as that works with both Glibc's and Gnulib's style.
37587         See thread starting at Siddhesh Poyarekar's bug report at:
37588         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37590 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37592         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37593         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37594         * sysdeps/tile/tilegx/memmove.c: Remove file.
37596 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37598         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37599         abi-name definition.
37600         * scripts/soversions.awk: Do not handle or generate ABI lines.
37601         * shlib-versions: Remove ABI entries.
37602         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37603         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37605 2014-06-27  Roland McGrath  <roland@hack.frob.com>
37607         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37608         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37609         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37610         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37611         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37612         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37613         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37614         Moved ...
37615         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37616         ... here.
37617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37618         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37619         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37620         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37621         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37622         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37624         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37626         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37627         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37628         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37629         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37630         Moved ...
37631         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37632         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37633         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37634         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37635         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37636         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37637         Moved ...
37638         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37639         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37640         Moved ...
37641         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37642         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37643         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37644         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37645         Moved ...
37646         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37647         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37648         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37649         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37650         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37651         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37652         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37653         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37654         Moved ...
37655         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37656         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37657         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37658         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37659         Moved ...
37660         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37661         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37662         Moved ...
37663         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37664         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37665         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37666         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37667         Moved ...
37668         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37669         ... here.
37670         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37671         Identical file removed.
37672         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37673         Moved ...
37674         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37675         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37676         Identical file removed.
37677         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37678         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37679         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37680         Moved ...
37681         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37682         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37683         Identical file removed.
37684         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37685         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37686         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37687         Identical file removed.
37688         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37689         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37690         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37691         Identical file removed.
37692         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37693         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37694         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37695         Identical file removed.
37696         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37697         Moved ...
37698         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37699         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37700         Identical file removed.
37701         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37702         Moved ...
37703         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37704         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37705         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37706         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37707         Identical file removed.
37708         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37709         Moved ...
37710         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37711         ... here.
37712         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37713         Identical file removed.
37714         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37715         Moved ...
37716         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37717         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37718         Identical file removed.
37719         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37720         Moved ...
37721         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37722         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37723         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37724         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37725         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37726         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37727         Moved ...
37728         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37729         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37730         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37732         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37733         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37734         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37735         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37736         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37738 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
37740         [BZ #17092]
37741         * nscd/nscd.c (monitor_child): Return exit status of child
37742         instead of return value from wait syscall.
37744 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37746         * configure.ac (libc_commonpagesize): Remove variable.
37747         (libc_relro_required): Likewise.
37748         (libc_cv_z_relro): Remove configure test.
37749         * configure: Regenerated.
37750         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37751         variable.
37752         (libc_relro_required): Likewise.
37753         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37754         (libc_relro_required): Likewise.
37755         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37756         (libc_relro_required): Likewise.
37757         * sysdeps/arm/preconfigure: Regenerated.
37758         * sysdeps/ia64/preconfigure: Remove file.
37759         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37760         variable.
37761         (libc_relro_required): Likewise.
37763         [BZ #16561]
37764         [BZ #16562]
37765         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37766         (__ieee754_yn): Set FE_TONEAREST mode internally and then
37767         recompute overflowing results in original rounding mode.
37768         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37769         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37770         recompute overflowing results in original rounding mode.
37771         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37772         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37773         recompute overflowing results in original rounding mode.
37774         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37775         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37776         recompute overflowing results in original rounding mode.
37777         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37778         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37779         recompute overflowing results in original rounding mode.
37780         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37781         (libc_feholdsetround_ctx): New macro.
37782         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37783         * sysdeps/i386/fpu/libm-test-ulps: Update.
37784         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37786 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37788         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37789         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37790         corresponding .cpsetup call.
37792 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37794         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37795         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37796         * sysdeps/arm/Makefile [$(subdir) = csu]
37797         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37798         (static-only-routines): Add aeabi_read_tp here.
37799         (shared-only-routines): Add libc-aeabi_read_tp here.
37800         (CFLAGS-libc-start.c): Add -fexceptions here.
37801         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37802         (sysdep_routines, static-only-routines, shared-only-routines):
37803         Don't add to these here.
37804         (CFLAGS-libc-start.c): Likewise.
37806         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37807         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37808         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37809         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37810         * sysdeps/arm/Makefile [$(subdir) = rt]
37811         (librt-sysdep_routines, librt-shared-only-routines):
37812         Append rt-aeabi_unwind_cpp_pr1 here.
37813         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37814         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37815         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37816         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37817         Append nptl-aeabi_unwind_cpp_pr1 here.
37818         (tests): Filter out tst-cleanupx4 here.
37819         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37820         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37821         Don't do those here.
37823 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37825         * scripts/list-sources.sh: Do not handle ports specially.
37827 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37829         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37830         * sysdeps/arm/feupdateenv.c: Likewise.
37832         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37834 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37836         * manual/texinfo.tex: Update to version 2014-05-05.10 with
37837         trailing whitespace removed.
37838         * scripts/config.guess: Update to version 2014-03-23.
37839         * scripts/config.sub: Update to version 2014-05-01
37840         * scripts/install-sh: Update to version 2013-12-25.23.
37841         * scripts/move-if-change: Update from gnulib.
37843 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37845         * debug/memmove_chk.c: Remove pagecopy.h include.
37847 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
37849         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
37850         identical to gnulib mktime.
37852 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37854         * configure.ac: Do not test for machine being rs6000.  Do not test
37855         for powerpc*-*soft.
37856         * configure: Regenerated.
37858         [BZ #11505]
37859         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37860         test.
37861         * configure: Regenerated.
37862         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37863         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37864         Remove configure test.
37865         * sysdeps/arm/configure: Regenerated.
37866         * sysdeps/nptl/configure.ac: Do not check
37867         libc_cv_asm_cfi_directives.
37868         * sysdeps/nptl/configure: Regenerated.
37869         * sysdeps/x86_64/nptl/configure.ac: Remove file.
37870         * sysdeps/x86_64/nptl/configure: Remove generated file.
37871         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37872         unconditional.
37873         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37875 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37877         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37878         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37879         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37880         it is defined.
37882         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37883         instead of whether it is defined.
37884         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37885         * sysdeps/hppa/dl-machine.h: Likewise.
37886         * sysdeps/ia64/dl-machine.h: Likewise.
37887         * sysdeps/m68k/dl-machine.h: Likewise.
37888         * sysdeps/microblaze/dl-machine.h: Likewise.
37889         * sysdeps/mips/dl-machine.: Likewise.
37890         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37891         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37892         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37893         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37894         * sysdeps/sh/dl-machine.h: Likewise.
37895         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37896         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37897         * sysdeps/tile/dl-machine.h: Likewise.
37898         * sysdeps/x86_64/dl-machine.h: Likewise.
37900         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37901         code.
37902         (verify_persistent_db): Likewise.
37904 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37907         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37909         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37911         Moved ...
37912         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37913         ... here.
37914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37915         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37917         Identical file removed.
37918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37919         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37921         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37923         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37925         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37927         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37929         Moved ...
37930         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37932         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37934         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37936         Moved ...
37937         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37939         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37941         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37943         Identical file removed.
37944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37945         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37947         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37949         Moved ...
37950         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37951         ... here.
37952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37953         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37955         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37957         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37959         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37961         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37963         Moved ...
37964         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37966         Moved ...
37967         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37969         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37971         Moved ...
37972         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37974         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37976         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37977         folded into ...
37978         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37979         * sysdeps/unix/sysv/linux/s390/Versions
37980         (libpthread: GLIBC_2.19): New version set.
37981         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37982         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37983         (librt: GLIBC_2.3.3): New version set.
37984         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37985         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37986         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37987         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37988         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37989         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37990         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37991         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37992         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37993         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37994         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37995         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37996         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37997         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37998         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37999         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
38000         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
38001         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
38002         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
38003         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
38004         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
38005         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
38006         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
38007         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
38008         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
38009         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
38010         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
38011         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
38012         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
38013         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
38014         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
38015         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
38016         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
38017         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
38018         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
38019         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
38020         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
38021         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
38022         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
38023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
38024         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
38025         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
38026         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38027         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38028         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38030         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38031         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38032         (__libc_vfork): Define the function under this name.
38033         [!NOT_IN_libc] (__vfork): Make this an alias.
38034         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38035         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38036         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38037         (__libc_vfork): Define the function under this name.
38038         [!NOT_IN_libc] (__vfork): Make this an alias.
38039         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38040         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38041         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38042         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38043         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38044         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38046         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38047         code that was previously under [RESET_PID].
38048         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38049         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38050         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38052         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38053         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38054         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38055         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38056         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38057         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38058         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38059         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38060         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38061         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38062         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38063         Moved ...
38064         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38065         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38066         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38067         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38068         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38069         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38070         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38071         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38072         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38073         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38074         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38075         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38076         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38077         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38078         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38079         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38080         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38081         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38082         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38083         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38084         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38085         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38086         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38087         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38088         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38089         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38090         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38091         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38092         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38094 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38096         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38097         that was previously under [RESET_PID].
38098         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38100 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38102         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38103         not undefine and redefine.
38104         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38105         [O_CLOEXEC]: Make code unconditional.
38106         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38107         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38108         <kernel-features.h>.
38109         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38110         conditional variable definition.
38111         (shm_open) [O_CLOEXEC]: Make code unconditional.
38112         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38113         code.
38115         * configure.ac (USE_REGPARMS): Don't define here.
38116         * configure: Regenerated.
38117         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38118         * sysdeps/i386/configure: Regenerated.
38120         * nptl/createthread.c: Don't include kernel-features.h.
38121         * nptl/pthread_cancel.c: Likewise.
38122         * nptl/pthread_condattr_setclock.c: Likewise.
38123         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38124         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38125         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38126         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38127         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38128         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38129         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38130         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38131         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38132         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38133         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38134         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38135         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38136         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38137         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38138         * nscd/gai.c: Likewise.
38139         * nss/nss_db/db-open.c: Likewise.
38140         * sysdeps/generic/ldsodefs.h: Likewise.
38141         * sysdeps/sh/nptl/tls.h: Likewise.
38142         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38143         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38144         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38145         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38146         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38147         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38148         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38149         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38150         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38151         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38152         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38153         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38154         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38155         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38156         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38157         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38158         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38159         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38160         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38161         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38162         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38163         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38164         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38165         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38166         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38167         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38168         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38169         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38170         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38171         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38172         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38173         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38174         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38175         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38176         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38177         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38178         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38179         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38180         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38181         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38182         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38183         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38184         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38185         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38186         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38187         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38188         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38189         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38190         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38191         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38192         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38193         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38194         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38195         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38196         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38197         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38198         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38199         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38222         * sysdeps/unix/sysv/linux/pread.c: Likewise.
38223         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38224         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38225         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38226         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38227         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38228         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38229         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38230         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38231         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38232         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38233         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38234         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38235         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38236         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38237         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38238         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38239         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38240         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38241         * sysdeps/unix/sysv/linux/system.c: Likewise.
38242         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38243         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38244         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38245         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38246         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38247         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38248         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38250         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38251         * configure: Regenerated.
38252         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38254         * configure.ac (base_machine): Do not set specially for particular
38255         machines here.
38256         * configure: Regenerated.
38257         * sysdeps/powerpc/preconfigure: Move machine and base_machine
38258         settings from configure.ac.
38259         * sysdeps/i386/preconfigure: New file.
38260         * sysdeps/s390/preconfigure: Likewise.
38261         * sysdeps/sh/preconfigure: Likewise.
38262         * sysdeps/sparc/preconfigure: Likewise.
38264 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38266         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38267         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38268         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38269         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38270         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38271         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38272         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38273         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38274         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38275         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38276         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38277         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38278         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38279         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38280         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38281         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38282         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38283         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38284         * sysdeps/sparc/sparc64/Makefile: ... appended here.
38286         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38287         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38288         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38289         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38290         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38291         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38292         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38293         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38294         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38295         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38296         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38297         * sysdeps/sparc/sparc32/sem_post.c: ... here.
38298         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38299         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38300         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38301         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38302         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38303         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38304         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38305         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38306         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38307         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38308         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38309         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38310         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38311         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38312         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38313         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38314         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38315         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38316         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38317         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38318         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38319         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38320         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38321         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38322         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38323         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38326         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38328         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38330         Moved ...
38331         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38332         ... here.
38333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38334         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38336         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38338         Moved ...
38339         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38341         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38343         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38345         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38347         Moved ...
38348         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38350         Moved ...
38351         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38353         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38355         Moved ...
38356         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38358         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38360         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38362         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38364         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38366         Moved ...
38367         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38368         ... here.
38369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38370         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38372         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38374         Moved ...
38375         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38377         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38379         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38381         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38383         Moved ...
38384         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38386         Moved ...
38387         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38389         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38391         Moved ...
38392         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38394         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38396         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38398 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38400         * timezone/checktab.awk: Update from tzcode 2014e.
38401         * timezone/private.h: Likewise.
38402         * timezone/tzfile.h: Likewise.
38403         * timezone/zdump.c: Likewise.
38404         * timezone/zic.c: Likewise.
38406         * sysdeps/unix/sysv/linux/kernel-features.h
38407         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38408         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38409         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38410         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38411         Remove conditional code.
38413 2014-06-25  Will Newton  <will.newton@linaro.org>
38415         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38416         (_dl_arm_cap_flags): Add HWCAP2 values.
38417         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38418         (_DL_HWCAP_COUNT): Increase to 37.
38419         (_DL_HWCAP_LAST): New define.
38420         (_DL_HWCAP2_LAST): New define.
38421         (_dl_procinfo): Add support for printing
38422         AT_HWCAP2 entries.
38423         (_dl_string_hwcap): Use _dl_hwcap_string.
38425 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38429 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38431         * README: Do not mention ports directory.
38433         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38434         Remove macro.
38435         * sysdeps/unix/sysv/linux/futimes.c: Do not include
38436         <kernel-features.h>.
38437         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38438         conditional variable definition.
38439         (__futimes): Update comment.
38440         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38441         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38443         [BZ #16560]
38444         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38445         arguments close to 0.
38446         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38447         Likewise.
38448         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38449         Likewise.
38450         * math/auto-libm-test-in: Add more tests of exp10.
38451         * math/auto-libm-test-out: Regenerated.
38452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38454         * sysdeps/unix/sysv/linux/kernel-features.h
38455         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38456         * sysdeps/unix/sysv/linux/readv.c: Do not include
38457         <kernel-features.h>.
38458         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38459         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38460         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38461         unconditional.
38462         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38463         conditional code.
38464         * sysdeps/unix/sysv/linux/writev.c: Do not include
38465         <kernel-features.h>.
38466         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38467         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38468         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38469         unconditional.
38470         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38471         conditional code.
38473 2014-06-25  Will Newton  <will.newton@linaro.org>
38475         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38476         comment changes throughout the file.  Remove checks
38477         for HAVE_*_H definitions that are not required.
38478         (__gen_tempname): Call abort if an unknown kind value is
38479         passed.
38481 2014-06-25  Andreas Schwab  <schwab@suse.de>
38483         [BZ #17086]
38484         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38485         scalbln, scalblnf, scalblnl in libc.
38487 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38489         [BZ #17086]
38490         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38491         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38492         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38494 2014-06-24  Roland McGrath  <roland@hack.frob.com>
38496         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38497         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38498         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38499         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38500         Update #include.
38501         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38502         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38503         Update #include.
38504         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38505         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38506         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38507         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38508         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38509         * sysdeps/x86/bits/pthreadtypes.h: ... here.
38510         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38511         * sysdeps/x86/bits/semaphore.h: ... here.
38512         * sysdeps/x86/nptl/elide.h: Moved ...
38513         * sysdeps/x86/elide.h: ... here.
38514         * sysdeps/x86_64/nptl/Implies: File removed.
38515         * sysdeps/i386/nptl/Implies: File removed.
38517 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
38519         [BZ #16539]
38520         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38521         return the argument for normal arguments with exponent below -64.
38522         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38523         Likewise.
38524         * math/auto-libm-test-in: Add another test of expm1.
38525         * math/auto-libm-test-out: Regenerated.
38527         [BZ #16287]
38528         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38529         calling __erfcl for arguments at least 16.
38530         * math/auto-libm-test-in: Add more tests of erf.
38531         * math/auto-libm-test-out: Regenerated.
38533         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38534         individual architectures.
38535         * sysdeps/unix/sysv/linux/configure: Regenerated.
38536         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38537         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38538         * sysdeps/unix/sysv/linux/powerpc/configure.ac
38539         (ldd_rewrite_script): Define variable.
38540         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
38542         file.
38543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
38544         generated file.
38545         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
38546         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
38547         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
38548         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
38549         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
38550         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
38551         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
38552         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38554 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38556         [BZ #17084]
38557         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
38558         Rename member __data.d to __data.__elision_data.
38560 2014-06-24  Wilco  <wdijkstr@arm.com>
38562         * NEWS: Add 16918 to fixed bug list.
38564 2014-06-24  Wilco  <wdijkstr@arm.com>
38566         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38568 2014-06-24  Wilco  <wdijkstr@arm.com>
38570         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
38571         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
38572         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
38573         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
38574         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
38575         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
38576         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
38577         Use _FPU_MASK_RM.
38579 2014-06-24  Wilco  <wdijkstr@arm.com>
38581         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38583 2014-06-24  Wilco  <wdijkstr@arm.com>
38585         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38586         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38587         * sysdeps/arm/fesetround.c (fesetround): Remove space.
38588         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38590 2014-06-24  Wilco  <wdijkstr@arm.com>
38592         [BZ #16918]
38593         * sysdeps/arm/feupdateenv.c (feupdateenv):
38594         Rewrite to reduce FPSCR accesses and fix return value.
38596 2014-06-24  Wilco  <wdijkstr@arm.com>
38598         * sysdeps/arm/fclrexcpt.c (feclearexcept):
38599         Optimize to avoid unnecessary FPSCR writes.
38600         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38601         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38602         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38603         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38605 2014-06-24  Wilco  <wdijkstr@arm.com>
38607         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38608         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38609         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38610         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38611         Call libc_fetestexcept_vfp.
38612         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38613         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38614         __SOFTFP__ ifdef so that they can be built for softfp.
38616 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38618         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38619         argument type signed char.
38621         * Makerules (check-abi): Dump diff of symlist if the test
38622         fails.
38624 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38626         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38627         using abort.
38629         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38630         Remove unused variable ST.
38632 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38634         [BZ #16354]
38635         [BZ #17061]
38636         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38637         small arguments before calling __expm1.
38638         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38639         small arguments before calling __expm1f.
38640         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38641         small arguments before calling __expm1l.
38642         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38643         Likewise.
38644         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38645         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
38646         spurious underflow for some cosh tests.
38647         * math/auto-libm-test-out: Regenerated.
38648         * sysdeps/i386/fpu/libm-test-ulps: Update.
38650         [BZ #17050]
38651         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38652         (__ieee754_y1): Set errno if return value overflows.
38653         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38654         (__ieee754_y1f): Set errno if return value overflows.
38655         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38656         (__ieee754_y1l): Set errno if return value overflows.
38657         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38658         (__ieee754_y1l): Set errno if return value overflows.
38659         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38660         * math/auto-libm-test-out: Regenerated.
38662         * math/gen-auto-libm-tests.c: Document use of
38663         ignore-zero-inf-sign.
38664         (input_flag_type): Add value flag_ignore_zero_inf_sign.
38665         (input_flags): Add ignore-zero-inf-sign.
38666         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38667         * math/gen-libm-test.pl (generate_testfile): Handle
38668         ignore-zero-inf-sign.
38669         * math/auto-libm-test-in: Mark some cpow tests with
38670         ignore-zero-inf-sign and some with xfail-rounding.
38671         * math/auto-libm-test-out: Regenerated.
38672         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38673         * sysdeps/i386/fpu/libm-test-ulps: Update.
38674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38676         [BZ #16315]
38677         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38678         overflowing or underflowing operations take place with sign of
38679         result.
38680         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38681         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38682         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38683         (__ieee754_pow): Recompute overflowing and underflowing results in
38684         original rounding mode.
38685         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38686         (__powl_helper): Allow negative argument X and scale negated value
38687         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
38688         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38689         overflowing or underflowing operations take place with sign of
38690         result.
38691         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38692         Include <math.h>.
38693         * math/auto-libm-test-in: Add more tests of pow.
38694         * math/auto-libm-test-out: Regenerated.
38695         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38696         (pow_tonearest_test_data): Remove.
38697         (pow_test_tonearest): Likewise.
38698         (pow_towardzero_test_data): Likewise.
38699         (pow_test_towardzero): Likewise.
38700         (pow_downward_test_data): Likewise.
38701         (pow_test_downward): Likewise.
38702         (pow_upward_test_data): Likewise.
38703         (pow_test_upward): Likewise.
38704         (main): Don't call removed functions.
38705         * sysdeps/i386/fpu/libm-test-ulps: Update.
38706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38708 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38711         Moved ...
38712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38714         Moved ...
38715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38717         Moved ...
38718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38720         Moved ...
38721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38723         File removed.
38724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38725         File removed.
38726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38727         File removed.
38728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38729         File removed.
38730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38731         File removed.
38732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38733         File removed.
38734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38735         File removed.
38736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38737         File removed.
38738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38739         File removed.
38740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38741         File removed.
38742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38743         File removed.
38744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38745         File removed.
38746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38747         Moved ...
38748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38750         Moved ...
38751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38752         ... here.
38753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38754         Moved ...
38755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38757         Moved ...
38758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38760         Moved ...
38761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38763         Moved ...
38764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38766         Moved ...
38767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38769         Moved ...
38770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38772         Moved ...
38773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38776         ... here.
38777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38778         Moved ...
38779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38781         Moved ...
38782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38783         ... here.
38784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38785         Moved ...
38786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38787         ... here.
38788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38789         Moved ...
38790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38791         ... here.
38792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38793         Moved ...
38794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38796         Moved ...
38797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38801         Moved ...
38802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38803         ... here.
38804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38805         Moved ...
38806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38807         ... here.
38808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38809         Moved ...
38810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38812         Moved ...
38813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38815         Moved ...
38816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38818         Moved ...
38819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38821         Moved ...
38822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38823         ... here.
38824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38825         Moved ...
38826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38828         Moved ...
38829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38831         Moved ...
38832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38834         Moved ...
38835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38839         Moved ...
38840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38842         Moved ...
38843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38845         Moved ...
38846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38847         ... here.
38848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38849         Moved ...
38850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38851         ... here.
38852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38853         Moved ...
38854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38855         ... here.
38856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38857         Moved ...
38858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38860         Moved ...
38861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38863         Moved ...
38864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38866         Moved ...
38867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38868         ... here.
38869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38870         Moved ...
38871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38872         ... here.
38873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38874         Moved ...
38875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38876         ... here.
38877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38878         Moved ...
38879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38881         Moved ...
38882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38884 2014-06-23  Will Newton  <will.newton@linaro.org>
38885             Wilco  <wdijkstr@arm.com>
38887         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38888         implementation.  Include get-rounding-mode.h.
38889         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38890         [!libc_feholdsetround_noex_ctx]: Define
38891         libc_feholdsetround_noex_ctx.
38892         [!libc_feholdsetround_noexf_ctx]: Define
38893         libc_feholdsetround_noexf_ctx.
38894         [!libc_feholdsetround_noexl_ctx]: Define
38895         libc_feholdsetround_noexl_ctx.
38896         (libc_feholdsetround_ctx): New function.
38897         (libc_feresetround_ctx): New function.
38898         (libc_feholdsetround_noex_ctx): New function.
38899         (libc_feresetround_noex_ctx): New function.
38901 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38903         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38904         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38905         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38906         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38907         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38908         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38910         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38911         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38912         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38913         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38914         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38915         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38916         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38917         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38918         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38919         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38920         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38921         Moved ...
38922         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38923         ... here.
38924         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38925         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38926         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38927         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38928         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38929         Moved ...
38930         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38931         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38932         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38933         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38934         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38935         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38936         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38937         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38938         Moved ...
38939         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38940         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38941         Moved ...
38942         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38943         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38944         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38945         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38946         Moved ...
38947         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38948         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38949         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38950         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38951         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38952         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38953         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38954         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38955         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38956         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38957         Moved ...
38958         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38959         ... here.
38960         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38961         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38962         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38963         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38964         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38965         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38966         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38967         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38968         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38969         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38970         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38971         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38972         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38973         Moved ...
38974         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38975         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38976         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38977         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38978         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38979         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38980         Moved ...
38981         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38982         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38983         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38984         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38985         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38987         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38988         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38989         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38990         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38991         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38992         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38993         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38994         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38995         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38996         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38997         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38998         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38999         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
39000         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
39001         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
39002         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
39003         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
39004         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
39005         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
39006         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
39007         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
39008         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
39009         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
39010         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
39011         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
39012         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
39013         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
39014         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
39016 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
39018         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
39019         (FALLOC_FL_COLLAPSE_RANGE): New macro.
39020         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
39021         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
39022         (IPV6_PMTUDISC_INTERFACE): Likewise.
39023         (IPV6_PMTUDISC_OMIT): Likewise.
39025 2014-06-23  Andreas Schwab  <schwab@suse.de>
39027         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39028         Remove unused errout label.
39030 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39032         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39033         macro: hardware supports Vector Crypto instructions.
39035 2014-06-23  Will Newton  <will.newton@linaro.org>
39037         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39038         rather than __builtin_expect.
39040         * elf/dl-lookup.c (undefined_msg): Remove variable.
39041         (_dl_lookup_symbol_x): Replace undefined_msg with string
39042         literal.
39044         * elf/dl-lookup.c (do_lookup_unique): New function.
39045         (do_lookup_x): Move STB_GNU_UNIQUE handling code
39046         to a separate function.
39048 2014-06-23  Andreas Schwab  <schwab@suse.de>
39050         [BZ #17079]
39051         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39052         before reading the next line.
39054 2014-06-23  Will Newton  <will.newton@linaro.org>
39056         * test-skeleton.c (signal_handler): Use printf and %m
39057         rather than perror.  Use printf rather than fprintf to
39058         stderr.  Use puts rather than fputs to stderr.
39059         (main): Likewise.
39061 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
39063         * nscd/nscd.c (thread_info_t): Remove typedef.
39064         (thread_info): Remove variable.
39066 2014-06-21  Allan McRae  <allan@archlinux.org>
39068         * NEWS: Mention CVE-2014-4043.
39070 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39072         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39073         * nptl/smp.h: ... here.
39075         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39077         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39078         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39079         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39080         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39082         * nptl/allocatestack.c: Include <stack-aliasing.h>.
39083         * nptl/stack-aliasing.h: New file.
39084         * sysdeps/i386/i686/stack-aliasing.h: New file.
39085         * sysdeps/i386/i686/nptl/Makefile: File removed.
39086         * sysdeps/x86_64/stack-aliasing.h: New file.
39087         * sysdeps/x86_64/nptl/Makefile
39088         (CFLAGS-pthread_create.c): Variable removed.
39090         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39091         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39092         old file.
39093         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39094         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39095         old file.
39097 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
39099         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39100         (__ASSUME_SIGFRAME_V2): Remove macro.
39101         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39102         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39103         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39104         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39105         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39106         Declare as function.  Remove conditional macro definitions.
39107         (__default_rt_sa_restorer): Likewise.
39108         (__default_sa_restorer_v1): Remove declaration.
39109         (__default_sa_restorer_v2): Likewise.
39110         (__default_rt_sa_restorer_v1): Likewise.
39111         (__default_rt_sa_restorer_v2): Likewise.
39112         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39113         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39114         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39116 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39118         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39119         (libpthread-routines): Add sysdep.
39120         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39121         * sysdeps/unix/sysv/linux/sparc/Versions
39122         (libpthread: GLIBC_2.3.3): New version set.
39123         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39124         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39125         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39126         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39127         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
39128         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39129         Moved ...
39130         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39131         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39132         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39133         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39134         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39135         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39136         * sysdeps/sparc/nptl/sem_init.c: ... here.
39137         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39138         * sysdeps/sparc/nptl/sem_post.c: ... here.
39139         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39140         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39141         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39142         * sysdeps/sparc/nptl/sem_wait.c: ... here.
39143         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39144         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39145         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39146         (libpthread-routines): Add cpu_relax.
39147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39148         File removed.
39149         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39150         (librt: GLIBC_2.3.3): New version set.
39151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39152         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39153         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39154         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39157         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39159         Moved ...
39160         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39162         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39164         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39166         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39168         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39170         Moved ...
39171         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39172         Update #include.
39173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39174         Moved ...
39175         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39176         Update #include.
39177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39178         Moved ...
39179         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39180         Update #include.
39181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39182         Moved ...
39183         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39184         Update #include.
39185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39186         Moved ...
39187         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39188         Update #include.
39189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39190         Moved ...
39191         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39192         Update #include.
39193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39194         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39196         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39198         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39200         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39202         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39204         Moved ...
39205         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39207         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39209         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39211 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39213         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39214         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39215         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39216         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39217         * nscd/nscd.c: Likewise.
39218         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39219         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39220         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39221         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39223         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39224         <kernel-features.h>.
39225         (init_mq_netlink): Remove conditional have_sock_cloexec
39226         definitions.  Remove code conditional on have_sock_cloexec < 0.
39227         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39228         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39229         * sysdeps/unix/sysv/linux/opensock.c: Do not include
39230         <kernel-features.h>.
39231         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39232         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39234 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39236         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39237         Add tests for memset_chk and memset.
39239         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39240         with AVX2_Usable.
39242 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39244         [BZ #16046]
39245         * elf/tst-dl-iter-static.c: New file.
39246         * elf/Makefile (tests-static): Add tst-dl-iter-static.
39248         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39249         error.
39251 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39253         * sysdeps/unix/sysv/linux/kernel-features.h
39254         (__ASSUME_F_GETOWN_EX): Remove macro.
39255         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39256         <kernel-features.h>.
39257         (miss_F_GETOWN_EX): Remove variable or macro.
39258         (do_fcntl): Do not check miss_F_GETOWN_EX.
39259         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39261         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39262         Remove macro.
39263         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39264         [!__ASSUME_AT_RANDOM]: Remove conditional code.
39265         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39267         * sysdeps/unix/sysv/linux/kernel-features.h
39268         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39269         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39270         [ADJ_OFFSET_SS_READ]: Make code unconditional.
39271         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39273 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39275         [BZ #17075]
39276         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39277         Fix calculation of the symbol's value.
39278         * sysdeps/arm/tst-armtlsdescloc.c: New file.
39279         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39280         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39281         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39282         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39283         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39284         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39285         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39286         (modules-names): Add `tst-armtlsdescmod',
39287         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39288         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39289         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39290         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39291         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39292         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39293         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39294         ($(objpfx)tst-armtlsdescloc): New dependency.
39295         ($(objpfx)tst-armtlsdescextnow): Likewise.
39296         ($(objpfx)tst-armtlsdescextlazy): Likewise.
39297         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39298         TLS scheme support.
39299         * sysdeps/arm/configure: Regenerate.
39301 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39303         * include/fcntl.h (__atfct_seterrno): Remove prototype.
39304         (__atfct_seterrno_2): Likewise.
39305         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39306         <kernel-features.h>.
39307         (__ASSUME_ATFCTS): Do not undefine and redefine.
39308         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39309         (__have_atfcts): Remove conditional definition.
39310         (__fxstatat([__NR_fstatat64]: Make code unconditional.
39311         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39312         unreachable if [__ASSUME_ATFCTS].
39313         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39314         not undefine and redefine.
39315         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39316         <kernel-features.h>.
39317         (faccessat) [__NR_faccessat]: Make code unconditional.
39318         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39319         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39320         <kernel-features.h>.
39321         (fchmodat) [__NR_fchmodat]: Make code unconditional.
39322         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39323         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39324         <kernel-features.h>.
39325         (fchownat) [__NR_fchownat]: Make code unconditional.
39326         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39327         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39328         <kernel-features.h>.
39329         (futimesat) [__NR_futimesat]: Make code unconditional.
39330         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39331         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39332         <kernel-features.h>.
39333         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39334         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39335         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39336         <kernel-features.h>.
39337         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39338         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39339         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39340         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39341         <kernel-features.h>.
39342         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39343         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39344         * sysdeps/unix/sysv/linux/linkat.c: Do not include
39345         <kernel-features.h>.
39346         (linkat) [__NR_linkat]: Make code unconditional.
39347         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39348         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39349         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39350         <kernel-features.h>.
39351         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39352         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39353         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39354         <kernel-features.h>.
39355         (mkdirat) [__NR_mkdirat]: Make code unconditional.
39356         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39357         * sysdeps/unix/sysv/linux/openat.c: Do not include
39358         <kernel-features.h>.
39359         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39360         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39361         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39362         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39363         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39364         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39365         <kernel-features.h>.
39366         (readlinkat) [__NR_readlinkat]: Make code unconditional.
39367         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
39368         result of INLINE_SYSCALL directly, not via int variable.
39369         * sysdeps/unix/sysv/linux/renameat.c: Do not include
39370         <kernel-features.h>.
39371         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39372         (renameat) [__NR_renameat]: Make code unconditional.
39373         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39374         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39375         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39376         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39377         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39378         (__ASSUME_ATFCTS): Do not undefine and redefine.
39379         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39380         <kernel-features.h>.
39381         (symlinkat) [__NR_symlinkat]: Make code unconditional.
39382         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39383         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39384         <kernel-features.h>.
39385         (unlinkat) [__NR_unlinkat]: Make code unconditional.
39386         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39387         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39388         (__ASSUME_ATFCTS): Do not undefine and redefine.
39389         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39390         <kernel-features.h>.
39391         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39392         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39393         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39394         <kernel-features.h>.
39395         (__xmknodat) [__NR_mknodat]: Make code unconditional.
39396         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39398 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39400         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39402 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
39404         [BZ #17069]
39405         * posix/regcomp.c (parse_reg_exp): Deallocate partially
39406         constructed tree before returning error.
39407         * posix/bug-regexp36.c: Expand test case.
39409 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39411         [BZ #6803]
39412         * math/libm-test.inc (scalbln_test_date):
39413         Add errno expectations.
39414         * math/w_scalblnf.c: New File.
39415         Add wrapper which checks for setting errno to ERANGE.
39416         Add weak_alias for corresponding scalbln function.
39417         * math/w_scalbln.c: Likewise.
39418         * math/w_scalblnl.c: Likewise.
39419         * math/Makefile (libm-calls): Add w_scalbln.
39420         * sysdeps/ieee754/flt-32/s_scalblnf.c:
39421         Remove weak_alias for corresponding scalbln function.
39422         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39423         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39424         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39425         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39426         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39427         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39428         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39429         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39430         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39431         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39432         Remove long_double_symbol for scalblnl function in libm, libc.
39433         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39434         Add wrapper which checks for setting errno to ERANGE.
39435         Add long_double_symbol for scalblnl function in libm, libc.
39436         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39437         Remove long_double_symbol for scalblnl in libm.
39438         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39439         Add wrapper which checks for setting errno to ERANGE.
39440         Add long_double_symbol for scalblnl function in libm.
39441         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39442         Do not use wrapper because of own implementation.
39444 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
39446         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39447         3 bytes for __pad1 for x32.
39448         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39450 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
39451             H.J. Lu  <hongjiu.lu@intel.com>
39453         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39454         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39455         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39456         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39457         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39459 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
39461         [BZ #17069]
39462         * posix/regcomp.c (parse_expression): Deallocate partially
39463         constructed tree before returning error.
39464         * posix/Makefile.c (tests): Add bug-regex36.
39465         (generated): Add bug-regex36.mtrace.
39466         (tests-special): Add $(objpfx)bug-regex36-mem.out
39467         (bug-regex36-ENV): New variable.
39468         ($(objpfx)bug-regex36-mem.out): New rule.
39469         * posix/bug-regex36.c: New file.
39471 2014-06-19  Will Newton  <will.newton@linaro.org>
39473         * malloc/malloc.c (systrim): If extra is zero then return
39474         early.
39476 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39478         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39480 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
39482         * sysdeps/aarch64/strchr.S: New file.
39484 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
39486         [BZ #17022]
39487         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39488         from arguments -2 or below.
39489         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39490         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39492 2014-06-18  Andreas Schwab  <schwab@suse.de>
39494         [BZ #17062]
39495         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39496         of a bracket expr not to run off the end of the string.
39497         * posix/Makefile (tests): Add tst-fnmatch3.
39498         * posix/tst-fnmatch3.c: New file.
39500 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
39502         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39503         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39504         [$(cross-compiling) = no]: Likewise.
39505         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39506         [$(cross-compiling) = no]: Likewise.
39508 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39510         [BZ #17031]
39511         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39512         double, adjusted for any remainder from the high double.
39513         * math/libm-test.inc (nearbyint): Add tests.
39514         (rint): Likewise.
39516 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39518         * nptl/sysdeps/powerpc/Makefile: Moved ...
39519         * sysdeps/powerpc/nptl/Makefile: ... here.
39520         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39521         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39522         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39523         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39524         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39525         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39526         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39527         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39528         * nptl/sysdeps/powerpc/tls.h: Moved ...
39529         * sysdeps/powerpc/nptl/tls.h: ... here.
39531 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
39533         [BZ #16681]
39534         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39535         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39536         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39537         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39538         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39539         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39540         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
39541         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
39542         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
39544 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
39546         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39548 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
39550         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
39551         defined operator.
39553         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
39554         $TIMEOUTFACTOR.
39556 2014-06-16  Florian Weimer  <fweimer@redhat.com>
39558         [BZ #17058]
39559         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
39560         non-executed part of the test.
39562 2014-06-16  Andreas Schwab  <schwab@suse.de>
39564         * string/bits/string2.h (strdup, strndup): Update feature guard.
39566 2014-06-14  David S. Miller  <davem@davemloft.net>
39568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39570 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
39572         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
39573         that was previously under [RESET_PID].
39574         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
39576         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
39577         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
39578         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39579         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39580         (__libc_vfork): New strong alias.
39581         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39583 2014-06-14 Andi Kleen  <ak@linux.intel.com>
39585         * sysdeps/generic/elide.h: New file.
39587 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39589         * Makefile (installed-headers): Adjust path of pthread.h header.
39591 2014-06-13  Roland McGrath  <roland@hack.frob.com>
39593         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39594         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39595         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39596         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39598         * nptl/sysdeps/s390/Makefile: Moved ...
39599         * sysdeps/s390/nptl/Makefile: ... here.
39600         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39601         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39602         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39603         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39604         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39605         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39606         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39607         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39608         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39609         * sysdeps/s390/nptl/pthreaddef.h: ... here.
39610         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39611         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39612         * nptl/sysdeps/s390/tls.h: Moved ...
39613         * sysdeps/s390/nptl/tls.h: ... here.
39615         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39616         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39618 2014-06-13  David S. Miller  <davem@davemloft.net>
39620         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39623         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39627         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39628         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39629         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39630         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39631         Remove RESET_PID cpp guards.
39632         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39633         Remove RESET_PID cpp guards.
39634         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39636 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
39638         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39639         __sp to uintptr_t.
39641 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39643         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39644         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39645         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39646         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39647         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39648         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39649         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39650         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39651         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39652         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39653         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39654         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39655         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39656         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39657         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39658         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39659         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39660         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39661         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39662         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39664         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39665         (pthread_rwlock_rdlock): Add elision.
39666         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39667         (pthread_rwlock_wrlock): Add elision.
39668         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39669         (pthread_rwlock_trywrlock): Add elision.
39670         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39671         (pthread_rwlock_tryrdlock): Add elision.
39672         * nptl/pthread_rwlock_unlock.c: Include elide.h.
39673         (pthread_rwlock_tryrdlock): Add elision unlock.
39674         * nptl/sysdeps/pthread/pthread.h:
39675         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39676         (PTHREAD_RWLOCK_INITIALIZER,
39677         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39678         Handle new elision field.
39679         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39680         * sysdeps/arm/nptl/bits/pthreadtypes.h
39681         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39682         * sysdeps/sh/nptl/bits/pthreadtypes.h
39683         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39684         * sysdeps/tile/nptl/bits/pthreadtypes.h
39685         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39686         * sysdeps/a/nptl/bits/pthreadtypes.h
39687         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39688         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39689         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39690         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39691         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39692         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39693         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39694         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39695         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39696         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39697         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39698         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39699         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39700         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39701         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39702         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39703         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39704         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39705         (elision_init): Set try_xbegin to zero when no RTM.
39706         * sysdeps/x86/nptl/bits/pthreadtypes.h
39707         (pthread_rwlock_t): Change __pad1 to __rwelision.
39708         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39710 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39712         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39713         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39714         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39715         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39717 2014-06-13  Meador Inge  <meadori@codesourcery.com>
39719         [BZ #16996]
39720         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39721         that the cached result has been set before returning it.
39723 2014-06-12  Roland McGrath  <roland@hack.frob.com>
39725         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39726         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39727         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39728         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39729         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39730         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39732         * nptl/sysdeps/sparc/Makefile: Moved ...
39733         * sysdeps/sparc/nptl/Makefile: ... here.
39734         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39735         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39736         * nptl/sysdeps/sparc/tls.h: Moved ...
39737         * sysdeps/sparc/nptl/tls.h: ... here.
39738         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39739         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39740         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39741         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39742         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39743         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39744         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39745         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39746         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39747         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39748         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39749         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39750         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39751         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39752         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39753         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39754         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39755         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39756         Update #include.
39757         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39758         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39759         Update #include.
39760         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39761         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39762         Update #include.
39763         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39764         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39765         Update #include.
39767         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39769         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39770         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39772         * sysdeps/pthread/posix-timer.h: Include <list.h>.
39773         (struct list_links): Type removed.
39774         (struct thread_node, struct timer_node): Replace struct list_links
39775         with struct list_head.
39776         (list_unlink_ip): Likewise.
39777         * sysdeps/pthread/timer_routines.c
39778         (timer_free_list, thread_free_list, thread_active_list): Likewise.
39779         (list_append, list_insbefore): Likewise.
39780         (list_init): Function removed.
39781         (thread_init, init_module): Use INIT_LIST_HEAD instead.
39782         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39783         * sysdeps/pthread/Makefile: ... here, new file.
39785         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39786         * sysdeps/nptl/Implies: ... here.
39787         * sysdeps/unix/sysv/linux/Implies: Add nptl.
39788         * nptl/sysdeps/pthread/list.h: Moved ...
39789         * include/list.h: ... here.
39790         * nptl/sysdeps/pthread/createthread.c: Moved ...
39791         * nptl/createthread.c: ... here.
39792         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39793         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39794         * nptl/pt-longjmp.c: ... here.
39795         * nptl/sysdeps/pthread/Makefile: Moved ...
39796         * sysdeps/nptl/Makefile: ... here.
39797         * nptl/sysdeps/pthread/Subdirs: Moved ...
39798         * sysdeps/nptl/Subdirs: ... here.
39799         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39800         * sysdeps/nptl/aio_misc.h: ... here.
39801         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39802         * sysdeps/nptl/bits/libc-lock.h: ... here.
39803         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39804         * sysdeps/nptl/bits/libc-lockP.h: ... here.
39805         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39806         * sysdeps/nptl/bits/stdio-lock.h: ... here.
39807         * nptl/sysdeps/pthread/configure: Moved ...
39808         * sysdeps/nptl/configure: ... here.
39809         * nptl/sysdeps/pthread/configure.ac: Moved ...
39810         * sysdeps/nptl/configure.ac: ... here.
39811         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39812         * sysdeps/nptl/gai_misc.h: ... here.
39813         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39814         * sysdeps/nptl/librt-cancellation.c: ... here.
39815         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39816         * sysdeps/nptl/malloc-machine.h: ... here.
39817         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39818         * sysdeps/nptl/pthread-functions.h: ... here.
39819         * nptl/sysdeps/pthread/pthread.h: Moved ...
39820         * sysdeps/nptl/pthread.h: ... here.
39821         * nptl/sysdeps/pthread/setxid.h: Moved ...
39822         * sysdeps/nptl/setxid.h: ... here.
39823         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39824         * sysdeps/nptl/sigfillset.c: ... here.
39825         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39826         * sysdeps/nptl/tcb-offsets.h: ... here.
39827         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39828         * sysdeps/nptl/tst-mqueue8x.c: ... here.
39829         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39830         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39831         * nptl/sysdeps/pthread/allocalim.h: Moved ...
39832         * sysdeps/pthread/allocalim.h: ... here.
39833         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39834         * sysdeps/pthread/bits/sigthread.h: ... here.
39835         * nptl/sysdeps/pthread/flockfile.c: Moved ...
39836         * sysdeps/pthread/flockfile.c: ... here.
39837         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39838         * sysdeps/pthread/ftrylockfile.c: ... here.
39839         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39840         * sysdeps/pthread/funlockfile.c: ... here.
39841         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39842         * sysdeps/pthread/posix-timer.h: ... here.
39843         * nptl/sysdeps/pthread/timer_create.c: Moved ...
39844         * sysdeps/pthread/timer_create.c: ... here.
39845         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39846         * sysdeps/pthread/timer_delete.c: ... here.
39847         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39848         * sysdeps/pthread/timer_getoverr.c: ... here.
39849         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39850         * sysdeps/pthread/timer_gettime.c: ... here.
39851         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39852         * sysdeps/pthread/timer_routines.c: ... here.
39853         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39854         * sysdeps/pthread/timer_settime.c: ... here.
39855         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39856         * sysdeps/pthread/tst-timer.c: ... here.
39857         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39858         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39860         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39861         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39863         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39864         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39865         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39866         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39867         Update #include target.
39868         * nptl/sysdeps/i386/i686/Makefile: Moved ...
39869         * sysdeps/i386/i686/nptl/Makefile: ... here.
39870         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39871         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39872         Update #include target.
39873         * nptl/sysdeps/i386/i686/tls.h: Moved ...
39874         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
39875         * nptl/sysdeps/i386/Makefile: Moved ...
39876         * sysdeps/i386/nptl/Makefile: ... here.
39877         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39878         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39879         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39880         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39881         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39882         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39883         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39884         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39885         * sysdeps/i386/nptl/pthreaddef.h: ... here.
39886         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39887         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39888         * nptl/sysdeps/i386/tls.h: Moved ...
39889         * sysdeps/i386/nptl/tls.h: ... here.
39891         * sysdeps/sh/Makefile [$(subdir) = csu]
39892         (gen-as-const-headers): Add tcb-offsets.sym.
39893         * nptl/sysdeps/sh/Makefile: File removed.
39894         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39895         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39896         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39897         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39898         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39899         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39900         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39901         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39902         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39903         * sysdeps/sh/nptl/pthreaddef.h: ... here.
39904         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39905         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39906         * nptl/sysdeps/sh/tls.h: Moved ...
39907         * sysdeps/sh/nptl/tls.h: ... here.
39908         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39909         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39910         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39911         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39912         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39913         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39914         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39915         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39916         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39917         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39918         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39919         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39920         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39921         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39922         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39923         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39924         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39925         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39926         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39927         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39928         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39929         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39930         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39931         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39932         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39933         Moved ...
39934         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39935         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39936         Moved ...
39937         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39938         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39939         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39940         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39941         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39942         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39943         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39944         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39945         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39946         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39947         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39948         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39949         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39950         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39951         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39952         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39953         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39954         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39955         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39957 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39959         * posix/spawn_faction_addopen.c: Include string.h.
39961 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39963         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39964         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39965         * nptl/sysdeps/x86_64/Makefile: Moved ...
39966         * sysdeps/x86_64/nptl/Makefile: ... here.
39967         * nptl/sysdeps/x86_64/configure: Moved ...
39968         * sysdeps/x86_64/nptl/configure: ... here.
39969         * nptl/sysdeps/x86_64/configure.ac: Moved ...
39970         * sysdeps/x86_64/nptl/configure.ac: ... here.
39971         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39972         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39973         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39974         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39975         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39976         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39977         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39978         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39979         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39980         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39981         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39982         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39983         * nptl/sysdeps/x86_64/tls.h: Moved ...
39984         * sysdeps/x86_64/nptl/tls.h: ... here.
39985         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39986         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39987         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39988         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39990         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39992 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39996 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
39998         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39999         type.
40000         [POSIX] (off_t): Likewise.
40001         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
40002         [POSIX] (S_ISBLK): Require macro.
40003         [POSIX] (S_ISCHR): Likewise.
40004         [POSIX] (S_ISDIR): Likewise.
40005         [POSIX] (S_ISFIFO): Likewise.
40006         [POSIX] (S_ISREG): Likewise.
40007         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
40008         optional-macro.
40009         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
40010         type.
40011         [POSIX] (time_t): Likewise.
40012         [POSIX] (timer_t): Likewise.
40014 2014-06-11  Florian Weimer  <fweimer@redhat.com>
40016         [BZ #17048]
40017         * posix/spawn_int.h (struct __spawn_action): Make the path string
40018         non-const to support deallocation.
40019         * posix/spawn_faction_addopen.c
40020         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
40021         * posix/spawn_faction_destroy.c
40022         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
40023         path in all spawn_do_open actions.
40024         * posix/tst-spawn.c (do_test): Exercise the copy operation in
40025         posix_spawn_file_actions_addopen.
40027 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
40029         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40030         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40031         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40032         conditional code always true.
40033         (__libc_vfork): New alias.
40035 2014-06-11  Roland McGrath  <roland@hack.frob.com>
40037         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40038         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40040         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40042         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40043         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40045         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40046         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40048         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40049         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40051 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40053         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40054         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40055         multiarch strcmp for PPC64.
40056         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40057         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40059         multiarch optimizations.
40060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40061         (__libc_ifunc_impl_list): Likewise.
40063 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40065         * benchtests/scripts/validate_benchout.py: New script.
40066         * benchtests/Makefile (bench-func): Call it.
40067         * benchtests/scripts/benchout.schema.json: New file.
40069 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
40071         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40072         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40073         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40074         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40075         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40076         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40077         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40078         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40079         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40080         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40081         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40082         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40083         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40084         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40085         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40086         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40088         Moved ...
40089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40090         ... here.
40091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40092         Moved ...
40093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40095         Moved ...
40096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40097         ... here.
40098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40099         Moved ...
40100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40101         ... here.
40102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40103         Moved ...
40104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40106         Moved ...
40107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40108         ... here.
40109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40110         Moved ...
40111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40112         ... here.
40113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40114         Moved ...
40115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40117         Moved ...
40118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40119         ... here.
40120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40121         Moved ...
40122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40123         ... here.
40124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40125         Moved ...
40126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40127         ... here.
40128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40129         Moved ...
40130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40132         Moved ...
40133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40134         ... here.
40135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40136         Moved ...
40137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40138         ... here.
40139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40140         Moved ...
40141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40142         ... here.
40143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40144         Moved ...
40145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40147         Moved ...
40148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40149         ... here.
40150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40151         Moved ...
40152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40153         ... here.
40154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40155         Moved ...
40156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40158         Moved ...
40159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40160         ... here.
40161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40162         Moved ...
40163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40165         Moved ...
40166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40168         Moved ...
40169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40170         ... here.
40171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40172         Moved ...
40173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40174         ... here.
40175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40176         Moved ...
40177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40178         ... here.
40179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40180         Moved ...
40181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40183         Moved ...
40184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40185         ... here.
40186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40187         Moved ...
40188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40189         ... here.
40190         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40191         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40192         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40193         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40194         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40195         Moved ...
40196         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40197         ... here.
40198         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40199         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40200         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40201         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40202         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40203         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40204         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40205         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40206         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40207         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40208         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40209         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40210         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40211         Moved ...
40212         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40213         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40214         Moved ...
40215         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40216         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40217         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40218         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40219         Moved ...
40220         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40221         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40222         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40223         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40224         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40225         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40226         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40228 2014-06-10  Wilco  <wdijkstr@arm.com>
40230         * math/test-fenv-return.c: New file.
40231         * math/Makefile: Add new test test-fenv-return.
40233 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
40235         [BZ #17042]
40236         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40237         when x - 1 is zero.
40238         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40239         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40240         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40241         0.0L for an argument of 1.0L.
40242         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40243         Likewise.
40244         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40245         value when x - 1 is zero.
40246         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40247         * sysdeps/i386/fpu/libm-test-ulps: Update.
40248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40250 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
40252         [BZ #15119]
40253         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40255 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40257         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40258         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40260 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40262         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40263         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40265         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40266         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40268         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40269         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40271         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40272         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40274         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40275         if not already defined.
40276         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40277         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40278         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40279         (TLS_INIT_TP): Use it.
40280         (TLS_DEFINE_INIT_TP): New macro.
40281         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40283 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
40285         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40286         constant.
40287         [POSIX] (IXANY): Likewise.
40288         [POSIX] (OLCUC): Likewise.
40289         [POSIX || POSIX2008] (CBAUD): Do not allow.
40290         [POSIX || POSIX2008] (DEFECHO): Likewise.
40291         [POSIX || POSIX2008] (ECHOCTL): Likewise.
40292         [POSIX || POSIX2008] (ECHOKE): Likewise.
40293         [POSIX || POSIX2008] (ECHOPRT): Likewise.
40294         [POSIX || POSIX2008] (EXTA): Likewise.
40295         [POSIX || POSIX2008] (EXTB): Likewise.
40296         [POSIX || POSIX2008] (FLUSHO): Likewise.
40297         [POSIX || POSIX2008] (LOBLK): Likewise.
40298         [POSIX || POSIX2008] (PENDIN): Likewise.
40299         [POSIX || POSIX2008] (SWTCH): Likewise.
40300         [POSIX || POSIX2008] (VDISCARD): Likewise.
40301         [POSIX || POSIX2008] (VDSUSP): Likewise.
40302         [POSIX || POSIX2008] (VLNEXT): Likewise.
40303         [POSIX || POSIX2008] (VREPRINT): Likewise.
40304         [POSIX || POSIX2008] (VSTATUS): Likewise.
40305         [POSIX || POSIX2008] (VWERASE): Likewise.
40306         (B*): Change to B[0123456789]*.
40307         * conform/data/time.h-data [POSIX || UNIX98]
40308         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40309         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40310         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40311         [POSIX] (tm_*): Do not allow.
40313 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
40315         * Makefile (install): Don't set LANGUAGE.
40316         * Makefile.in (install): Likewise.
40317         * assert/Makefile (test-assert-ENV): Remove variable.
40318         (test-assert-perr-ENV): Likewise.
40319         * elf/Makefile (neededtest4-ENV): Likewise.
40320         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40321         [$(cross-compiling) = no]: Don't set LANGUAGE.
40322         * io/ftwtest-sh (LANG): Remove variable.
40323         * libio/Makefile (tst-widetext-ENV): Likewise.
40324         * manual/install.texi (Running make install): Don't refer to
40325         environment settings for make install.
40326         * INSTALL: Regenerated.
40327         * nptl/tst-tls6.sh: Don't set LANG.
40328         * posix/globtest.sh (LANG): Remove variable.
40329         * string/Makefile (tester-ENV): Likewise.
40330         (inl-tester-ENV): Likewise.
40331         (noinl-tester-ENV): Likewise.
40332         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40333         [$(cross-compiling) = no]: Don't set LANGUAGE.
40334         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40335         without explicit environment settings.
40337 2014-06-06  Roland McGrath  <roland@hack.frob.com>
40339         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40340         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40341         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40342         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40344 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
40346         * crypt/crypt-private.h [DOS]: Add some includes taken from the
40347         other files in the crypt directory.
40348         * crypt/crypt.c: Remove duplicate includes.
40349         * crypt/crypt-entry.c: Likewise.
40350         * crypt/crypt_util.c: Likewise.
40352 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
40354         * Makeconfig (run-program-env): New variable.
40355         (run-program-prefix-before-env): Likewise.
40356         (run-program-prefix-after-env): Likewise.
40357         (run-program-prefix): Define in terms of new variables.
40358         (built-program-cmd-before-env): New variable.
40359         (built-program-cmd-after-env): Likewise.
40360         (built-program-cmd): Define in terms of new variables.
40361         (test-program-prefix-before-env): New variable.
40362         (test-program-prefix-after-env): Likewise.
40363         (test-program-prefix): Define in terms of new variables.
40364         (test-program-cmd-before-env): New variable.
40365         (test-program-cmd-after-env): Likewise.
40366         (test-program-cmd): Define in terms of new variables.
40367         * Rules (make-test-out): Use $(run-program-env).
40368         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40369         (help): Do not mention environment variables.  Mention
40370         --timeoutfactor option.
40371         (timeoutfactor): New variable.
40372         (blacklist_exports): Remove function.
40373         (exports): Remove variable.
40374         (command): Do not include ${exports}.
40375         * manual/install.texi (Configuring and compiling): Do not mention
40376         test wrappers preserving environment variables.  Mention that last
40377         assignment to a variable must take precedence.
40378         * INSTALL: Regenerated.
40379         * benchtests/Makefile (run-bench): Use $(run-program-env).
40380         * catgets/Makefile ($(objpfx)test1.cat): Use
40381         $(built-program-cmd-before-env), $(run-program-env) and
40382         $(built-program-cmd-after-env).
40383         ($(objpfx)test2.cat): Do not specify environment variables
40384         explicitly.
40385         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40386         $(run-program-env) and $(built-program-cmd-after-env).
40387         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40388         $(run-program-env) and $(test-program-cmd-after-env).
40389         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40390         explicitly.
40391         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40392         run_program_env and test_program_cmd_after_env arguments.
40393         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40394         * elf/tst-pathopt.sh: Use run_program_env argument.
40395         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40396         $(test-wrapper-env) and $(run-program-env).
40397         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40398         run_program_env arguments.
40399         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40400         * intl/Makefile ($(objpfx)tst-gettext.out): Use
40401         $(test-program-prefix-before-env), $(run-program-env) and
40402         $(test-program-prefix-after-env).
40403         ($(objpfx)tst-gettext2.out): Likewise.
40404         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40405         run_program_env and test_program_prefix_after_env arguments.
40406         * intl/tst-gettext2.sh: Likewise.
40407         * intl/tst-gettext4.sh: Do not set environment variables
40408         explicitly.
40409         * intl/tst-gettext6.sh: Likewise.
40410         * intl/tst-translit.sh: Likewise.
40411         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40412         $(test-program-prefix-before-env), $(run-program-env) and
40413         $(test-program-prefix-after-env).
40414         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40415         run_program_env and test_program_prefix_after_env arguments.
40416         * math/Makefile (run-regen-ulps): Use $(run-program-env).
40417         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40418         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
40419         explicitly with each use of ${test_wrapper_env}.
40420         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40421         $(test-program-prefix-before-env), $(run-program-env) and
40422         $(test-program-prefix-after-env).
40423         * posix/tst-getconf.sh: Do not set environment variables
40424         explicitly.
40425         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40426         run_program_env and test_program_prefix_after_env arguments.
40427         * stdio-common/tst-printf.sh: Do not set environment variables
40428         explicitly.
40429         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40430         $(test-program-prefix-before-env), $(run-program-env) and
40431         $(test-program-prefix-after-env).
40432         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40433         run_program_env and test_program_prefix_after_env arguments.
40434         Split $test calls into $test_pre and $test.
40435         * timezone/Makefile (build-testdata): Use
40436         $(built-program-cmd-before-env), $(run-program-env) and
40437         $(built-program-cmd-after-env).
40439 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40441         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40442         strlen for non SHARED builds.
40444 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40446         * nptl/allocatestack.c (check_list): Inlined function...
40447         (__reclaim_stacks): ... here.
40449 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40451         [BZ #15698]
40452         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40453         memory overrun.
40455 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
40457         * Rules (make-test-out): Include
40458         LOCPATH=$(common-objpfx)localedata in default environment.
40459         * debug/Makefile (tst-chk1-ENV): Remove variable.
40460         (tst-chk2-ENV): Likewise.
40461         (tst-chk3-ENV): Likewise.
40462         (tst-chk4-ENV): Likewise.
40463         (tst-chk5-ENV): Likewise.
40464         (tst-chk6-ENV): Likewise.
40465         (tst-lfschk1-ENV): Likewise.
40466         (tst-lfschk2-ENV): Likewise.
40467         (tst-lfschk3-ENV): Likewise.
40468         (tst-lfschk4-ENV): Likewise.
40469         (tst-lfschk5-ENV): Likewise.
40470         (tst-lfschk6-ENV): Likewise.
40471         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40472         (tst-iconv7-ENV): Likewise.
40473         * intl/Makefile (LOCPATH-ENV): Likewise.
40474         (tst-codeset-ENV): Likewise.
40475         (tst-gettext3-ENV): Likewise.
40476         (tst-gettext5-ENV): Likewise.
40477         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40478         (tst-fopenloc-ENV): Likewise.
40479         (tst-fgetws-ENV): Remove variable.
40480         (tst-ungetwc1-ENV): Likewise.
40481         (tst-ungetwc2-ENV): Likewise.
40482         (bug-ungetwc2-ENV): Likewise.
40483         (tst-swscanf-ENV): Likewise.
40484         (bug-ftell-ENV): Likewise.
40485         (tst-fgetwc-ENV): Likewise.
40486         (tst-fseek-ENV): Likewise.
40487         (tst-ftell-partial-wide-ENV): Likewise.
40488         (tst-ftell-active-handler-ENV): Likewise.
40489         (tst-ftell-append-ENV): Likewise.
40490         * posix/Makefile (tst-fnmatch-ENV): Likewise.
40491         (tst-regexloc-ENV): Likewise.
40492         (bug-regex1-ENV): Likewise.
40493         (tst-regex-ENV): Likewise.
40494         (tst-regex2-ENV): Likewise.
40495         (bug-regex5-ENV): Likewise.
40496         (bug-regex6-ENV): Likewise.
40497         (bug-regex17-ENV): Likewise.
40498         (bug-regex18-ENV): Likewise.
40499         (bug-regex19-ENV): Likewise.
40500         (bug-regex20-ENV): Likewise.
40501         (bug-regex22-ENV): Likewise.
40502         (bug-regex23-ENV): Likewise.
40503         (bug-regex25-ENV): Likewise.
40504         (bug-regex26-ENV): Likewise.
40505         (bug-regex30-ENV): Likewise.
40506         (bug-regex32-ENV): Likewise.
40507         (bug-regex33-ENV): Likewise.
40508         (bug-regex34-ENV): Likewise.
40509         (bug-regex35-ENV): Likewise.
40510         (tst-rxspencer-ENV): Likewise.
40511         (tst-rxspencer-no-utf8-ENV): Likewise.
40512         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40513         (tst-sscanf-ENV): Likewise.
40514         (tst-swprintf-ENV): Likewise.
40515         (tst-swscanf-ENV): Likewise.
40516         (test-vfprintf-ENV): Likewise.
40517         (scanf13-ENV): Likewise.
40518         (bug14-ENV): Likewise.
40519         (tst-grouping-ENV): Likewise.
40520         * stdlib/Makefile (tst-strtod-ENV): Likewise.
40521         (tst-strtod3-ENV): Likewise.
40522         (tst-strtod4-ENV): Likewise.
40523         (tst-strtod5-ENV): Likewise.
40524         (testmb2-ENV): Likewise./
40525         * string/Makefile (tst-strxfrm-ENV): Likewise.
40526         (tst-strxfrm2-ENV): Likewise.
40527         (bug-strcoll1-ENV): Likewise.
40528         (test-strcasecmp-ENV): Likewise.
40529         (test-strncasecmp-ENV): Likewise.
40530         * time/Makefile (tst-strptime-ENV): Likewise.
40531         (tst-ftime_l-ENV): Likewise.
40532         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40533         (tst-mbrtowc-ENV): Likewise.
40534         (tst-wcrtomb-ENV): Likewise.
40535         (tst-mbrtowc2-ENV): Likewise.
40536         (tst-c16c32-1-ENV): Likewise.
40537         (tst-mbsnrtowcs-ENV): Likewise.
40539 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40541         * manual/resource.texi (How to get information about the memory
40542         subsystem?): Fix typo.
40543         Reported by Peon de la Parra Ivan <peon@keba.com>
40545 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
40547         [BZ #16882]
40548         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
40549         (pthread_spin_lock): Branch out of spin loop to proper location.
40550         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
40551         (pthread_spin_lock): Likewise.
40553         * nptl/tst-spin4.c: New test.
40554         * nptl/Makefile (tests): Add tst-spin4.
40556 2014-06-03  Andreas Schwab  <schwab@suse.de>
40558         [BZ #15946]
40559         * resolv/res_send.c (send_dg): Reload file descriptor after
40560         calling reopen.
40562 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
40564         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40566 2014-06-03  Richard Henderson  <rth@redhat.com>
40568         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
40569         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
40570         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
40571         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
40572         in the SAVE_PID block.
40573         (__libc_vfork): New alias.
40574         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
40576         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
40577         child in registers, not on the stack.  Remove RESET_PID conditionals.
40578         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40580 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40582         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40584 2014-06-03  Wilco  <wdijkstr@arm.com>
40586         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40587         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40588         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40589         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40590         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40591         Likewise.
40593 2014-06-03  Wilco  <wdijkstr@arm.com>
40595         * sysdeps/aarch64/fpu/math_private.h
40596         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40597         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40598         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40599         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40600         Fix declarations.
40602 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40604         * crypt/crypt-private.h: Include ufc-crypt.h.
40605         (__b64_from_24bit): Declare extern.
40606         * crypt/crypt_util.c(__b64_from_24bit): New function.
40607         (b64t): New static const variable.
40608         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40609         (b64t): Remove variable.
40610         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40611         * crypt/sha256-crypt.c: Include crypt-private.h.
40612         (b64t): Remove variable.
40613         (__sha256_crypt_r): Remove b64_from_24bit and replace
40614         with __b64_from_24bit.
40615         * crypt/sha512-crypt.c: Likewise.
40617 2014-06-02  Roland McGrath  <roland@hack.frob.com>
40619         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40620         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40621         Label the code __libc_vfork rather than __vfork.
40622         [!NOT_IN_libc] (vfork): Define as weak alias.
40623         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40624         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40625         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40627 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40629         * malloc/malloc.c (malloc_info): Fix format specifier for
40630         n_mmaps.
40632 2014-06-02  Wilco  <wdijkstr@arm.com>
40634         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40635         FPCR write.
40637 2014-06-02  Wilco  <wdijkstr@arm.com>
40639         [BZ #17009]
40640         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40641         Rewrite to reduce FPCR/FPSR accesses.
40643 2014-06-01  David S. Miller  <davem@davemloft.net>
40645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40647 2014-05-31  David S. Miller  <davem@davemloft.net>
40649         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40650         to occur in round to nearest mode when |x| >= 2.0
40652 2014-05-30  Richard Henderson  <rth@twiddle.net>
40654         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40655         (PSEUDO_RET_NOERRNO): Remove.
40656         (ret): Don't redefine.
40657         (ret_NOERRNO): Define in terms of ret.
40658         (ret_ERRVAL): Likewise.
40660         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40661         use of PSEUDO_RET; perform the error check directly.
40663 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
40665         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40666         with __int128_t.
40668 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40670         * malloc/malloc (malloc_info): Fix formatting.
40672 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40673             Roland McGrath  <roland@hack.frob.com>
40675         * malloc/malloc (malloc_info): Also print mmapped statistics.
40677 2014-05-30  Roland McGrath  <roland@hack.frob.com>
40679         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40680         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40682 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
40684         * malloc/malloc.c (malloc_info): Inline mi_arena.
40686 2014-05-29  Richard Henderson  <rth@twiddle.net>
40688         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40689         Remove comma before expanding ASM_ARGS_##nr.
40690         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40691         Make _x0 a strict output; make _x8 a strict input; adjust expansion
40692         of ASM_ARGS_##nr.
40693         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40694         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40695         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40696         (ASM_ARGS_1): Add leading comma.
40698         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40699         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40700         to __errno_location.
40701         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40702         Remove the expected plt for __errno_location.
40704         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40705         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40706         call to __read_tp.
40708         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40709         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
40710         it and break it down.
40711         (DOCARGS_0, DOCARGS_1): Do nothing.
40712         (DOCARGS_2): Update to store into the new stack frame.
40713         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40714         (UNDOCARGS_1): Update to restore from the new stack frame.
40715         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40716         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40718         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40719         (SINGLE_THREAD_P): New parameter for result regno.
40720         (PSEUDO): Update to match; use cbz instead of beq.
40722         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40723         Use ENTRY to define the _nocancel entry point.  Share the syscall
40724         and syscall error check paths with the cancel path.
40725         (PSEUDO_END): New.
40727         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40728         whitespace; tabs before and after asm mnemonics.
40730 2014-05-29  Eric Wong  <normalperson@yhbt.net>
40732         [BZ #15132]
40733         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40734         Call fstat64 or stat64 internally, depending on arguments passed.
40735         Replace stat buffer argument with file descriptor argument.
40736         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40737         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40738         Pass fd to __internal_statvfs instead of calling fstat64.
40739         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40740         Pass fd to __internal_statvfs64 instead of calling fstat64.
40741         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40742         Pass -1 to __internal_statvfs instead of calling stat64.
40743         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40744         Pass -1 to __internal_statvfs64 instead of calling stat64.
40746 2014-05-28  Roland McGrath  <roland@hack.frob.com>
40748         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40749         that was previously under [RESET_PID].
40750         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40752         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40753         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40755 2014-05-27  Roland McGrath  <roland@hack.frob.com>
40757         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40759         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40760         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40762 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
40764         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40766 2014-05-27  Andreas Schwab  <schwab@suse.de>
40768         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40769         TLS_INIT_TP macro.
40770         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40771         * elf/rtld.c (init_tls, dl_main): Likewise.
40772         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40773         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40774         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40775         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40776         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40777         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40778         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40779         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40780         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40781         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40782         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40783         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40784         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40785         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40786         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40787         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40788         * sysdeps/generic/tls.h: Update description.
40790 2014-05-27  Will Newton  <will.newton@linaro.org>
40792         [BZ #16990]
40793         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40794         and restore r2 rather than just restoring.
40796 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40798         [BZ #16724]
40799         * libio/tst-ftell-append.c: New test case.
40800         * libio/Makefile (tests): Add test case.
40801         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40802         append mode.
40803         * libio/wfileops.c (do_ftell_wide): Likewise.
40805 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40809         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40810         ...
40811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40813         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40814         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40815         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40816         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40817         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40818         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40819         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40820         Moved ...
40821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40822         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40823         Moved ...
40824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40825         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40826         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40827         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40828         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40829         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40830         ...
40831         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40832         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40833         Moved ...
40834         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40835         here.
40836         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40837         ...
40838         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40839         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40840         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40842         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40843         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40844         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40845         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40847         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40848         merge into ...
40849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40850         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40851         ...
40852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40853         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40854         ...
40855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40856         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40857         Moved ...
40858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40859         here.
40860         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40861         Moved ...
40862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40863         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40864         Moved ...
40865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40868         conditional [RESET_PID].
40869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40870         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40871         removed.
40872         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40873         removed.
40875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40876         <tcb-offsets.h>.
40877         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40878         (__libc_vfork): New strong alias.
40879         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40880         removed.
40881         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40882         Removed.
40884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40885         <tcb-offsets.h>.
40886         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40887         (__libc_vfork): New strong alias.
40888         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40889         removed.
40890         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40891         removed.
40893 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
40895         * malloc/malloc.c (mi_arena): New function.
40896         (malloc_info): Remove nested function mi_arena. Call non-nosted
40897         function mi_arena.
40899 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40901         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40902         by insrwi.
40903         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40904         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40905         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40906         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40907         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40908         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40909         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40911 2014-05-26  Andreas Schwab  <schwab@suse.de>
40913         [BZ #16984]
40914         * locale/programs/repertoire.c (repertoire_read): Add slash
40915         between I18NPATH element and file name.
40916         * locale/programs/locfile.c (locfile_read): Likewise.
40918 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40920         * nptl/pthread_mutexattr_settype.c
40921         (__pthread_mutexattr_settype):
40922         Disable lock elision for PTHREAD_MUTEX_NORMAL.
40924 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40926         * nptl/tst-mutex5 (do_test):
40927         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40929 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40931         * benchtests/README: Document 'init' directive.
40932         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40933         BENCH_INIT.
40934         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40935         (parse_file): Recognize 'init' directive.
40937 2014-05-26  Kyle McMartin  <kyle@redhat.com>
40939         [BZ #16796]
40940         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40941         alignment of struct pthread.
40943 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40945         [BZ #16878]
40946         * nscd/netgroupcache.c (addgetnetgrentX): Look for
40947         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40948         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40949         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40951 2014-05-25  Richard Henderson  <rth@twiddle.net>
40953         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40954         (SINGLE_THREAD_P_PIC): Remove.
40955         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40956         (SINGLE_THREAD_P_PIC): Remove.
40958         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40959         branch to syscall error ...
40960         (PSEUDO): ... here.
40961         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40962         from __local_syscall_error to .Lsyscall_error.
40963         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40964         (SYSCALL_ERROR): Update label name.
40966         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40967         Do not use DOARGS/UNDOARGS.
40968         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40969         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40970         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40971         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40972         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40974         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40975         block comment.
40977         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40978         define if !NOT_IN_libc.
40979         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40980         define with non-default symbol versions.
40982 2014-05-23  Richard Henderson  <rth@twiddle.net>
40984         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40985         (vfork, __vfork): Define via compat_symbol.
40987         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40988         [!HAVE_IFUNC] (vfork_compat): Remove.
40989         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40991 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40993         [BZ #16978]
40994         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40995         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40996         variable.
40998 2014-05-23  Richard Henderson  <rth@twiddle.net>
41000         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
41001         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
41002         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
41003         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41005         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
41006         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
41007         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
41008         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
41009         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
41010         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
41011         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41012         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
41013         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
41014         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41015         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
41016         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
41017         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
41018         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
41019         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
41020         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
41021         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
41022         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
41023         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
41024         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41025         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
41026         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41027         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41028         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41029         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41030         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41031         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41032         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41033         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41034         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41035         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41036         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41037         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41038         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41039         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41040         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41041         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41042         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41043         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41044         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41045         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41046         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41047         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41048         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41049         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41050         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41051         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41052         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41053         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41054         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41055         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41056         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41057         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41058         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41059         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41060         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41062         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41063         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41064         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
41065         before exiting on error.
41066         (__libc_vfork): New strong alias.
41067         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41068         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41070         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41071         that was previously under [RESET_PID].
41072         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41074         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41076 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
41078         [BZ #16977]
41079         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41080         value when x - 1 is zero.
41081         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41082         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41083         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41084         0.0L for an argument of 1.0L.
41085         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41086         Likewise.
41087         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41088         value when x - 1 is zero.
41089         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41090         * sysdeps/i386/fpu/libm-test-ulps: Update.
41091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41093 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
41095         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41096         alphasort and versionsort.
41098 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41100         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41101         macro.
41102         [copysignf]: Likewise.
41104 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41106         * crypt/md5-crypt.c: Fix formatting.
41108 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41110         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41111         (b64_from_24bit): New function.
41113 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41115         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41116         libc_hidden_builtin_def to ifunc.
41117         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41118         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41120 2014-05-21  Roland McGrath  <roland@hack.frob.com>
41122         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41123         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41125 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
41127         * nscd/Depend (linuxthreads): Remove.
41128         (nptl): Add.
41129         * resolv/Depend (linuxthreads): Remove.
41130         * rt/Depend (linuxthreads): Remove.
41132         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41133         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41134         $(common-objpfx)elf/.
41135         (link-libc-before-gnulib): Likewise.
41136         (elfobjdir): Remove variable.
41137         * Makefile (install): Use $(elf-objpfx) instead of
41138         $(common-objpfx)elf/.
41139         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41140         $(elfobjdir)/.
41141         (link-libc-deps): Likewise.
41142         ($(common-objpfx)libc.so): Likewise.
41143         ($(common-objpfx)linkobj/libc.so): Likewise.
41144         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41145         instead of $(common-objpfx)elf/.
41146         (symbolic-link-list): Likewise.
41147         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41148         [$(cross-compiling) = no]: Likewise.
41149         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41150         $(elfobjdir)/.
41151         (static-gnulib-arch): Likewise.
41152         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41153         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41154         $(common-objpfx)elf/.
41156 2014-05-21  Richard Henderson  <rth@redhat.com>
41158         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41159         (SINGLE_THREAD_P): Use the correct width load.  Fold
41160         into the ldr offset.
41162         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41163         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41165 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
41167         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41168         (libgcc_s_resume): Use __attribute_used__.
41169         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41170         Likewise.
41172 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41174         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41175         optimization when used with float constants.
41177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41179 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
41181         [BZ #16915]
41182         * locale/nl_langinfo_l.c: Make direct reference to every
41183         _nl_current_CATEGORY symbol.
41184         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41185         (tests-static): Add tst-langinfo-static.
41186         (tests-special): Add tst-langinfo-static.out.
41187         ($(objpfx)tst-langinfo.out): Redirect output.
41188         ($(objpfx)tst-langinfo-static.out): New.
41189         * localedata/tst-langinfo.sh: Send output to stdout.
41190         * localedata/tst-langinfo-static.c: New file.
41192         [BZ #16965]
41193         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41194         when the shift amount is modulo the limb size.
41196 2014-05-20  Richard Henderson  <rth@redhat.com>
41198         [BZ #16967]
41199         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41200         Change type of sa_flags from unsigned int to int.
41202         [BZ #16966]
41203         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41205         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41207 2014-05-20  Will Newton  <will.newton@linaro.org>
41209         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41210         Test the return value of the system call in the nocancel case.
41212 2014-05-20  Will Newton  <will.newton@linaro.org>
41213             Yvan Roux  <yvan.roux@linaro.org>
41215         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41216         #include of asm/ptrace.h.
41217         (PTRACE_GET_THREAD_AREA): Remove #undef.
41218         (PTRACE_GETHBPREGS): Likewise.
41219         (PTRACE_SETHBPREGS): Likewise.
41220         (struct user_regs_struct): New structure.
41221         (struct user_fpsimd_struct): New structure.
41222         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41223         #include of asm/ptrace.h and second #include of sys/user.h.
41224         (PTRACE_GET_THREAD_AREA): Remove #undef.
41225         (PTRACE_GETHBPREGS): Likewise.
41226         (PTRACE_SETHBPREGS): Likewise.
41227         (ELF_NGREG): Use new struct user_regs_struct.
41228         (elf_fpregset_t): Use new struct user_fpsimd_struct.
41230 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41232         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41233         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41235 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
41237         [BZ #16958]
41238         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41239         membar to avoid block loads/stores to overlap previous stores.
41241 2014-05-17  Richard Henderson  <rth@redhat.com>
41243         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41244         Create the __##syscall_name##_nocancel entry point.
41245         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41246         Remove; let the sysdep-cancel.h code create it.
41248 2014-05-17  David S. Miller  <davem@davemloft.net>
41250         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41251         Protect with __USE_GNU.
41252         (TIOCSET_TEMPT): Likewise.
41253         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41254         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41255         these are already provided in bits/ioctl-types.h
41257 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41259         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41260         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41262         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41263         Use wait4 regardless of [__NR_waitpid].
41265 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41267         PR libgcc/60166
41268         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41269         (_FP_NANSIGN_Q): Set the quiet bit.
41271 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
41273         * benchtests/Makefile
41274         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41275         not $(common-objpfx)math/libm.so.
41276         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41277         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41278         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41279         $(common-objpfx)dlfcn/libdl.so.
41280         ($(objpfx)tst-audit8): Depend on $(libm), not
41281         $(common-objpfx)math/libm.so.
41282         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41283         not $(common-objpfx)dlfcn/libdl.so.
41284         * math/Makefile
41285         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41286         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
41287         [$(build-shared) = yes].
41288         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41289         $(common-objpfx)nptl/libpthread.so.
41290         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41291         $(common-objpfx)math/libm.so$(libm.so-version) or
41292         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41293         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41294         $(common-objpfx)dlfcn/libdl.so.
41295         * setjmp/Makefile (link-libm): Remove variable.
41296         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41297         * stdio-common/Makefile (link-libm): Remove variable.
41298         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41299         * stdlib/Makefile (link-libm): Remove variable.
41300         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41301         ($(objpfx)tst-strtod-round): Likewise.
41302         ($(objpfx)tst-tininess): Likewise.
41303         ($(objpfx)tst-strtod-underflow): Likewise.
41304         ($(objpfx)tst-strtod6): Likewise.
41305         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41306         $(libdl), not $(common-objpfx)nptl/libpthread.so and
41307         $(common-objpfx)dlfcn/libdl.so.
41309 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41311         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41312         BSD terminal modes definitions.
41314 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41316         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41317         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41319         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41320         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41321         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41322         Don't do #include_next.
41323         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41324         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41325         Don't do #include_next.
41326         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41327         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41328         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41329         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41331 2014-05-16  Allan McRae  <allan@archlinux.org>
41333         * po/sv.po: Update Swedish translation from translation project.
41335         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41336         in sed expression.
41338 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
41340         [BZ #16917]
41341         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41342         errno if the TIOCGPTN ioctl fails with an error different than
41343         EINVAL.
41344         * login/tst-ptsname.c: New file.
41345         * login/Makefile (tests): Add tst-ptsname.
41347         [BZ #16943]
41348         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41349         and prlimit64.
41351 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41353         [BZ #16849]
41354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41355         herrno to return EAI_AGAIN.
41357 2014-05-14  Roland McGrath  <roland@hack.frob.com>
41359         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41360         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41361         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41362         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41363         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41364         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41365         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41366         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41367         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41368         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41369         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41370         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41371         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41372         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41373         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41374         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41375         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41376         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41377         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41378         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41379         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41380         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41381         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41382         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41383         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41384         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41385         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41386         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41387         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41388         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41390         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41392         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41394         Moved ...
41395         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41397         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41399         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41401         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41403         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41405         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41407         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41409         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41411         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41413         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41415         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41417         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41419         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41420         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41421         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41423         Moved ...
41424         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41426         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41428         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41430         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41432         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41434         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41436         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41438         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41440         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41442         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41444         Moved ...
41445         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41447         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41449         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41450         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41451         (libpthread-sysdep_routines): Add elision-related stuff here instead.
41452         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41453         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41454         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41455         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41456         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41457         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41458         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41459         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41460         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41461         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41462         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41463         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41464         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41465         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41466         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41467         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41468         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41469         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41470         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41471         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41472         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41473         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41474         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41475         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41476         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41477         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41478         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41479         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41481         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41482         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41484         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41485         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41486         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41487         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41488         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41489         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41490         Moved ...
41491         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41492         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41493         Moved ...
41494         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41495         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41496         Moved ...
41497         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41498         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41499         Moved ...
41500         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41501         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41502         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41503         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41504         Moved ...
41505         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41506         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41507         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41508         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41509         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41510         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41511         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41512         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41513         Moved ...
41514         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41515         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41516         Moved ...
41517         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41518         ... here.
41519         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41520         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41521         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41522         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41523         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41524         Moved ...
41525         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41526         ... here.
41527         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41528         Moved ...
41529         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41530         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41531         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41532         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41533         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41534         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41535         Moved ...
41536         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41537         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41538         Moved ...
41539         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41540         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
41541         Moved ...
41542         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
41543         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
41544         Moved ...
41545         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
41546         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
41547         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
41548         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
41549         Moved ...
41550         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
41551         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
41552         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
41553         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
41554         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
41555         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
41556         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
41557         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
41558         Moved ...
41559         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
41560         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41561         Moved ...
41562         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41563         ... here.
41564         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
41565         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
41566         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
41567         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
41568         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41569         Moved ...
41570         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41571         ... here.
41572         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
41573         Moved ...
41574         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
41575         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
41576         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
41577         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
41578         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41579         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41580         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41581         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41582         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41583         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41584         Moved ...
41585         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41586         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41587         Moved ...
41588         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41589         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41590         Moved ...
41591         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41592         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41593         Moved ...
41594         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41595         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41596         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41597         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41598         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41599         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41600         Moved ...
41601         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41602         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41603         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41604         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41605         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41606         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41607         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41608         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41609         Moved ...
41610         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41611         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41612         Moved ...
41613         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41614         ... here.
41615         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41616         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41617         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41618         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41619         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41620         Moved ...
41621         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41622         ... here.
41623         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41624         Moved ...
41625         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41626         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41627         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41628         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41629         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41630         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41631         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41632         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41633         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41634         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41635         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41637         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41638         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41640         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41641         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41643         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41644         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41645         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41646         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41647         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41648         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41649         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41650         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41651         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41652         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41653         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41654         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41655         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41656         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41657         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41658         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41659         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41660         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41661         Moved ...
41662         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41663         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41664         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41665         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41666         Moved ...
41667         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41668         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41669         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41670         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41671         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41672         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41673         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41674         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41675         Moved ...
41676         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41677         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41678         Moved ...
41679         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41680         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41681         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41682         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41683         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41684         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41685         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41686         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41687         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41688         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41689         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41690         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41691         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41692         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41693         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41694         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41695         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41697         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41698         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41699         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41700         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41701         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41703         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41704         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41705         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41706         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41707         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41708         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41709         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41710         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41711         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41712         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41714         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41715         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41717         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41718         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41719         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41720         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41721         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41722         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41723         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41724         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41725         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41726         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41727         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41728         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41729         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41730         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41731         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41732         Update #include.
41733         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41734         Likewise.
41735         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41736         Likewise.
41737         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41738         Likewise.
41739         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41740         Likewise.
41741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41742         Likewise.
41743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41744         Likewise.
41745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41746         Likewise.
41747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41748         Likewise.
41749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41750         Likewise.
41751         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41753         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41755         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41756         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41757         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41758         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41759         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41760         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41761         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41762         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41763         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41764         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
41765         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
41767         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41768         that was previously under [RESET_PID].
41769         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41770         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41771         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41773         * sysdeps/i386/nptl/Implies: New file.
41774         * sysdeps/x86_64/nptl/Implies: New file.
41775         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41776         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41777         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41778         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41780         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41781         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41782         (__libc_vfork): New strong alias.
41783         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41784         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41786         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41787         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41788         (__libc_vfork): New strong alias.
41789         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41790         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41792         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41793         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41794         (__libc_vfork): New strong alias.
41795         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41796         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41797         * nptl/pt-vfork.c: New file.
41798         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41799         (libpthread: GLIBC_2.20): New version set (empty).
41801 2014-05-14  Will Newton  <will.newton@linaro.org>
41803         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41804         rather than #if.
41806 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41808         [BZ #16564]
41809         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41810         arguments with exponent 65 or above.
41811         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41812         arguments 0x1p113L or above.
41813         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41814         to arguments 0x1p107L or above.
41815         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41816         positive arguments with exponent 65 or above.
41817         * math/auto-libm-test-in: Add more tests of log1p.
41818         * math/auto-libm-test-out: Regenerated.
41820         [BZ #16928]
41821         * math/s_cacos.c (__cacos): Ensure zero real part of result from
41822         non-finite arguments is +0.
41823         * math/s_cacosf.c (__cacosf): Likewise.
41824         * math/s_cacosl.c (__cacosl): Likewise.
41825         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41826         * sysdeps/i386/fpu/libm-test-ulps: Update.
41827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41829         [BZ #16927]
41830         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41831         value.
41832         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41833         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41834         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41835         for explicit high bit of mantissa when testing for argument equal
41836         to 1.
41837         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41838         * sysdeps/i386/fpu/libm-test-ulps: Update.
41839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41841         [BZ #16516]
41842         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41843         (__erf): Scale by 16 instead of 8 in potentially underflowing
41844         case.  Ensure exception if result actually underflows.
41845         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41846         (__erff): Scale by 16 instead of 8 in potentially underflowing
41847         case.  Ensure exception if result actually underflows.
41848         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41849         (efx8): Remove variable.
41850         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41851         case.  Ensure exception if result actually underflows.
41852         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41853         (efx8): Remove variable.
41854         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41855         case.  Ensure exception if result actually underflows.
41856         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41857         (efx8): Remove variable.
41858         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41859         case.  Ensure exception if result actually underflows.
41860         * math/auto-libm-test-in: Add more tests of erf.
41861         * math/auto-libm-test-out: Regenerated.
41863 2014-05-14  Andreas Schwab  <schwab@suse.de>
41865         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41866         Remove code conditionalized on USE___THREAD.
41868         * config.h.in (HAVE_PT_CHOWN): Define as 0.
41869         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41870         not definedness.
41872 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41874         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41875         Define unconditionally.
41876         (__ASSUME_O_CLOEXEC): Likewise.
41877         (__ASSUME_SOCK_CLOEXEC): Likewise.
41878         (__ASSUME_IN_NONBLOCK): Likewise.
41879         (__ASSUME_PIPE2): Likewise.
41880         (__ASSUME_EVENTFD2): Likewise.
41881         (__ASSUME_SIGNALFD4): Likewise.
41882         (__ASSUME_DUP3): Likewise.
41883         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41884         (__ASSUME_DUP3): Do not define.
41885         (__ASSUME_EVENTFD2): Likewise.
41886         (__ASSUME_IN_NONBLOCK): Likewise.
41887         (__ASSUME_O_CLOEXEC): Likewise.
41888         (__ASSUME_PIPE2): Likewise.
41889         (__ASSUME_SIGNALFD4): Likewise.
41890         (__ASSUME_SOCK_CLOEXEC): Likewise.
41891         (__ASSUME_UTIMES): Undefine.
41892         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41893         (__ASSUME_UTIMES): Do not define.
41894         (__ASSUME_O_CLOEXEC): Likewise.
41895         (__ASSUME_SOCK_CLOEXEC): Likewise.
41896         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41897         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41898         0x020621].
41899         (__ASSUME_PIPE2): Likewise.
41900         (__ASSUME_EVENTFD2): Likewise.
41901         (__ASSUME_SIGNALFD4): Likewise.
41902         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41903         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41904         Do not define.
41905         (__ASSUME_EVENTFD2): Likewise.
41906         (__ASSUME_SIGNALFD4): Likewise.
41907         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41908         (__ASSUME_32BITUIDS): Likewise.
41909         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41910         (__ASSUME_IPC64): Likewise.
41911         (__ASSUME_ST_INO_64_BIT): Likewise.
41912         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41913         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41914         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41915         (__ASSUME_UTIMES): Do not define.
41916         (__ASSUME_PSELECT): Likewise.
41917         (__ASSUME_PPOLL): Likewise.
41918         (__ASSUME_O_CLOEXEC): Likewise.
41919         (__ASSUME_SOCK_CLOEXEC): Likewise.
41920         (__ASSUME_IN_NONBLOCK): Likewise.
41921         (__ASSUME_PIPE2): Likewise.
41922         (__ASSUME_EVENTFD2): Likewise.
41923         (__ASSUME_SIGNALFD4): Likewise.
41924         (__ASSUME_DUP3): Likewise.
41925         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41926         (__ASSUME_UTIMES): Likewise.
41927         (__ASSUME_O_CLOEXEC): Likewise.
41928         (__ASSUME_SOCK_CLOEXEC): Likewise.
41929         (__ASSUME_IN_NONBLOCK): Likewise.
41930         (__ASSUME_PIPE2): Likewise.
41931         (__ASSUME_EVENTFD2): Likewise.
41932         (__ASSUME_SIGNALFD4): Likewise.
41933         (__ASSUME_DUP3): Likewise.
41934         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41935         (__ASSUME_UTIMES): Likewise.
41936         (__ASSUME_O_CLOEXEC): Likewise.
41937         (__ASSUME_SOCK_CLOEXEC): Likewise.
41938         (__ASSUME_IN_NONBLOCK): Likewise.
41939         (__ASSUME_PIPE2): Likewise.
41940         (__ASSUME_EVENTFD2): Likewise.
41941         (__ASSUME_SIGNALFD4): Likewise.
41942         (__ASSUME_DUP3): Likewise.
41943         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41944         Likewise.
41945         (__ASSUME_UTIMES): Likewise.
41946         (__ASSUME_EVENTFD2): Likewise.
41947         (__ASSUME_SIGNALFD4): Likewise.
41948         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41949         (__ASSUME_O_CLOEXEC): Likewise.
41950         (__ASSUME_SOCK_CLOEXEC): Likewise.
41951         (__ASSUME_IN_NONBLOCK): Likewise.
41952         (__ASSUME_PIPE2): Likewise.
41953         (__ASSUME_EVENTFD2): Likewise.
41954         (__ASSUME_SIGNALFD4): Likewise.
41955         (__ASSUME_DUP3): Likewise.
41956         (__ASSUME_UTIMES): Undefine.
41958         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41959         feclearexcept.  Remove symbol versioning code.
41960         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
41961         symbol versioning code.
41962         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
41963         symbol versioning code.
41964         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41965         feupdateenv.  Remove symbol versioning code.
41966         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41967         fegetexceptflag.  Remove symbol versioning code.
41968         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41969         fesetexceptflag.  Remove symbol versioning code.
41970         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41971         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
41972         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41973         (__posix_fadvise64_l32): Remove prototype.
41974         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41975         code.
41977 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41979         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41980         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41981         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41982         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41984 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
41986         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41987         current working directory
41989 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41991         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41992         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41993         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41994         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41995         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41996         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41997         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41998         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41999         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
42000         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
42001         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
42002         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
42003         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
42004         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
42005         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
42006         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
42007         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
42008         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
42009         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
42010         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
42011         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
42012         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
42013         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
42014         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
42015         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
42016         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
42017         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42018         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
42019         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
42020         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
42021         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
42022         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
42023         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
42024         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
42025         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
42026         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42027         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42028         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42029         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42030         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42031         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42032         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42034         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42035         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42037         * sysdeps/unix/sysv/linux/arm/Makefile
42038         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42039         Add rt-aeabi_unwind_cpp_pr1.
42040         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42041         Add nptl-aeabi_unwind_cpp_pr1.
42042         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42043         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42044         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42045         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42046         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42047         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42049         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42050         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42051         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42052         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42054         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42055         Deconditionalize the code that was previously under [RESET_PID].
42056         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42058         * sysdeps/generic/exit-thread.h: New file.
42059         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42060         * include/unistd.h (__exit_thread): Remove declaration.
42061         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42062         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42063         * csu/libc-start.c: Include <exit-thread.h>.
42064         (LIBC_START_MAIN): Pass no argument to __exit_thread.
42065         * nptl/pthread_create.c: Include <exit-thread.h>.
42066         (start_thread): Call __exit_thread in place of __exit_thread_inline.
42067         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42068         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42069         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42070         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42071         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42072         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42073         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42074         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42075         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42076         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42077         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42078         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42079         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42080         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42081         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42082         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42084 2014-05-13  Andreas Schwab  <schwab@suse.de>
42086         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42088 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
42090         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42091         (__ASSUME_UTIMES): Do not condition on kernel version.
42092         (__ASSUME_PSELECT): Define unconditionally.
42093         (__ASSUME_PPOLL): Likewise.
42094         (__ASSUME_ATFCTS): Likewise.
42095         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42096         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42097         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42098         (__ASSUME_UTIMENSAT): Define unconditionally.
42099         (__ASSUME_PRIVATE_FUTEX): Likewise.
42100         (__ASSUME_FALLOCATE): Likewise.
42101         (__ASSUME_O_CLOEXEC): Likewise.
42102         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42103         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42104         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42105         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42106         (__ASSUME_IN_NONBLOCK): Likewise.
42107         (__ASSUME_PIPE2): Likewise.
42108         (__ASSUME_EVENTFD2): Likewise.
42109         (__ASSUME_SIGNALFD4): Likewise.
42110         (__ASSUME_DUP3): Likewise.
42111         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42112         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42113         (__ASSUME_AT_RANDOM): Likewise.
42114         (__ASSUME_PREADV): Likewise.
42115         (__ASSUME_PWRITEV): Likewise.
42116         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42117         (__ASSUME_F_GETOWN_EX): Define unconditionally.
42118         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42119         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42120         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42121         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42122         (__ASSUME_O_CLOEXEC): Define unconditionally.
42123         (__ASSUME_PSELECT): Do not undefine conditionally.
42124         (__ASSUME_PPOLL): Likewise.
42125         (__ASSUME_ATFCTS): Likewise.
42126         (__ASSUME_SET_ROBUST_LIST): Likewise.
42127         (__ASSUME_UTIMENSAT): Likewise.
42128         (__ASSUME_FDATASYNC): Define unconditionally.
42129         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42130         (__ASSUME_SIGFRAME_V2): Likewise.
42131         )__ASSUME_EVENTFD2): Likewise.
42132         (__ASSUME_SIGNALFD4): Likewise.
42133         (__ASSUME_PSELECT): Do not undefine conditionally.
42134         (__ASSUME_PPOLL): Likewise.
42135         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42136         (__ASSUME_PSELECT): Define unconditionally.
42137         (__ASSUME_PPOLL): Likewise.
42138         (__ASSUME_O_CLOEXEC): Likewise.
42139         (__ASSUME_SOCK_CLOEXEC): Likewise.
42140         (__ASSUME_IN_NONBLOCK): Likewise.
42141         (__ASSUME_PIPE2): Likewise.
42142         (__ASSUME_EVENTFD2): Likewise.
42143         (__ASSUME_SIGNALFD4): Likewise.
42144         (__ASSUME_DUP3): Likewise.
42145         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42146         (__ASSUME_O_CLOEXEC): Likewise.
42147         (__ASSUME_SOCK_CLOEXEC): Likewise.
42148         (__ASSUME_IN_NONBLOCK): Likewise.
42149         (__ASSUME_PIPE2): Likewise.
42150         (__ASSUME_EVENTFD2): Likewise.
42151         (__ASSUME_SIGNALFD4): Likewise.
42152         (__ASSUME_DUP3): Likewise.
42153         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42154         (__ASSUME_EVENTFD2): Likewise.
42155         (__ASSUME_SIGNALFD4): Likewise.
42156         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42158 2014-05-12  Andreas Schwab  <schwab@suse.de>
42160         [BZ #16932]
42161         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42162         (_nss_nis_gethostbyname4_r): Return error if item length is larger
42163         than maximum RPC packet size.
42164         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42165         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42166         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42167         (_nss_nis_getservbyport_r): Likewise.
42169 2014-05-12  Will Newton  <will.newton@linaro.org>
42171         * malloc/Makefile (tests): Add tst-mallopt.
42172         * malloc/tst-mallopt.c: New file.
42174 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42176         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42177         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42179 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42181         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42182         (tst-tlsmod6.so): Likewise.
42184 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42186         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42188 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
42190         [BZ #16064]
42191         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42192         and <dl-procinfo.h>.
42193         (__fegetenv): Save SSE state in envp->__eip if supported.
42194         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42195         envp->__eip if supported.
42196         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42197         and <dl-procinfo.h>.
42198         (__fesetenv): Always set __eip, __cs_selector, __opcode,
42199         __data_offset and __data_selector in environment to 0.  Set SSE
42200         state if supported.
42201         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42202         test-fenv-sse.
42203         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42204         -mfpmath=sse.
42205         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42207 2014-05-09  Will Newton  <will.newton@linaro.org>
42209         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42210         and libc_relro_required for ARM.
42211         * sysdeps/arm/preconfigure: Regenerate.
42213 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
42214             Stefan Liebler  <stli@linux.vnet.ibm.com>
42216         * config.make.in (enable-lock-elision): New Makefile variable.
42217         * configure.ac: Likewise.
42218         * configure: Regenerate.
42219         * sysdeps/s390/configure.ac:
42220         Add check for gcc transactions support.
42221         * sysdeps/s390/configure: Regenerate.
42222         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42223         Build elision files if enabled.
42224         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42225         Add lock elision support for s390.
42226         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42227         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42228         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42229         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42230         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42231         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42232         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42233         Likewise.
42234         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42235         Likewise.
42236         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42237         Likewise.
42238         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42239         Likewise.
42240         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42241         (__lll_timedlock_elision, __lll_lock_elision)
42242         (__lll_unlock_elision, __lll_trylock_elision)
42243         (lll_timedlock_elision, lll_lock_elision)
42244         (lll_unlock_elision, lll_trylock_elision): Add.
42245         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42246         (pthread_mutex_t): Add lock elision support for s390.
42248 2014-05-14  Wilco  <wdijkstr@arm.com>
42250         * sysdeps/arm/fclrexcpt.c: Cleanup.
42251         * sysdeps/arm/fedisblxcpt.c: Cleanup.
42252         * sysdeps/arm/feenablxcpt.c: Cleanup.
42253         * sysdeps/arm/fegetenv.c: Cleanup.
42254         * sysdeps/arm/fegetexcept.c: Cleanup.
42255         * sysdeps/arm/fegetround.c: Cleanup.
42256         * sysdeps/arm/feholdexcpt.c: Cleanup.
42257         * sysdeps/arm/fesetenv.c: Cleanup.
42258         * sysdeps/arm/fesetround.c: Cleanup.
42259         * sysdeps/arm/feupdateenv.c: Cleanup.
42260         * sysdeps/arm/fgetexcptflg.c: Cleanup.
42261         * sysdeps/arm/fraiseexcpt.c: Cleanup.
42262         * sysdeps/arm/fsetexcptflg.c: Cleanup.
42263         * sysdeps/arm/ftestexcept.c: Cleanup.
42264         * sysdeps/arm/get-rounding-mode.h: Cleanup.
42265         * sysdeps/arm/setfpucw.c: Cleanup.
42267 2014-05-09  Will Newton  <will.newton@linaro.org>
42269         * sysdeps/arm/armv7/strcmp.S: New file.
42270         * NEWS: Mention addition of ARMv7 optimized strcmp.
42272 2014-05-08  Roland McGrath  <roland@hack.frob.com>
42274         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42275         look for %.ac rather than %.in.
42277         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42278         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42279         * sysdeps/mach/hurd/configure: Regenerated.
42280         * sysdeps/unix/sysv/linux/configure: Regenerated.
42282         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42284 2014-05-07  Steve Ellcey  <sellcey@mips.com>
42286         [BZ# 16922]
42287         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42288         (LONG_SUB): Ditto.
42289         (PTR_SUB): Ditto.
42291 2014-05-07  Andreas Schwab  <schwab@suse.de>
42293         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42294         when skipping over non-matching result from nscd.
42296 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
42298         [BZ #16876]
42299         * nptl/sockperf.c (client): Check socket return value.
42301         [BZ #16877]
42302         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42303         nscd security class.
42305 2014-05-06  Roland McGrath  <roland@hack.frob.com>
42307         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42308         * sysdeps/arm/unwind.h: ... here.
42310 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
42312         [BZ# 16916]
42313         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42314         Define.
42316 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42318         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42319         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42320         multiarch strncpy for PPC64.
42321         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42322         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42324         multiarch optimizations.
42325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42326         (__libc_ifunc_impl_list): Likewise.
42327         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42328         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42329         multiarch stpncpy for PPC64.
42330         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42331         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42333 2014-05-06  Andreas Schwab  <schwab@suse.de>
42335         [BZ #16912]
42336         * gmon/mcount.c (_MCOUNT_DECL): Use
42337         atomic_compare_and_exchange_bool_acq instead of
42338         catomic_compare_and_exchange_bool_acq.
42340 2014-05-05  Roland McGrath  <roland@hack.frob.com>
42342         * elf/Makefile (others, install-bin): Remove pldd.
42343         (pldd-modules): Variable removed.
42344         ($(objpfx)pldd): Target removed.
42345         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42346         (others, install-bin): Append pldd here.
42347         ($(objpfx)pldd): New target.
42349         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42350         to 0, so the first #if test emitted later doesn't see it undefined.
42351         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42352         * sysdeps/gnu/errlist.c: Regenerated.
42354 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42356         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42357         [libc_hidden_builtin_def]: Define to empty value.
42358         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42359         [libc_hidden_builtin_def]: Likewise.
42360         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42361         [libc_hidden_builtin_def]: Likewise.
42362         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42363         [libc_hidden_builtin_def]: Likewise.
42364         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42365         __redirect_memcpy and define ifunc as default hidden symbol.
42366         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42367         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42369 2014-05-04  Adam Conrad  <adconrad@0c3.net>
42371         * locale/iso-4217.def: Reintroduce XDR currency.
42373 2014-05-04  Allan McRae  <allan@archlinux.org>
42375         * po/eo.po: Update Esperanto translation from translation project.
42377 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
42379         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42380         and FEATURE_INDEX_MAX to 1.
42381         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42383 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42385         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42386         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42387         * iconvdata/big5.c (ONE_DIRECTION): Define.
42388         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42389         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42390         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42391         * iconvdata/cp932.c (ONE_DIRECTION): Define.
42392         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42393         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42394         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42395         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42396         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42397         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42398         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42399         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42400         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42401         * iconvdata/gbk.c (ONE_DIRECTION): Define.
42402         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42403         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42404         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42405         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42406         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42407         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42408         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42409         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42410         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42411         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42412         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42413         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42414         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42415         * iconvdata/iso646.c (ONE_DIRECTION): Define.
42416         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42417         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42418         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42419         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42420         * iconvdata/johab.c (ONE_DIRECTION): Define.
42421         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42422         * iconvdata/sjis.c (ONE_DIRECTION): Define.
42423         * iconvdata/t.61.c (ONE_DIRECTION): Define.
42424         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42425         * iconvdata/tscii.c (ONE_DIRECTION): Define.
42426         * iconvdata/uhc.c (ONE_DIRECTION): Define.
42427         * iconvdata/unicode.c (ONE_DIRECTION): Define.
42428         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42429         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42430         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42432 2014-05-01  Roland McGrath  <roland@hack.frob.com>
42434         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42435         (_IO_JUMPS_OFFSET): Define to 0.
42437         * nptl/sysdeps/pthread/bits/libc-lock.h
42438         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42439         (__libc_lock_define_initialized_recursive): Always define using
42440         initializer.  Modern compilers treat uninitialized (implicit zero) and
42441         explicit zero initializers the same (i.e. put the datum in bss).
42443 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42445         * nscd/nscd-client.h: Include <string.h>.
42447 2014-05-01  David S. Miller  <davem@davemloft.net>
42449         [BZ #16885]
42450         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42451         multiple zero bytes exist at the end of a string.
42452         Reported by Aurelien Jarno <aurelien@aurel32.net>
42454         * string/test-strcmp.c (check): Add explicit test for situations where
42455         there are multiple zero bytes after the first.
42457 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42459         [BZ #16890]
42460         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42461         when compiling wprintf.
42462         * stdio-common/tstdiomisc.c (t3): New function.
42463         (main): Call it.
42465 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42467         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42468         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42469         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42470         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42472 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42474         * stdlib/longlong.h: Updated from GCC.
42476 2014-05-01  Will Newton  <will.newton@linaro.org>
42477             Bernard Ogden  <bernie.ogden@linaro.org>
42479         * NEWS: Update fixed bug list.
42481         [BZ #15119]
42482         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42484 2014-04-30  David S. Miller  <davem@davemloft.net>
42486         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42487         (libc_feholdexcept_setround_sparc_ctx): New function.
42488         (libc_fesetenv_sparc_ctx): Likewise.
42489         (libc_feupdateenv_sparc_ctx): Likewise.
42490         (libc_feholdsetround_sparc_ctx): Likewise.
42491         (libc_feholdexcept_setround_ctx): Define.
42492         (libc_feholdexcept_setroundf_ctx): Likewise.
42493         (libc_feholdexcept_setroundl_ctx): Likewise.
42494         (libc_fesetenv_ctx): Likewise.
42495         (libc_fesetenvf_ctx): Likewise.
42496         (libc_fesetenvl_ctx): Likewise.
42497         (libc_feupdateenv_ctx): Likewise.
42498         (libc_feupdateenvf_ctx): Likewise.
42499         (libc_feupdateenvl_ctx): Likewise.
42500         (libc_feresetround_ctx): Likewise.
42501         (libc_feresetroundf_ctx): Likewise.
42502         (libc_feresetroundl_ctx): Likewise.
42503         (libc_feholdsetround_ctx): Likewise.
42504         (libc_feholdsetroundf_ctx): Likewise.
42505         (libc_feholdsetroundl_ctx): Likewise.
42507         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42508         with __USE_GNU instead of XOPEN cpp guards.
42510         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42511         0.
42513         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42514         with XOPEN cpp guards.
42516 2014-04-30  Julian Brown  <julian@codesourcery.com>
42518         [BZ #16888]
42519         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42520         handling.
42522 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
42524         [BZ #9894]
42525         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42526         Change to 2.6.32.
42527         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42528         * sysdeps/unix/sysv/linux/configure: Regenerated.
42529         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42530         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42531         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42532         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42533         * README: Update reference to required Linux kernel version.
42534         * manual/install.texi (Linux): Update reference to required Linux
42535         kernel headers version.
42536         * INSTALL: Regenerated.
42538         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42539         header inclusion.
42540         [POSIX] (limits.h): Likewise.
42541         [POSIX] (math.h): Likewise.
42542         [POSIX] (sys/wait.h): Likewise.
42543         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
42544         function.
42545         [POSIX] (stddef.h): Do not allow header inclusion.
42547 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42549         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
42551 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
42553         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
42554         Return immediately after lll_futex_wake.
42556 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42558         [BZ #16791]
42559         * nscd/nscd-client.h (datahead_init_common): Initialize entire
42560         structure.
42561         (datahead_init_pos): Call datahead_init_common early.
42562         (datahead_init_neg): Likewise.
42564         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
42565         datahead_init_neg): New functions.
42566         * nscd/aicache.c (addhstaiX): Use them.
42567         * nscd/grpcache.c (cache_addgr): Likewise.
42568         * nscd/hstcache.c (cache_addhst): Likewise.
42569         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42570         * nscd/netgroupcache.c (do_notfound): Likewise.
42571         (addgetnetgrentX): Likewise.
42572         (addinnetgrX): Likewise.
42573         * nscd/pwdcache.c (cache_addpw): Likewise.
42574         * nscd/servicescache.c (cache_addserv): Likewise.
42576 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42577             Atsushi Onoe  <atsushi@onoe.org>
42579         [BZ #14308]
42580         [BZ #12994]
42581         [BZ #13651]
42582         * resolv/res_query.c (__libc_res_nsearch): Return if at least
42583         one response is valid.
42584         * resolv/res_send.c (send_dg): Check for validity of other
42585         response if the current response is a referral.
42587 2014-04-29  Steve Ellcey  <sellcey@mips.com>
42589         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42591 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
42593         [BZ #16823]
42594         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42595         Always divide by positive zero when computing -Inf result.
42596         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42597         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42599 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42601         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42602         FPSCR if value do not change.
42603         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42604         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42605         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42606         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42607         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42608         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42609         function.
42611 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
42613         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42614         * sysdeps/unix/sysv/linux/hppa: Move directory from
42615         ports/systeps/unix/sysv/linux/hppa.
42616         * README: Update listing for hppa-*-linux-gnu.
42618 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
42620         [BZ #16754]
42621         * manual/stdio.texi (Hook functions): Fix types of stream hook
42622         functions.
42623         [BZ #16854]
42624         * socket/sys/socket.h: Fix typo in comment.
42626 2014-04-28  Wilco  <wdijkstr@arm.com>
42628         * sysdeps/arm/fenv_private.h: New file.
42629         * sysdeps/arm/math_private.h: New file.
42630         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42632 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
42634         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42635         with __int128_t.
42636         (La_x86_64_retval): Likewise.
42638 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
42640         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42641         fpsr if value didn't change.
42642         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42643         to fpcr if value didn't change.
42644         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42645         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42646         fpsr or fpcr if value didn't change.
42647         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42648         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42649         fpcr if value didn't change.
42650         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42651         to fpsr if value didn't change.
42653 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42655         * nptl/tst-sem3.c: Use test-skeleton.c
42656         (main): Rename to do_test.  Use return instead of
42657         exit.
42658         * nptl/tst-sem4.c: Use test-skeleton.c
42659         (main): Rename to do_test.
42661 2014-04-22  David S. Miller  <davem@davemloft.net>
42663         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42664         (struct sigaction): New struct member __glibc_reserved0, change
42665         type of sa_flags to int.
42667 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
42669         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42670         (COUNT_LEADING_ZEROS_0): Define for AArch64.
42672 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42674         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42675         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42677 2014-04-22  Will Newton  <will.newton@linaro.org>
42678             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
42680         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42681         (__longjmp): Add longjmp and longjmp_target SystemTap
42682         probes.
42683         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42684         (__sigsetjmp): Add setjmp SystemTap probe.
42686 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
42688         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42689         match manual order.
42691 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42693         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42695         * sysdeps/powerpc/fpu/fenv_private.h
42696         (libc_feholdexcept_setroundl_ctx): Define to
42697         libc_feholdexcept_setround_ppc_ctx.
42698         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42699         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42700         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42701         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42703 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42705         * sysdeps/aarch64/math-tests.h: New file.
42707 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
42709         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42710         New.
42711         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42712         Check and set bit_AVX2_Usable.
42713         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42714         macro.
42715         (bit_AVX2): Likewise.
42716         (index_AVX2_Usable): Likewise.
42717         (CPUID_AVX2): Likewise.
42718         (HAS_AVX2): Likewise.
42720 2014-04-17  Will Newton  <will.newton@linaro.org>
42722         * manual/setjmp.texi (System V contexts): Add note that
42723         calling setcontext on a context created by a call to a
42724         signal handler is undefined.  Update text to note that
42725         setcontext from a signal handler is possible but not
42726         recommended.
42728         [BZ #16629]
42729         * stdlib/tst-setcontext.c: Include signal.h.
42730         (main): Check that the signal stack before and
42731         after swapcontext is the same.
42733         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42734         Re-implement to restore registers in user code and avoid
42735         rt_sigreturn system call.
42737 2014-04-17  Wilco  <wdijkstr@arm.com>
42739         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42740         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42741         * math/test-fenv.c: Skip exception trap tests on targets which only
42742         support non-stop mode.
42744 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42745             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42747         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42748         (libc_feholdsetround_aarch64_ctx)
42749         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42750         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42751         (libc_feresetround_ctx, libc_feresetroundf_ctx)
42752         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42753         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42754         (libc_feresetround_noexl_ctx): Define.
42756 2014-04-16  Richard Henderson  <rth@redhat.com>
42758         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42760         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42761         unwind tables.
42763         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42764         const from the non-libc, non-ldso copy.
42766         * sysdeps/alpha/libm-test-ulps: Regenerate.
42768 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
42769             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42771         * sysdeps/aarch64/fpu/math_private.h: New file.
42773 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42775         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42777 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
42779         [BZ #16275]
42780         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42781         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42782         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42783         Intel MPX bound registers before _dl_profile_fixup.
42784         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42785         registers after _dl_profile_fixup.  Save and restore bound
42786         registers bnd0/bnd1 when calling _dl_call_pltexit.
42787         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42788         (LR_BND_OFFSET): Likewise.
42789         (LRV_BND0_OFFSET): Likewise.
42790         (LRV_BND1_OFFSET): Likewise.
42792 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42794         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42795         to...
42796         * sysdeps/mach/hurd/i386/tls.h: ... here.
42797         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42798         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42799         fields.
42801 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42803         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42805 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42807         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42809 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42811         [BZ #14770]
42812         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42813         * sysdeps/s390/configure: Regenerate.
42815         [BZ #16824]
42816         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42817         Set round-to-nearest internally to reduce error accumulation.
42819 2014-04-16  Alan Modra  <amodra@gmail.com>
42821         [BZ #16740]
42822         [BZ #16619]
42823         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42824         * math/libm-test.inc (frexp_test_data): Add tests.
42825         * NEWS: Update fixed bug list.
42827 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42829         * benchtests/Makefile: Depend on libraries in build directory.
42830         (bench-math): Separate out math tests.
42831         (bench-pthread): Separate out pthread tests.
42832         (bench): Include math and pthread tests.
42834 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
42836         [BZ #16831]
42837         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42838         _dl_debug_initialize.
42840         * configure.ac: Remove SELinux header check.
42841         * configure: Regenerate.
42842         * nscd/selinux.c (perms): Array of const char* to permission names.
42843         (nscd_request_avc_has_perm): Call security_deny_unknown to find
42844         default policy. Call string_to_security_class and string_to_av_perm to
42845         translate strings. Enforce default policy and call avs_has_perm with
42846         results of translated strings.
42848 2014-04-13  David S. Miller  <davem@davemloft.net>
42850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42852 2014-04-12  Allan McRae  <allan@archlinux.org>
42854         [BZ #16838]
42855         * manual/string.texi (Collation Functions): Fix qsort argument
42856         order in example.
42857         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42859 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
42861         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42862         Make the test a no-op if there are no exceptions defined.
42864 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
42866         * elf/Makefile (tests): make tst-dlopen-aout conditional on
42867         enable-hardcoded-path-in-tests
42869 2014-04-11  Will Newton  <will.newton@linaro.org>
42871         * benchtests/Makefile (extra-objs): Add json-lib.o.
42872         (bench-func): Tidy up JSON output.
42873         * benchtests/bench-skeleton.c: Include json-lib.h.
42874         (main): Use JSON library functions to do output of
42875         benchmark results.
42876         * benchtests/bench-timing-type.c (main): Output the
42877         timing type simply, leaving formatting to the user.
42878         * benchtests/json-lib.c: New file.
42879         * benchtests/json-lib.h: Likewise.
42881 2014-04-11  Torvald Riegel  <triegel@redhat.com>
42883         [BZ #15215]
42884         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42885         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
42886         memory barriers.  Add comments.
42887         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42888         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42889         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42890         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42891         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42892         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42894 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42896         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42897         * sysdeps/s390/s390-64/configure.ac: ... this ...
42898         * sysdeps/s390/configure.ac: ... to here.
42899         * sysdeps/s390/s390-32/configure: Delete file.
42900         * sysdeps/s390/s390-64/configure: Delete file.
42901         * sysdeps/s390/configure: Regenerate.
42903 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
42905         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42907 2014-04-11  Will Newton  <will.newton@linaro.org>
42909         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42910         to zero if it is not defined elsewhere.  (mtrim): Test
42911         the value of MALLOC_DEBUG with #if rather than #ifdef.
42913 2014-04-10 Torvald Riegel  <triegel@redhat.com>
42915         * benchtests/pthread_once-inputs: New file.
42916         * benchtests/pthread_once-source.c: New file.
42917         * benchtests/README: Update documentation.
42919 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
42920             H.J. Lu  <hongjiu.lu@intel.com>
42922         [BZ #16275]
42923         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42924         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42925         * sysdeps/x86_64/configure: Regenerated.
42926         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42927         macro.
42928         (REGISTER_SAVE_RAX): Likewise.
42929         (REGISTER_SAVE_RCX): Likewise.
42930         (REGISTER_SAVE_RDX): Likewise.
42931         (REGISTER_SAVE_RSI): Likewise.
42932         (REGISTER_SAVE_RDI): Likewise.
42933         (REGISTER_SAVE_R8): Likewise.
42934         (REGISTER_SAVE_R9): Likewise.
42935         (REGISTER_SAVE_BND0): Likewise.
42936         (REGISTER_SAVE_BND1): Likewise.
42937         (REGISTER_SAVE_BND2): Likewise.
42938         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
42939         bound registers when calling _dl_fixup.
42941 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42943         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42944         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42945         of its definition.
42946         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42947         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42948         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42949         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42950         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42951         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42952         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42954 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
42956         [BZ #15514]
42957         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42958         pathconf(_PC_NAME_MAX).
42960 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42962         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42963         Remove macro usage.
42964         (__PTHREAD_SPINS): Move definition to ...
42965         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42966         (__PTHREAD_SPINS): ... here.
42967         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42968         (__PTHREAD_SPIN): Likewise.
42969         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42970         (__PTHREAD_SPIN): Likewise.
42971         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42972         (__PTHREAD_SPIN): Likewise.
42973         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42974         (__PTHREAD_SPIN): Likewise.
42975         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42976         (__PTHREAD_SPIN): Likewise.
42977         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42978         (__PTHREAD_SPIN): Likewise.
42979         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42980         (__PTHREAD_SPIN): Likewise.
42981         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42982         (__PTHREAD_SPIN): Likewise.
42983         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42984         (__PTHREAD_SPIN): Likewise.
42985         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42986         (__PTHREAD_SPIN): Likewise.
42987         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42988         (__PTHREAD_SPIN): Likewise.
42989         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42990         (__PTHREAD_SPIN): Likewise.
42992         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42993         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42994         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42995         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42996         imply folder.
42997         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42998         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42999         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
43000         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
43001         correct imply path.
43002         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
43003         strlen symbol for non multi-arch builds.
43004         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
43005         missing hidden_def and weak_alias.
43007 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
43009         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
43011 2014-04-07  Will Newton  <will.newton@linaro.org>
43013         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
43014         and contents.  [!_LIBC] Remove #ifndef and contents.
43015         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
43016         * string/memccpy.c (__memccpy): Use ANSI prototype.
43017         * string/memfrob.c (memfrob): Likewise.
43018         * string/strcoll.c (STRCOLL): Likewise.
43019         * string/strlen.c (strlen): Likewise.
43020         * string/strtok.c (STRTOK): Likewise.
43021         * string/strcat.c: Remove unused #include of memcopy.h.
43022         (strcat): Use ANSI prototype.
43023         * string/strchr.c: Remove unused #include of memcopy.h.
43024         (strchr): Use ANSI prototype.
43025         * string/strcmp.c: Remove unused #include of memcopy.h.
43026         (strcmp): Use ANSI prototype.
43027         * string/strcpy.c: Remove unused #include of memcopy.h.
43028         (strcpy): Use ANSI prototype.
43030 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43032         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43033         * config.make.in (config-extra-cppflags): Set it from
43034         libc_extra_cppflags.
43035         * configure.ac (libc_extra_cflags): Make it accumulate over
43036         configure fragments.
43037         (libc_extra_cppflags): New flag.
43038         * configure. Regenerate.
43039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43040         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43041         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43044         [BZ #16815]
43045         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43046         result for FE_DOWNWARD rounding mode.
43047         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43048         Likewise.
43049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43051 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
43053         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43054         in function argument name.
43056 2014-04-03  David Svoboda  <svoboda@cert.org>
43058         [BZ #5666]
43059         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43060         explicitly.
43062 2014-04-03  Roland McGrath  <roland@hack.frob.com>
43064         * elf/dl-unmap-segments.h: New file.
43065         * sysdeps/generic/ldsodefs.h
43066         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43067         * elf/dl-close.c: Include <dl-unmap-segments.h>.
43068         * elf/dl-fptr.c: Likewise.
43069         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43070         * sysdeps/aarch64/tlsdesc.c: Likewise.
43071         * sysdeps/arm/tlsdesc.c: Likewise.
43072         * sysdeps/i386/tlsdesc.c: Likewise.
43073         * sysdeps/tile/dl-runtime.c: Likewise.
43074         * sysdeps/x86_64/tlsdesc.c: Likewise.
43075         * elf/dl-load.h: New file.
43076         * elf/dl-load.c: Include it.
43077         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43078         Macros moved to dl-load.h.
43079         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43080         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43081         Use _dl_unmap_segments in place of __munmap.
43082         Break out segment-mapping loop into ...
43083         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43085 2014-04-03  Will Newton  <will.newton@linaro.org>
43087         * elf/dl-lookup.c (do_lookup_x): Remove comment
43088         referring to nested function and move variable
43089         declarations down to before first use.
43091 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
43093         [BZ #16799]
43094         [BZ #16800]
43095         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43096         with 0 numerator.
43097         * math/s_catanf.c (__catanf): Likewise.
43098         * math/s_catanh.c (__catanh): Likewise.
43099         * math/s_catanhf.c (__catanhf): Likewise.
43100         * math/s_catanhl.c (__catanhl): Likewise.
43101         * math/s_catanl.c (__catanl): Likewise.
43102         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43103         by positive zero when computing -Inf result.
43104         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43105         (catanh_test): Likewise.
43106         * sysdeps/i386/fpu/libm-test-ulps: Update.
43107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43109         [BZ #16789]
43110         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43111         instead of using underflowing value in computing result.
43112         * math/s_clog10.c (__clog10): Likewise.
43113         * math/s_clog10f.c (__clog10f): Likewise.
43114         * math/s_clog10l.c (__clog10l): Likewise.
43115         * math/s_clogf.c (__clogf): Likewise.
43116         * math/s_clogl.c (__clogl): Likewise.
43117         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43118         (clog10_test): Likewise.
43119         * sysdeps/i386/fpu/libm-test-ulps: Update.
43120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43122 2014-04-02  Alan Modra  <amodra@gmail.com>
43124         [BZ #16739]
43125         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43126         output when value is near a power of two.  Use int64_t for lx and
43127         remove casts.  Use decimal rather than hex exponent constants.
43128         Don't use long double multiplication when double will suffice.
43129         * math/libm-test.inc (nextafter_test_data): Add tests.
43130         * NEWS: Add 16739 and 16786 to bug list.
43132         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43134         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43136 2014-04-01  Will Newton  <will.newton@linaro.org>
43138         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43139         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
43141 2014-04-01  Florian Weimer  <fweimer@redhat.com>
43143         [BZ #13347]
43144         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43145         * nptl/tst-setuid2.c: New file.
43146         * nptl/Makefile (xtests): Add tst-setuid2.
43148 2014-04-01  Alan Modra  <amodra@gmail.com>
43150         [BZ #16786]
43151         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43153 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43155         [BZ #6803]
43156         [BZ #6804]
43157         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43158         set errno as appropriate.
43159         * math/w_scalbf.c (__scalbf): Likewise.
43160         * math/w_scalbl.c (__scalbl): Likewise.
43161         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43162         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43163         * math/libm-test.inc (scalb_test_data): Add errno expectations.
43164         Add more NaN tests.
43166         [BZ #16349]
43167         * math/w_atan2.c: Include <errno.h>.
43168         (__atan2): Set errno for result underflowing to zero.
43169         * math/w_atan2f.c: Include <errno.h>.
43170         (__atan2f): Set errno for result underflowing to zero.
43171         * math/w_atan2l.c: Include <errno.h>.
43172         (__atan2l): Set errno for result underflowing to zero.
43173         * math/auto-libm-test-in: Don't allow missing errno for some atan2
43174         tests.
43175         * math/auto-libm-test-out: Regenerated.
43177 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43179         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43180         Encode instruction correctly in little endian.
43181         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43182         Likewise.
43183         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43184         Likewise.
43185         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43186         Likewise.
43187         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43188         Likewise.
43190 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43192         [BZ #9894]
43193         * sysdeps/unix/sysv/linux/kernel-features.h
43194         [__sparc__ && !__arch64__ && !__sparc_v9__]
43195         (__ASSUME_SET_ROBUST_LIST): Do not define.
43196         [__sparc__ && !__arch64__ && !__sparc_v9__]
43197         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43198         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43199         Likewise.
43200         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43201         (__ASSUME_FUTEX_LOCK_PI): Undefine.
43202         (__ASSUME_REQUEUE_PI): Likewise.
43203         (__ASSUME_SET_ROBUST_LIST): Likewise.
43204         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43205         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43206         Undefine.
43207         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43208         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43209         Likewise.
43210         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43211         Likewise.
43212         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43213         Likewise.
43214         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43215         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43216         Undefine.
43217         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43218         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43219         Likewise.
43221         [BZ #16648]
43222         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43223         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43224         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43226 2014-03-31  Will Newton  <will.newton@linaro.org>
43228         * benchtests/Makefile (bench): Add ffs and ffsll to list
43229         of tests.
43230         * benchtests/ffs-inputs: New file.
43231         * benchtests/ffsll-inputs: Likewise.
43233 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
43235         [BZ #16770]
43236         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43237         too large before casting to int.
43238         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43239         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43240         * math/libm-test.inc (scalb_test_data): Add more tests.
43242 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43244         * benchtests/Makefile (DETAILED_OPT): New make option.
43245         (bench-func): Run benchmark program with -d if DETAILED_OPT is
43246         set.
43247         * benchtests/bench-skeleton.c: Include stdbool.h.
43248         (main): Store and print timings per input.
43249         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43250         member to each argument value.
43251         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43252         (_print_arg_data): Initialize per-input timing to 0.
43254         * benchtests/Makefile (timing-type): New binary.
43255         (bench-clean): Also remove bench-timing-type.
43256         (bench): New target for timing-type.
43257         (bench-func): Print output in JSON format.
43258         * benchtests/bench-skeleton.c (main): Print output in JSON
43259         format.
43260         * benchtests/bench-timing-type.c: New file.
43261         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43262         (TIMING_PRINT_STATS): Remove.
43263         * benchtests/scripts/bench.py (_print_arg_data): Store variant
43264         name separately.
43266         * benchtests/bench-modf.c: Remove.
43267         * benchtests/modf-inputs: New inputs file.
43269 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
43271         [BZ #16362]
43272         * math/s_clog10.c (M_PI_LOG10E): New macro.
43273         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43274         imaginary parts are 0.
43275         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43276         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43277         imaginary parts are 0.
43278         * math/s_clog10l.c (M_PI_LOG10El): New macro.
43279         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43280         imaginary parts are 0.
43281         * math/libm-test.inc (clog10_test_data): Update expected results
43282         for when real and imaginary parts are 0.
43284 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
43286         * elf/dl-load.c: Finish conversion of __builtin_expect into
43287         __glibc_{un}likely.
43289 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
43291         [BZ #16348]
43292         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43293         1+x for argument with exponent below -67.
43294         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43295         Likewise.
43296         * math/auto-libm-test-in: Add more tests of exp.
43297         * math/auto-libm-test-out: Regenerated.
43299 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43301         [BZ #16759]
43302         * inet/getnetgrent_r.c (get_nonempty_val): New function.
43303         (nscd_getnetgrent): Use it.
43305         [BZ #16760]
43306         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43307         of stpcpy.
43309 2014-03-27  Andi Kleen  <ak@linux.intel.com>
43311         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43312         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43313         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43314         (lll_robust_unlock): Remove out of line section. Use cfi
43315         intrinsics.
43316         (LLL_STUB_UNWIND_INFO*): Remove.
43317         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43318         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43319         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43320         (lll_robust_unlock): Remove out of line section. Use cfi
43321         intrinsics.
43322         (LLL_STUB_UNWIND_INFO*): Remove.
43324 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43326         [BZ #16758]
43327         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43328         blank values.
43330 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
43332         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43334 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
43336         [BZ #16198]
43337         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43338         fnstenv.
43339         * math/test-fenv-preserve.c: New file.
43340         * math/Makefile (tests): Add test-fenv-preserve.
43342 2014-03-26  Will Newton <will.newton@linaro.org>
43344         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43346 2014-03-25  Roland McGrath  <roland@hack.frob.com>
43348         * scripts/versionlist.awk: Partition the version sets and emit all
43349         GLIBC_* (sorted) before all others (sorted).
43351 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43353         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43354         GLIBC_2.2.5 version.
43356 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43358         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43359         calls.
43361         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43362         previous change.
43364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43366 2014-03-25  Andreas Schwab  <schwab@suse.de>
43368         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43369         label to be used after in6ailist is initialized.
43371 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43373         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43374         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43376 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43378         [BZ #16357]
43379         [BZ #16599]
43380         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43381         min_plus_half.
43382         (fp_formats): Update initializers.
43383         (init_fp_formats): Initialize new field.
43384         (output_for_one_input_case): Allow underflow for results up to
43385         min_plus_half.
43386         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43387         * math/auto-libm-test-in: Don't mark some underflows from asin and
43388         atanh as spurious.
43389         * math/auto-libm-test-out: Regenerated.
43390         * sysdeps/i386/fpu/libm-test-ulps: Update.
43391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43393 2014-03-25  Andreas Schwab  <schwab@suse.de>
43395         * libio/Makefile (tst-ftell-partial-wide-ENV)
43396         (tst-ftell-active-handler-ENV): Define.
43398 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
43400         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43402 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43404         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43406 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43408         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43409         * sysdeps/x86_64/fpu/multiarch/e_exp.c
43410         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43412 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43414         [BZ #16634]
43415         * elf/dl-load.c (open_verify): Add mode parameter.
43416         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43417         (open_path): Change from boolean 'secure' to complete flag 'mode'
43418         (_dl_map_object): Adjust.
43419         * elf/Makefile (tests): Add tst-dlopen-aout.
43420         * elf/tst-dlopen-aout.c: New test.
43422 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
43424         [BZ #16714]
43425         * sysdeps/unix/sysv/linux/s390/bits/stat.h
43426         (struct stat): Rename member pad0 to __glibc_reserved0.
43428         [BZ #16712]
43429         * sysdeps/s390/s390-32/bits/wordsize.h
43430         (__WORDSIZE32_SIZE_ULONG): New define.
43431         * sysdeps/s390/s390-64/bits/wordsize.h
43432         (__WORDSIZE32_SIZE_ULONG): Likewise.
43433         * sysdeps/generic/stdint.h (SIZE_MAX):
43434         Define as UL if __WORDSIZE32_SIZE_ULONG.
43436         [BZ #16713]
43437         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43438         (__glibc_reserved0): New variable.
43439         (sa_flags): Change type to int.
43441         * posix/Makefile (before-compile): Use += before-compile instead
43442         of a :=.
43444         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43445         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43447 2014-03-20  Andreas Schwab  <schwab@suse.de>
43449         [BZ #16743]
43450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43451         non-matching result from nscd.
43453 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43455         * scripts/bench.py: Moved to ...
43456         * benchtests/scripts/bench.py: ... here.
43457         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43459 2014-03-24  Andreas Schwab  <schwab@suse.de>
43461         [BZ #16002]
43462         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43463         alloca_account and account alloca use for struct in6ailist.
43465 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43467         [BZ #16284]
43468         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43469         rounding mode to recompute results that overflow to infinity or
43470         underflow to zero.
43471         * math/auto-libm-test-in: Don't mark tests as expected to fail for
43472         bug 16284.
43473         * math/auto-libm-test-out: Regenerated.
43474         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43475         (ccosh_test): Likewise.
43476         (csin_test_data): Use plus_oflow.
43477         (csin_test): Use ALL_RM_TEST.
43478         (csinh_test_data): Use plus_oflow.
43479         (csinh_test): Use ALL_RM_TEST.
43480         * sysdeps/i386/fpu/libm-test-ulps: Update.
43481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43483 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
43485         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43486         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43487         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43489         [BZ #16731]
43490         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43491         when x - 1 is zero.
43492         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43493         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43494         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43495         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43496         argument is 1.
43497         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43498         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43499         zero.
43500         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43501         * sysdeps/i386/fpu/libm-test-ulps: Update.
43502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43504 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43506         * scripts/bench.pl: Remove file.
43507         * scripts/bench.py: New benchmark script.
43508         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43509         * benchtests/README: Mention python dependency.
43510         * scripts/pylintrc: New file.
43511         * scripts/pylint: New file.
43513         * bits/mathdef.h: Use #ifdef instead of #if.
43514         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43515         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43516         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43517         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43518         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43519         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43521 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43522             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43524         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43526         and strpbrk-ppc64 objects.
43527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43528         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43529         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43530         multiarch strpbrk for POWER7.
43531         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43532         multiarch strpbrk for PPC64.
43533         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43534         ifunc selector.
43535         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43536         strpbrk for POWER7.
43538 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
43540         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
43541         (atan_test): Likewise.
43542         (atanh_test_data): Use NO_TEST_INLINE for two tests.
43543         (atanh_test): Use ALL_RM_TEST.
43544         (atan2_test_data): Likewise.
43545         (cabs_test): Likewise.
43546         (cacosh_test): Likewise.
43547         (carg_test): Likewise.
43548         (casin_test): Likewise.
43549         (casinh_test): Likewise.
43550         (cbrt_test): Likewise.
43551         (csqrt_test): Likewise.
43552         (erf_test): Likewise.
43553         (erfc_test): Likewise.
43554         (pow10_test): Likewise.
43555         (exp2_test): Likewise.
43556         (hypot_test): Likewise.
43557         (j0_test): Likewise.
43558         (j1_test): Likewise.
43559         (lgamma_test): Likewise.
43560         (gamma_test): Likewise.
43561         (sincos_test): Likewise.
43562         (tanh_test): Likewise.
43563         (y0_test): Likewise.
43564         (y1_test): Likewise.
43565         * sysdeps/i386/fpu/libm-test-ulps: Update.
43566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43568 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43570         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
43571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
43572         and strcspn-ppc64 objects.
43573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43574         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
43575         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
43576         multiarch strcspn for POWER7.
43577         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
43578         multiarch strcspn for PPC64.
43579         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43580         ifunc selector.
43581         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43582         strcspn for POWER7.
43584 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
43586         * math/gen-libm-test.pl (generate_testfile): Expect only function
43587         name as argument to AUTO_TESTS_* and pass results for all rounding
43588         modes to parse_args.
43589         (parse_auto_input): Separate inputs of automatic tests from
43590         outputs before storing in %auto_tests.
43591         * math/libm-test.inc (acos_test_data): Update call to
43592         AUTO_TESTS_f_f.
43593         (acos_test): Use ALL_RM_TEST.
43594         (acos_tonearest_test_data): Remove.
43595         (acos_test_tonearest): Likewise.
43596         (acos_towardzero_test_data): Likewise.
43597         (acos_test_towardzero): Likewise.
43598         (acos_downward_test_data): Likewise.
43599         (acos_test_downward): Likewise.
43600         (acos_upward_test_data): Likewise.
43601         (acos_test_upward): Likewise.
43602         (acosh_test_data): Update call to AUTO_TESTS_f_f.
43603         (asin_test_data): Likewise.
43604         (asin_test): Use ALL_RM_TEST.
43605         (asin_tonearest_test_data): Remove.
43606         (asin_test_tonearest): Likewise.
43607         (asin_towardzero_test_data): Likewise.
43608         (asin_test_towardzero): Likewise.
43609         (asin_downward_test_data): Likewise.
43610         (asin_test_downward): Likewise.
43611         (asin_upward_test_data): Likewise.
43612         (asin_test_upward): Likewise.
43613         (asinh_test_data): Update call to AUTO_TESTS_f_f.
43614         (atan_test_data): Likewise.
43615         (atanh_test_data): Likewise.
43616         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43617         (cabs_test_data): Update call to AUTO_TESTS_c_f.
43618         (carg_test_data): Likewise.
43619         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43620         (ccos_test_data): Update call to AUTO_TESTS_c_c.
43621         (ccosh_test_data): Likewise.
43622         (cexp_test_data): Likewise.
43623         (clog_test_data): Likewise.
43624         (clog10_test_data): Likewise.
43625         (cos_test_data): Update call to AUTO_TESTS_f_f.
43626         (cos_test): Use ALL_RM_TEST.
43627         (cos_tonearest_test_data): Remove.
43628         (cos_test_tonearest): Likewise.
43629         (cos_towardzero_test_data): Likewise.
43630         (cos_test_towardzero): Likewise.
43631         (cos_downward_test_data): Likewise.
43632         (cos_test_downward): Likewise.
43633         (cos_upward_test_data): Likewise.
43634         (cos_test_upward): Likewise.
43635         (cosh_test_data): Update call to AUTO_TESTS_f_f.
43636         (cosh_test): Use ALL_RM_TEST.
43637         (cosh_tonearest_test_data): Remove.
43638         (cosh_test_tonearest): Likewise.
43639         (cosh_towardzero_test_data): Likewise.
43640         (cosh_test_towardzero): Likewise.
43641         (cosh_downward_test_data): Likewise.
43642         (cosh_test_downward): Likewise.
43643         (cosh_upward_test_data): Likewise.
43644         (cosh_test_upward): Likewise.
43645         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43646         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43647         (ctan_test_data): Likewise.
43648         (ctan_test): Use ALL_RM_TEST.
43649         (ctan_tonearest_test_data): Remove.
43650         (ctan_test_tonearest): Likewise.
43651         (ctan_towardzero_test_data): Likewise.
43652         (ctan_test_towardzero): Likewise.
43653         (ctan_downward_test_data): Likewise.
43654         (ctan_test_downward): Likewise.
43655         (ctan_upward_test_data): Likewise.
43656         (ctan_test_upward): Likewise.
43657         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43658         (ctanh_test): Use ALL_RM_TEST.
43659         (ctanh_tonearest_test_data): Remove.
43660         (ctanh_test_tonearest): Likewise.
43661         (ctanh_towardzero_test_data): Likewise.
43662         (ctanh_test_towardzero): Likewise.
43663         (ctanh_downward_test_data): Likewise.
43664         (ctanh_test_downward): Likewise.
43665         (ctanh_upward_test_data): Likewise.
43666         (ctanh_test_upward): Likewise.
43667         (erf_test_data): Update call to AUTO_TESTS_f_f.
43668         (erfc_test_data): Likewise.
43669         (exp_test_data): Likewise.
43670         (exp_test): Use ALL_RM_TEST.
43671         (exp_tonearest_test_data): Remove.
43672         (exp_test_tonearest): Likewise.
43673         (exp_towardzero_test_data): Likewise.
43674         (exp_test_towardzero): Likewise.
43675         (exp_downward_test_data): Likewise.
43676         (exp_test_downward): Likewise.
43677         (exp_upward_test_data): Likewise.
43678         (exp_test_upward): Likewise.
43679         (exp10_test_data): Update call to AUTO_TESTS_f_f.
43680         (exp10_test): Use ALL_RM_TEST.
43681         (exp10_tonearest_test_data): Remove.
43682         (exp10_test_tonearest): Likewise.
43683         (exp10_towardzero_test_data): Likewise.
43684         (exp10_test_towardzero): Likewise.
43685         (exp10_downward_test_data): Likewise.
43686         (exp10_test_downward): Likewise.
43687         (exp10_upward_test_data): Likewise.
43688         (exp10_test_upward): Likewise.
43689         (exp2_test_data): Update call to AUTO_TESTS_f_f.
43690         (expm1_test_data): Likewise.
43691         (expm1_test): Use ALL_RM_TEST.
43692         (expm1_tonearest_test_data): Remove.
43693         (expm1_test_tonearest): Likewise.
43694         (expm1_towardzero_test_data): Likewise.
43695         (expm1_test_towardzero): Likewise.
43696         (expm1_downward_test_data): Likewise.
43697         (expm1_test_downward): Likewise.
43698         (expm1_upward_test_data): Likewise.
43699         (expm1_test_upward): Likewise.
43700         (fma_test_data): Update call to AUTO_TESTS_fff_f.
43701         (fma_test): Use ALL_RM_TEST.
43702         (fma_towardzero_test_data): Remove.
43703         (fma_test_towardzero): Likewise.
43704         (fma_downward_test_data): Likewise.
43705         (fma_test_downward): Likewise.
43706         (fma_upward_test_data): Likewise.
43707         (fma_test_upward): Likewise.
43708         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43709         (j0_test_data): Update call to AUTO_TESTS_f_f.
43710         (j1_test_data): Likewise.
43711         (jn_test_data): Update call to AUTO_TESTS_if_f.
43712         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43713         (log_test_data): Update call to AUTO_TESTS_f_f.
43714         (log10_test_data): Likewise.
43715         (log1p_test_data): Likewise.
43716         (log2_test_data): Likewise.
43717         (pow_test_data): Update call to AUTO_TESTS_ff_f.
43718         (pow_tonearest_test_data): Likewise.
43719         (sin_test_data): Update call to AUTO_TESTS_f_f.
43720         (sin_test): Use ALL_RM_TEST.
43721         (sin_tonearest_test_data): Remove.
43722         (sin_test_tonearest): Likewise.
43723         (sin_towardzero_test_data): Likewise.
43724         (sin_test_towardzero): Likewise.
43725         (sin_downward_test_data): Likewise.
43726         (sin_test_downward): Likewise.
43727         (sin_upward_test_data): Likewise.
43728         (sin_test_upward): Likewise.
43729         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43730         (sinh_test_data): Update call to AUTO_TESTS_f_f.
43731         (sinh_test): Use ALL_RM_TEST.
43732         (sinh_tonearest_test_data): Remove.
43733         (sinh_test_tonearest): Likewise.
43734         (sinh_towardzero_test_data): Likewise.
43735         (sinh_test_towardzero): Likewise.
43736         (sinh_downward_test_data): Likewise.
43737         (sinh_test_downward): Likewise.
43738         (sinh_upward_test_data): Likewise.
43739         (sinh_test_upward): Likewise.
43740         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43741         (sqrt_test): Use ALL_RM_TEST.
43742         (sqrt_tonearest_test_data): Remove.
43743         (sqrt_test_tonearest): Likewise.
43744         (sqrt_towardzero_test_data): Likewise.
43745         (sqrt_test_towardzero): Likewise.
43746         (sqrt_downward_test_data): Likewise.
43747         (sqrt_test_downward): Likewise.
43748         (sqrt_upward_test_data): Likewise.
43749         (sqrt_test_upward): Likewise.
43750         (tan_test_data): Update call to AUTO_TESTS_f_f.
43751         (tan_test): Use ALL_RM_TEST.
43752         (tan_tonearest_test_data): Remove.
43753         (tan_test_tonearest): Likewise.
43754         (tan_towardzero_test_data): Likewise.
43755         (tan_test_towardzero): Likewise.
43756         (tan_downward_test_data): Likewise.
43757         (tan_test_downward): Likewise.
43758         (tan_upward_test_data): Likewise.
43759         (tan_test_upward): Likewise.
43760         (tanh_test_data): Update call to AUTO_TESTS_f_f.
43761         (tgamma_test_data): Likewise.
43762         (y0_test_data): Likewise.
43763         (y1_test_data): Likewise.
43764         (yn_test_data): Update call to AUTO_TESTS_if_f.
43765         (main): Do not call removed functions.
43767 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43769         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43770         (ldexp_test_data): Remove.
43771         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
43772         scalbn_test_data.
43773         (scalb_test): Use ALL_RM_TEST.
43775 2014-03-19  Andreas Schwab  <schwab@suse.de>
43777         * nscd/nscd.service: Also invalidate netgroup cache on reload.
43779 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43781         [BZ #16649]
43782         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43783         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43784         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43785         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43786         (__ASSUME_PREADV): Undefine.
43787         (__ASSUME_PWRITEV): Likewise.
43789 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43791         * bits/mman-linux.h: Add comment about non-Linux use.
43792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43793         bits/mman-linux.h resting place.
43795         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43796         * bits/mman-linux.h: ... here.
43798 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43800         * conform/conformtest.pl: Add standard definition when calling C
43801         preprocessor on data files.
43802         (checknamespace): Remove unused variable.
43804 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43806         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43807         minus_oflow, plus_uflow and minus_uflow in expected results.
43808         * math/libm-test.inc (scalbn_test_data): Add more tests of
43809         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
43810         minus_uflow.
43811         (scalbn_test): Use ALL_RM_TEST.
43812         (scalbln_test_data): Add more tests of negative arguments.  Use
43813         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43814         (scalbln_test): Use ALL_RM_TEST.
43816 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43818         * scripts/abilist.awk: Ignore symbols marked with .hidden.
43820 2014-03-18  Will Newton  <will.newton@linaro.org>
43822         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43823         inaccurate comment.
43825 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43827         * Makerules [!subdir] (check-abi): Exit with error status if a
43828         test failed.
43830 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43832         * math/libm-test.inc (nearbyint_test_data): Include all tests used
43833         for rint.  Include results for all rounding modes.
43834         (nearbyint_test): Use ALL_RM_TEST.
43835         (rint_test_data): Include all tests used for nearbyint.
43837 2014-03-17  Will Newton  <will.newton@linaro.org>
43839         * nptl/sysdeps/pthread/pthread.h: Revert previous
43840         change.
43842         * sysdeps/generic/ldsodefs.h: Revert previous
43843         change.
43845         * libio/genops.c: Revert previous change.
43846         * libio/libioP.h: Likewise.
43847         * stdio-common/vfprintf.c: Likewise.
43849         * sysdeps/generic/math_private.h: Revert previous
43850         change.
43852         * sysdeps/generic/math_private.h: Check whether
43853         HAVE_RM_CTX is defined with #ifdef rather
43854         than #if.
43856         * argp/argp-fmtstream.h: Check whether
43857         __STRICT_ANSI__ is defined with #ifdef rather
43858         than #if.
43859         * argp/argp.h: Likewise.
43861         * libio/genops.c: Check whether
43862         _IO_JUMPS_OFFSET is defined with #ifdef rather
43863         than #if.
43864         * libio/libioP.h: Likewise.
43865         * stdio-common/vfprintf.c: Likewise.
43867         * sysdeps/generic/ldsodefs.h: Check whether
43868         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43869         than #if.
43871         * nptl/sysdeps/pthread/pthread.h: Check
43872         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43873         its value.
43875 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43877         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43878         setting O_APPEND.
43879         * libio/tst-ftell-active-handler.c (do_append_test): Add a
43880         test case.
43882         [BZ #16680]
43883         * libio/fileops.c (_IO_file_open): Seek to end of file but
43884         don't cache the offset.
43885         (get_file_offset): Remove function.
43886         (do_ftell): Use cached offset when available.
43887         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43888         don't cache the offset.
43889         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43890         case.
43891         (do_one_test): Call it.
43892         (do_ftell_test): Fix up expected old offset for a+ mode.
43893         * libio/wfileops.c (do_ftell_wide): Used cached offset when
43894         available.
43896         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43897         up test status with function return status.
43898         (do_write_test): Likewise.
43899         (do_append_test): Likewise.
43901         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43902         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43903         Remove.
43905 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43907         * math/gen-libm-test.pl (parse_args): Handle results specified for
43908         each rounding mode separately.
43909         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43910         tests and results from lrint_tonearest_test_data,
43911         lrint_towardzero_test_data, lrint_downward_test_data and
43912         lrint_upward_test_data.
43913         (lrint_test): Use ALL_RM_TEST.
43914         (lrint_tonearest_test_data): Remove.
43915         (lrint_test_tonearest): Likewise.
43916         (lrint_towardzero_test_data): Likewise.
43917         (lrint_test_towardzero): Likewise.
43918         (lrint_downward_test_data): Likewise.
43919         (lrint_test_downward): Likewise.
43920         (lrint_upward_test_data): Likewise.
43921         (lrint_test_upward): Likewise.
43922         (llrint_test_data): Merge in per-rounding-mode tests and results
43923         from llrint_tonearest_test_data, llrint_towardzero_test_data,
43924         llrint_downward_test_data and llrint_upward_test_data.
43925         (llrint_test): Use ALL_RM_TEST.
43926         (llrint_tonearest_test_data): Remove.
43927         (llrint_test_tonearest): Likewise.
43928         (llrint_towardzero_test_data): Likewise.
43929         (llrint_test_towardzero): Likewise.
43930         (llrint_downward_test_data): Likewise.
43931         (llrint_test_downward): Likewise.
43932         (llrint_upward_test_data): Likewise.
43933         (llrint_test_upward): Likewise.
43934         (rint_test_data): Merge in per-rounding-mode tests and results
43935         from rint_tonearest_test_data, rint_towardzero_test_data,
43936         rint_downward_test_data and rint_upward_test_data.  Add
43937         per-rounding-mode results for tests not in those arrays.
43938         (rint_test): Use ALL_RM_TEST.
43939         (rint_tonearest_test_data): Remove.
43940         (rint_test_tonearest): Likewise.
43941         (rint_towardzero_test_data): Likewise.
43942         (rint_test_towardzero): Likewise.
43943         (rint_downward_test_data): Likewise.
43944         (rint_test_downward): Likewise.
43945         (rint_upward_test_data): Likewise.
43946         (rint_test_upward): Likewise.
43947         (main): Don't call removed functions.
43949 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43951         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43952         "Compiled on ..." crapola.  It is anti-useful.
43954 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
43956         * scripts/evaluate-test.sh: Handle fourth argument to determine
43957         whether test run should stop on failure.
43958         * Makeconfig (stop-on-test-failure): New variable.
43959         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43960         $(stop-on-test-failure).
43961         * Makefile (tests): Give a summary of results from testing and
43962         exit with failure status if they include an ERROR or FAIL.
43963         (xtests): Likewise.
43964         * manual/install.texi (Configuring and compiling): Mention
43965         stop-on-test-failure=y.
43966         * INSTALL: Regenerated.
43968 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43970         * scripts/versionlist.awk: New file.
43971         * Makerules [$(build-shared) = yes]
43972         (postclean-generated): Add Versions.def, not Versions.def.v and
43973         Versions.def.v.i.
43974         ($(common-objpfx)Versions.def.v.i): Target removed.
43975         ($(common-objpfx)Versions.def): New target.
43976         ($(common-objpfx)Versions.all): Depend on that rather that
43977         $(common-objpfx)Versions.def.v.
43978         * Versions.def: File removed.
43980         * Makeconfig (+gccwarn): Add -Wundef.
43981         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43982         a dl-sysdep.h breaking its contract.
43983         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43984         * include/stackinfo.h: New file.
43985         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43986         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43987         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43988         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43989         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43990         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43991         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43992         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43993         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43994         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43995         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43996         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43997         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43998         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43999         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44001 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44003         [BZ #16707]
44004         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
44005         implementation.
44006         * math/libm-test.inc (round_test_data): Add more tests.
44008         [BZ #16706]
44009         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
44010         implementation.
44011         * math/libm-test.inc (nearbyint_test_data): Add more tests.
44013         [BZ #16701]
44014         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
44015         implementation.
44016         * math/libm-test.inc (ceil_test_data): Add more tests.
44018         * math/libm-test.inc (trunc_test_data): Add more tests related to
44019         BZ#16414.
44021 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44023         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
44024         with #if rather than #ifdef.
44025         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
44027 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
44029         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44030         first.  Disable AVX-512 GCC support if assembler doesn't support
44031         it.
44032         * sysdeps/x86_64/configure: Regenerated.
44034 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
44036         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44037         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44038         (__old_pthread_attr_setstack): Likewise.
44039         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44040         [!_STACK_GROWS_DOWN]: Likewise.
44042 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
44044         * config.make.in (have-bash2): Delete.
44045         * configure.ac (libc_cv_have_bash2): Delete.
44046         * configure: Regenerate.
44047         * elf/Makefile (common-ldd-rewrite): Rename to ...
44048         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
44049         (sh-ldd-rewrite): Delete.
44050         (bash-ldd-rewrite): Delete.
44051         (have-bash2): Delete checks.
44052         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44053         ldd-rewrite.
44055         * config.make.in (have-ksh): Delete.
44056         (KSH): Delete.
44057         * configure.ac (libc_cv_have_ksh): Delete.
44058         * configure: Regenerate.
44060         * elf/Makefile: Delete $(have-ksh) check.
44061         ($(objpfx)sotruss): Change KSH to BASH.
44062         * elf/sotruss.ksh: Rename to ...
44063         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
44064         function style to match POSIX.  Drop ksh vim mode setting.
44066         * manual/time.texi (Specifying the Time Zone with TZ): Change
44067         Tuesday to Thursday.
44069         * debug/tst-longjmp_chk2.c: Update header comment.
44070         (stackoverflow_handler): Add comment.  Call assert on pass value.
44072 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
44074         [BZ #16194]
44075         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44076         (HAVE_AVX512_ASM_SUPPORT): Likewise.
44077         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44078         (La_x86_64_vector): Add zmm.
44079         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44080         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44081         ($(objpfx)tst-audit10): New target.
44082         ($(objpfx)tst-audit10.out): Likewise.
44083         (tst-audit10-ENV): New.
44084         (AVX512-CFLAGS): Likewise.
44085         (CFLAGS-tst-audit10.c): Likewise.
44086         (CFLAGS-tst-auditmod10a.c): Likewise.
44087         (CFLAGS-tst-auditmod10b.c): Likewise.
44088         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44089         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44090         * sysdeps/x86_64/configure: Regenerated.
44091         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44092         AVX-512 zmm register support.
44093         (_dl_x86_64_save_sse): Likewise.
44094         (_dl_x86_64_restore_sse): Likewise.
44095         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44096         size vector registers.
44097         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44098         (ZMM_SIZE): Likewise.
44099         * sysdeps/x86_64/tst-audit10.c: New file.
44100         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44101         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44103 2014-03-13  Roland McGrath  <roland@hack.frob.com>
44105         * configure.ac (HAVE_EHDR_START): New check.
44106         * configure: Regenerated.
44107         * config.h.in (HAVE_EHDR_START): New #undef.
44108         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44109         assuming the lowest-addressed segment maps the start of the file.
44111 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
44113         * INSTALL: Regenerated.
44115 2014-03-13  Will Newton  <will.newton@linaro.org>
44117         * manual/setjmp.texi (System V contexts): Improve
44118         clarity and grammar of documentation.
44120 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
44122         [BZ #16381]
44123         * elf/Makefile (tests): Add tst-pie2.
44124         (tests-pie): Add tst-pie2.
44125         * elf/tst-pie2.c: New file.
44126         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44127         for ET_EXEC.
44128         * elf/rtld.c (map_doit): Load executable as lt_executable.
44129         (dl_main): Likewise.
44131 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
44133         [BZ #16642]
44134         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44135         (__ASSUME_PSELECT): Undefine.
44137 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44139         [BZ #16689]
44140         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44141         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44142         static build.
44143         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44144         selector for static builds.
44146 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44148         [BZ #16695]
44149         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44150         key in the buffer.
44152 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44154         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44155         IFUNC selector for static builds.
44157 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
44159         * sysdeps/mips/math_private.h [__mips_hard_float]
44160         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44161         libc_feresetround_mips_ctx.
44162         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44163         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44164         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44166         [BZ #16677]
44167         * math/s_nextafter.c (__nextafter): Do not return value from
44168         overflowing computation.
44169         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44170         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44171         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44172         Likewise.
44173         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44174         Likewise.
44175         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44176         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44178 2014-03-11  Roland McGrath  <roland@hack.frob.com>
44180         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44181         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44182         Move sfi_sp use from the load-multiple (that no longer sets sp) to
44183         the new mov targetting sp.
44185 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44187         [BZ #16683]
44188         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44189         Define it for static builds as well.
44190         (NO_BZERO_IMPL): Likewise.
44192 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44194         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44195         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44196         multiarch strspn for PPC64.
44197         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44198         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44200         (__libc_ifunc_impl_list): Likewise.
44201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44202         multiarch optimizations
44203         * string/strspn.c (strspn): Using macro to redefine symbol name.
44205 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44206             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44208         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44209         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44210         multiarch strncat for PPC64.
44211         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44212         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44214         (__libc_ifunc_impl_list): Likewise.
44215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44216         multiarch optimizations
44218 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44220         [BZ #16639]
44221         * nscd/nscd.service: Make service type forking.
44223 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44225         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44226         sign in non default rounding modes.
44227         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44229 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
44231         * math/libm-test.inc (ALL_RM_TEST): New macro.
44232         (ceil_test): Use ALL_RM_TEST.
44233         (cimag_test): Likewise.
44234         (conj_test): Likewise.
44235         (copysign_test): Likewise.
44236         (cproj_test): Likewise.
44237         (creal_test): Likewise.
44238         (fabs_test): Likewise.
44239         (floor_test): Likewise.
44240         (fmax_test): Likewise.
44241         (fmin_test): Likewise.
44242         (fmod_test): Likewise.
44243         (fpclassify_test): Likewise.
44244         (frexp_test): Likewise.
44245         (ilogb_test): Likewise.
44246         (isfinite_test): Likewise.
44247         (finite_test): Likewise.
44248         (isgreater_test): Likewise.
44249         (isgreaterequal_test): Likewise.
44250         (isinf_test): Likewise.
44251         (isless_test): Likewise.
44252         (islessequal_test): Likewise.
44253         (islessgreater_test): Likewise.
44254         (isnan_test): Likewise.
44255         (isnormal_test): Likewise.
44256         (issignaling_test): Likewise.
44257         (isunordered_test): Likewise.
44258         (logb_test): Likewise.
44259         (logb_downward_test_data): Remove.
44260         (logb_test_downward): Likewise.
44261         (lround_test): Use ALL_RM_TEST.
44262         (llround_test): Likewise.
44263         (modf_test): Likewise.
44264         (nexttoward_test): Likewise.
44265         (remainder_test): Likewise.
44266         (drem_test): Likewise.
44267         (remainder_tonearest_test_data): Likewise.
44268         (remainder_test_tonearest): Likewise.
44269         (drem_test_tonearest): Likewise.
44270         (remainder_towardzero_test_data): Likewise.
44271         (remainder_test_towardzero): Likewise.
44272         (drem_test_towardzero): Likewise.
44273         (remainder_downward_test_data): Likewise.
44274         (remainder_test_downward): Likewise.
44275         (drem_test_downward): Likewise.
44276         (remainder_upward_test_data): Likewise.
44277         (remainder_test_upward): Likewise.
44278         (drem_test_upward): Likewise.
44279         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
44280         (round_test): Use ALL_RM_TEST.
44281         (signbit_test): Likewise.
44282         (trunc_test): Likewise.
44283         (significand_test): Likewise.
44284         (main): Don't call removed functions.
44286 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44288         [BZ #16674]
44289         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44290         || __USE_XOPEN2K8].
44291         (ILL_ILLOPN): Likewise.
44292         (ILL_ILLADR): Likewise.
44293         (ILL_ILLTRP): Likewise.
44294         (ILL_PRVOPC): Likewise.
44295         (ILL_PRVREG): Likewise.
44296         (ILL_COPROC): Likewise.
44297         (ILL_BADSTK): Likewise.
44298         (FPE_INTDIV): Likewise.
44299         (FPE_INTOVF): Likewise.
44300         (FPE_FLTDIV): Likewise.
44301         (FPE_FLTOVF): Likewise.
44302         (FPE_FLTUND): Likewise.
44303         (FPE_FLTRES): Likewise.
44304         (FPE_FLTINV): Likewise.
44305         (FPE_FLTSUB): Likewise.
44306         (SEGV_MAPERR): Likewise.
44307         (SEGV_ACCERR): Likewise.
44308         (BUS_ADRALN): Likewise.
44309         (BUS_ADRERR): Likewise.
44310         (BUS_OBJERR): Likewise.
44311         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44312         (TRAP_TRACE): Likewise.
44313         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44314         __USE_XOPEN2K8].
44315         (CLD_KILLED): Likewise.
44316         (CLD_DUMPED): Likewise.
44317         (CLD_TRAPPED): Likewise.
44318         (CLD_STOPPED): Likewise.
44319         (CLD_CONTINUED): Likewise.
44320         (POLL_IN): Likewise.
44321         (POLL_OUT): Likewise.
44322         (POLL_MSG): Likewise.
44323         (POLL_ERR): Likewise.
44324         (POLL_PRI): Likewise.
44325         (POLL_HUP): Likewise.
44326         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44327         Likewise.
44328         (ILL_ILLOPN): Likewise.
44329         (ILL_ILLADR): Likewise.
44330         (ILL_ILLTRP): Likewise.
44331         (ILL_PRVOPC): Likewise.
44332         (ILL_PRVREG): Likewise.
44333         (ILL_COPROC): Likewise.
44334         (ILL_BADSTK): Likewise.
44335         (FPE_INTDIV): Likewise.
44336         (FPE_INTOVF): Likewise.
44337         (FPE_FLTDIV): Likewise.
44338         (FPE_FLTOVF): Likewise.
44339         (FPE_FLTUND): Likewise.
44340         (FPE_FLTRES): Likewise.
44341         (FPE_FLTINV): Likewise.
44342         (FPE_FLTSUB): Likewise.
44343         (SEGV_MAPERR): Likewise.
44344         (SEGV_ACCERR): Likewise.
44345         (BUS_ADRALN): Likewise.
44346         (BUS_ADRERR): Likewise.
44347         (BUS_OBJERR): Likewise.
44348         (BUS_MCEERR_AR): Likewise.
44349         (BUS_MCEERR_AO): Likewise.
44350         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44351         (TRAP_TRACE): Likewise.
44352         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44353         __USE_XOPEN2K8].
44354         (CLD_KILLED): Likewise.
44355         (CLD_DUMPED): Likewise.
44356         (CLD_TRAPPED): Likewise.
44357         (CLD_STOPPED): Likewise.
44358         (CLD_CONTINUED): Likewise.
44359         (POLL_IN): Likewise.
44360         (POLL_OUT): Likewise.
44361         (POLL_MSG): Likewise.
44362         (POLL_ERR): Likewise.
44363         (POLL_PRI): Likewise.
44364         (POLL_HUP): Likewise.
44365         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44366         (ILL_ILLOPN): Likewise.
44367         (ILL_ILLADR): Likewise.
44368         (ILL_ILLTRP): Likewise.
44369         (ILL_PRVOPC): Likewise.
44370         (ILL_PRVREG): Likewise.
44371         (ILL_COPROC): Likewise.
44372         (ILL_BADSTK): Likewise.
44373         (FPE_INTDIV): Likewise.
44374         (FPE_INTOVF): Likewise.
44375         (FPE_FLTDIV): Likewise.
44376         (FPE_FLTOVF): Likewise.
44377         (FPE_FLTUND): Likewise.
44378         (FPE_FLTRES): Likewise.
44379         (FPE_FLTINV): Likewise.
44380         (FPE_FLTSUB): Likewise.
44381         (SEGV_MAPERR): Likewise.
44382         (SEGV_ACCERR): Likewise.
44383         (BUS_ADRALN): Likewise.
44384         (BUS_ADRERR): Likewise.
44385         (BUS_OBJERR): Likewise.
44386         (BUS_MCEERR_AR): Likewise.
44387         (BUS_MCEERR_AO): Likewise.
44388         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44389         (TRAP_TRACE): Likewise.
44390         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44391         __USE_XOPEN2K8].
44392         (CLD_KILLED): Likewise.
44393         (CLD_DUMPED): Likewise.
44394         (CLD_TRAPPED): Likewise.
44395         (CLD_STOPPED): Likewise.
44396         (CLD_CONTINUED): Likewise.
44397         (POLL_IN): Likewise.
44398         (POLL_OUT): Likewise.
44399         (POLL_MSG): Likewise.
44400         (POLL_ERR): Likewise.
44401         (POLL_PRI): Likewise.
44402         (POLL_HUP): Likewise.
44403         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44404         Likewise.
44405         (ILL_ILLOPN): Likewise.
44406         (ILL_ILLADR): Likewise.
44407         (ILL_ILLTRP): Likewise.
44408         (ILL_PRVOPC): Likewise.
44409         (ILL_PRVREG): Likewise.
44410         (ILL_COPROC): Likewise.
44411         (ILL_BADSTK): Likewise.
44412         (ILL_BADIADDR): Likewise.
44413         (ILL_BREAK): Likewise.
44414         (FPE_INTDIV): Likewise.
44415         (FPE_INTOVF): Likewise.
44416         (FPE_FLTDIV): Likewise.
44417         (FPE_FLTOVF): Likewise.
44418         (FPE_FLTUND): Likewise.
44419         (FPE_FLTRES): Likewise.
44420         (FPE_FLTINV): Likewise.
44421         (FPE_FLTSUB): Likewise.
44422         (FPE_DECOVF): Likewise.
44423         (FPE_DECDIV): Likewise.
44424         (FPE_DECERR): Likewise.
44425         (FPE_INVASC): Likewise.
44426         (FPE_INVDEC): Likewise.
44427         (SEGV_MAPERR): Likewise.
44428         (SEGV_ACCERR): Likewise.
44429         (SEGV_PSTKOVF): Likewise.
44430         (BUS_ADRALN): Likewise.
44431         (BUS_ADRERR): Likewise.
44432         (BUS_OBJERR): Likewise.
44433         (BUS_MCEERR_AR): Likewise.
44434         (BUS_MCEERR_AO): Likewise.
44435         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44436         (TRAP_TRACE): Likewise.
44437         (TRAP_BRANCH): Likewise.
44438         (TRAP_HWBKPT): Likewise.
44439         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44440         __USE_XOPEN2K8].
44441         (CLD_KILLED): Likewise.
44442         (CLD_DUMPED): Likewise.
44443         (CLD_TRAPPED): Likewise.
44444         (CLD_STOPPED): Likewise.
44445         (CLD_CONTINUED): Likewise.
44446         (POLL_IN): Likewise.
44447         (POLL_OUT): Likewise.
44448         (POLL_MSG): Likewise.
44449         (POLL_ERR): Likewise.
44450         (POLL_PRI): Likewise.
44451         (POLL_HUP): Likewise.
44452         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44453         (ILL_ILLOPN): Likewise.
44454         (ILL_ILLADR): Likewise.
44455         (ILL_ILLTRP): Likewise.
44456         (ILL_PRVOPC): Likewise.
44457         (ILL_PRVREG): Likewise.
44458         (ILL_COPROC): Likewise.
44459         (ILL_BADSTK): Likewise.
44460         (FPE_INTDIV): Likewise.
44461         (FPE_INTOVF): Likewise.
44462         (FPE_FLTDIV): Likewise.
44463         (FPE_FLTOVF): Likewise.
44464         (FPE_FLTUND): Likewise.
44465         (FPE_FLTRES): Likewise.
44466         (FPE_FLTINV): Likewise.
44467         (FPE_FLTSUB): Likewise.
44468         (SEGV_MAPERR): Likewise.
44469         (SEGV_ACCERR): Likewise.
44470         (BUS_ADRALN): Likewise.
44471         (BUS_ADRERR): Likewise.
44472         (BUS_OBJERR): Likewise.
44473         (BUS_MCEERR_AR): Likewise.
44474         (BUS_MCEERR_AO): Likewise.
44475         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44476         (TRAP_TRACE): Likewise.
44477         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44478         __USE_XOPEN2K8].
44479         (CLD_KILLED): Likewise.
44480         (CLD_DUMPED): Likewise.
44481         (CLD_TRAPPED): Likewise.
44482         (CLD_STOPPED): Likewise.
44483         (CLD_CONTINUED): Likewise.
44484         (POLL_IN): Likewise.
44485         (POLL_OUT): Likewise.
44486         (POLL_MSG): Likewise.
44487         (POLL_ERR): Likewise.
44488         (POLL_PRI): Likewise.
44489         (POLL_HUP): Likewise.
44490         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44491         (ILL_ILLOPN): Likewise.
44492         (ILL_ILLADR): Likewise.
44493         (ILL_ILLTRP): Likewise.
44494         (ILL_PRVOPC): Likewise.
44495         (ILL_PRVREG): Likewise.
44496         (ILL_COPROC): Likewise.
44497         (ILL_BADSTK): Likewise.
44498         (FPE_INTDIV): Likewise.
44499         (FPE_INTOVF): Likewise.
44500         (FPE_FLTDIV): Likewise.
44501         (FPE_FLTOVF): Likewise.
44502         (FPE_FLTUND): Likewise.
44503         (FPE_FLTRES): Likewise.
44504         (FPE_FLTINV): Likewise.
44505         (FPE_FLTSUB): Likewise.
44506         (SEGV_MAPERR): Likewise.
44507         (SEGV_ACCERR): Likewise.
44508         (BUS_ADRALN): Likewise.
44509         (BUS_ADRERR): Likewise.
44510         (BUS_OBJERR): Likewise.
44511         (BUS_MCEERR_AR): Likewise.
44512         (BUS_MCEERR_AO): Likewise.
44513         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44514         (TRAP_TRACE): Likewise.
44515         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44516         __USE_XOPEN2K8].
44517         (CLD_KILLED): Likewise.
44518         (CLD_DUMPED): Likewise.
44519         (CLD_TRAPPED): Likewise.
44520         (CLD_STOPPED): Likewise.
44521         (CLD_CONTINUED): Likewise.
44522         (POLL_IN): Likewise.
44523         (POLL_OUT): Likewise.
44524         (POLL_MSG): Likewise.
44525         (POLL_ERR): Likewise.
44526         (POLL_PRI): Likewise.
44527         (POLL_HUP): Likewise.
44528         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44529         (ILL_ILLOPN): Likewise.
44530         (ILL_ILLADR): Likewise.
44531         (ILL_ILLTRP): Likewise.
44532         (ILL_PRVOPC): Likewise.
44533         (ILL_PRVREG): Likewise.
44534         (ILL_COPROC): Likewise.
44535         (ILL_BADSTK): Likewise.
44536         (FPE_INTDIV): Likewise.
44537         (FPE_INTOVF): Likewise.
44538         (FPE_FLTDIV): Likewise.
44539         (FPE_FLTOVF): Likewise.
44540         (FPE_FLTUND): Likewise.
44541         (FPE_FLTRES): Likewise.
44542         (FPE_FLTINV): Likewise.
44543         (FPE_FLTSUB): Likewise.
44544         (SEGV_MAPERR): Likewise.
44545         (SEGV_ACCERR): Likewise.
44546         (BUS_ADRALN): Likewise.
44547         (BUS_ADRERR): Likewise.
44548         (BUS_OBJERR): Likewise.
44549         (BUS_MCEERR_AR): Likewise.
44550         (BUS_MCEERR_AO): Likewise.
44551         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44552         (TRAP_TRACE): Likewise.
44553         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44554         __USE_XOPEN2K8].
44555         (CLD_KILLED): Likewise.
44556         (CLD_DUMPED): Likewise.
44557         (CLD_TRAPPED): Likewise.
44558         (CLD_STOPPED): Likewise.
44559         (CLD_CONTINUED): Likewise.
44560         (POLL_IN): Likewise.
44561         (POLL_OUT): Likewise.
44562         (POLL_MSG): Likewise.
44563         (POLL_ERR): Likewise.
44564         (POLL_PRI): Likewise.
44565         (POLL_HUP): Likewise.
44566         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
44567         (ILL_ILLOPN): Likewise.
44568         (ILL_ILLADR): Likewise.
44569         (ILL_ILLTRP): Likewise.
44570         (ILL_PRVOPC): Likewise.
44571         (ILL_PRVREG): Likewise.
44572         (ILL_COPROC): Likewise.
44573         (ILL_BADSTK): Likewise.
44574         (ILL_DBLFLT): Likewise.
44575         (ILL_HARDWALL): Likewise.
44576         (FPE_INTDIV): Likewise.
44577         (FPE_INTOVF): Likewise.
44578         (FPE_FLTDIV): Likewise.
44579         (FPE_FLTOVF): Likewise.
44580         (FPE_FLTUND): Likewise.
44581         (FPE_FLTRES): Likewise.
44582         (FPE_FLTINV): Likewise.
44583         (FPE_FLTSUB): Likewise.
44584         (SEGV_MAPERR): Likewise.
44585         (SEGV_ACCERR): Likewise.
44586         (BUS_ADRALN): Likewise.
44587         (BUS_ADRERR): Likewise.
44588         (BUS_OBJERR): Likewise.
44589         (BUS_MCEERR_AR): Likewise.
44590         (BUS_MCEERR_AO): Likewise.
44591         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44592         (TRAP_TRACE): Likewise.
44593         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44594         __USE_XOPEN2K8].
44595         (CLD_KILLED): Likewise.
44596         (CLD_DUMPED): Likewise.
44597         (CLD_TRAPPED): Likewise.
44598         (CLD_STOPPED): Likewise.
44599         (CLD_CONTINUED): Likewise.
44600         (POLL_IN): Likewise.
44601         (POLL_OUT): Likewise.
44602         (POLL_MSG): Likewise.
44603         (POLL_ERR): Likewise.
44604         (POLL_PRI): Likewise.
44605         (POLL_HUP): Likewise.
44606         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44607         (ILL_ILLOPN): Likewise.
44608         (ILL_ILLADR): Likewise.
44609         (ILL_ILLTRP): Likewise.
44610         (ILL_PRVOPC): Likewise.
44611         (ILL_PRVREG): Likewise.
44612         (ILL_COPROC): Likewise.
44613         (ILL_BADSTK): Likewise.
44614         (FPE_INTDIV): Likewise.
44615         (FPE_INTOVF): Likewise.
44616         (FPE_FLTDIV): Likewise.
44617         (FPE_FLTOVF): Likewise.
44618         (FPE_FLTUND): Likewise.
44619         (FPE_FLTRES): Likewise.
44620         (FPE_FLTINV): Likewise.
44621         (FPE_FLTSUB): Likewise.
44622         (SEGV_MAPERR): Likewise.
44623         (SEGV_ACCERR): Likewise.
44624         (BUS_ADRALN): Likewise.
44625         (BUS_ADRERR): Likewise.
44626         (BUS_OBJERR): Likewise.
44627         (BUS_MCEERR_AR): Likewise.
44628         (BUS_MCEERR_AO): Likewise.
44629         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44630         (TRAP_TRACE): Likewise.
44631         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44632         __USE_XOPEN2K8].
44633         (CLD_KILLED): Likewise.
44634         (CLD_DUMPED): Likewise.
44635         (CLD_TRAPPED): Likewise.
44636         (CLD_STOPPED): Likewise.
44637         (CLD_CONTINUED): Likewise.
44638         (POLL_IN): Likewise.
44639         (POLL_OUT): Likewise.
44640         (POLL_MSG): Likewise.
44641         (POLL_ERR): Likewise.
44642         (POLL_PRI): Likewise.
44643         (POLL_HUP): Likewise.
44644         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44645         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44647         [BZ #16670]
44648         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44649         before #include of <time.h>.
44650         [!__USE_XOPEN2K] (__need_timespec): Likewise.
44651         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44652         (test-xfail-UNIX98/sched.h/conform): Likewise.
44654 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44656         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44657         error absence of trapping exception support.
44658         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44660 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44662         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44663         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44664         * timezone/Makefile (testdata): Move definition above include of
44665         Rules.
44666         (test-zones): New variable.
44667         (tests-special): Add zone files.
44668         (build-testdata): Use $(evaluate-test).
44670         * elf/Makefile (tests-special): Rename tests to end with .out.
44671         ($(objpfx)noload-mem): Likewise.
44672         ($(objpfx)tst-leaks1-mem): Likewise.
44673         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44674         * iconv/Makefile (xtests-special): Change test-iconvconfig to
44675         $(objpfx)test-iconvconfig.out.
44676         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
44677         set -e inside subshell and redirect output to file.
44678         * iconvdata/Makefile (generated): Rename tests to end with .out.
44679         Correct type.
44680         (tests-special): Rename tests to end with .out.
44681         ($(objpfx)mtrace-tst-loading): Likewise.
44682         * intl/Makefile (generated): Likewise.
44683         (tests-special): Likewise.
44684         ($(objpfx)mtrace-tst-gettext): Likewise.
44685         * misc/Makefile (generated): Likewise.
44686         (tests-special): Likewise.
44687         ($(objpfx)tst-error1-mem): Likewise.
44688         * nptl/Makefile (tests-special): Likewise.
44689         ($(objpfx)tst-stack3-mem): Likewise.
44690         (generated): Likewise.
44691         * posix/Makefile (generated): Likewise.
44692         (tests-special): Likewise.
44693         (xtests-special): Likewise.
44694         ($(objpfx)tst-fnmatch-mem): Likewise.
44695         ($(objpfx)bug-regex2-mem): Likewise.
44696         ($(objpfx)bug-regex14-mem): Likewise.
44697         ($(objpfx)bug-regex21-mem): Likewise.
44698         ($(objpfx)bug-regex31-mem): Likewise.
44699         ($(objpfx)tst-vfork3-mem): Likewise.
44700         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44701         ($(objpfx)tst-pcre-mem): Likewise.
44702         ($(objpfx)tst-boost-mem): Likewise.
44703         ($(objpfx)bug-ga2-mem): Likewise.
44704         ($(objpfx)bug-glob2-mem): Likewise.
44705         * resolv/Makefile (generate): Likewise.
44706         (tests-special): Likewise.
44707         (xtests-special): Likewise.
44708         (generated): Likewise.
44709         ($(objpfx)mtrace-tst-leaks): Likewise.
44710         ($(objpfx)mtrace-tst-leaks2): Likewise.
44712         * scripts/merge-test-results.sh: New file.
44713         * Makefile (tests-special-notdir): New variable.
44714         (tests): Run merge-test-results.sh.
44715         (xtests): Likewise.
44716         * Rules (tests-special-notdir): New variable.
44717         (xtests-special-notdir): Likewise.
44718         (tests): Run merge-test-results.sh
44719         (xtests): Likewise.
44721         * Makeconfig (test-xfail-name): New variable.
44722         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44723         compute variable name for expected failures.
44724         * conform/Makefile (conformtest-headers-data): New variable.
44725         (conformtest-standards): Likewise.
44726         (conformtest-headers-ISO): Likewise.
44727         (conformtest-headers-ISO99): Likewise.
44728         (conformtest-headers-ISO11): Likewise.
44729         (conformtest-headers-POSIX): Likewise.
44730         (conformtest-headers-XPG3): Likewise.
44731         (conformtest-headers-XPG4): Likewise.
44732         (conformtest-headers-UNIX98): Likewise.
44733         (conformtest-headers-XOPEN2K): Likewise.
44734         (conformtest-headers-POSIX2008): Likewise.
44735         (conformtest-headers-XOPEN2K8): Likewise.
44736         (conformtest-header-list-base): Likewise.
44737         (conformtest-header-list-tests): Likewise.
44738         (conformtest-header-base): Likewise.
44739         (conformtest-header-tests): Likewise.
44740         (tests-special): Add $(conformtest-header-list-tests).  If
44741         [$(fast-check) && !$(cross-compiling)], add
44742         $(conformtest-header-tests) instead of
44743         $(objpfx)run-conformtest.out.
44744         (generated): Add $(conformtest-header-list-base).  If
44745         [$(fast-check) && !$(cross-compiling)], add
44746         $(conformtest-header-base).  Remove previous setting.
44747         ($(conformtest-header-list-tests)): New target.
44748         (test-xfail-run-conformtest): Remove variable.
44749         ($(objpfx)run-conformtest.out): Remove target.
44750         (test-xfail-ISO11/complex.h/conform): New variable.
44751         (test-xfail-ISO11/stdalign.h/conform): Likewise.
44752         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44753         (test-xfail-XPG3/varargs.h/conform): Likewise.
44754         (test-xfail-XPG4/varargs.h/conform): Likewise.
44755         (test-xfail-UNIX98/varargs.h/conform): Likewise.
44756         (test-xfail-XPG4/ndbm.h/conform): Likewise.
44757         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44758         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44759         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44760         (test-xfail-XPG3/fcntl.h/conform): Likewise.
44761         (test-xfail-XPG3/ftw.h/conform): Likewise.
44762         (test-xfail-XPG3/grp.h/conform): Likewise.
44763         (test-xfail-XPG3/langinfo.h/conform): Likewise.
44764         (test-xfail-XPG3/limits.h/conform): Likewise.
44765         (test-xfail-XPG3/pwd.h/conform): Likewise.
44766         (test-xfail-XPG3/search.h/conform): Likewise.
44767         (test-xfail-XPG3/signal.h/conform): Likewise.
44768         (test-xfail-XPG3/stdio.h/conform): Likewise.
44769         (test-xfail-XPG3/stdlib.h/conform): Likewise.
44770         (test-xfail-XPG3/string.h/conform): Likewise.
44771         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44772         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44773         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44774         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44775         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44776         (test-xfail-XPG3/sys/types.h/conform): Likewise.
44777         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44778         (test-xfail-XPG3/termios.h/conform): Likewise.
44779         (test-xfail-XPG3/time.h/conform): Likewise.
44780         (test-xfail-XPG3/unistd.h/conform): Likewise.
44781         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44782         (test-xfail-XPG4/fcntl.h/conform): Likewise.
44783         (test-xfail-XPG4/langinfo.h/conform): Likewise.
44784         (test-xfail-XPG4/netdb.h/conform): Likewise.
44785         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44786         (test-xfail-XPG4/signal.h/conform): Likewise.
44787         (test-xfail-XPG4/stdio.h/conform): Likewise.
44788         (test-xfail-XPG4/stdlib.h/conform): Likewise.
44789         (test-xfail-XPG4/stropts.h/conform): Likewise.
44790         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44791         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44792         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44793         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44794         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44795         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44796         (test-xfail-XPG4/sys/time.h/conform): Likewise.
44797         (test-xfail-XPG4/sys/types.h/conform): Likewise.
44798         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44799         (test-xfail-XPG4/termios.h/conform): Likewise.
44800         (test-xfail-XPG4/ucontext.h/conform): Likewise.
44801         (test-xfail-XPG4/unistd.h/conform): Likewise.
44802         (test-xfail-XPG4/utmpx.h/conform): Likewise.
44803         (test-xfail-POSIX/sched.h/conform): Likewise.
44804         (test-xfail-POSIX/signal.h/conform): Likewise.
44805         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44806         (test-xfail-POSIX/tar.h/conform): Likewise.
44807         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44808         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44809         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44810         (test-xfail-UNIX98/netdb.h/conform): Likewise.
44811         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44812         (test-xfail-UNIX98/sched.h/conform): Likewise.
44813         (test-xfail-UNIX98/signal.h/conform): Likewise.
44814         (test-xfail-UNIX98/stdio.h/conform): Likewise.
44815         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44816         (test-xfail-UNIX98/stropts.h/conform): Likewise.
44817         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44818         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44819         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44820         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44821         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44822         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44823         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44824         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44825         (test-xfail-UNIX98/unistd.h/conform): Likewise.
44826         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44827         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44828         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44829         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44830         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44831         (test-xfail-XOPEN2K/math.h/conform): Likewise.
44832         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44833         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44834         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44835         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44836         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44837         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44838         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44839         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44840         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44841         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44842         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44843         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44844         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44845         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44846         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44847         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44848         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44849         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44850         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44851         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44852         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44853         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44854         (test-xfail-POSIX2008/signal.h/conform): Likewise.
44855         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44856         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44857         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44858         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44859         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44860         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44861         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44862         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44863         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44864         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44865         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44866         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44867         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44868         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44869         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44870         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44871         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44872         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44873         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44874         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44875         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44876         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44877         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44878         (conformtest-cc-flags): Likewise.
44879         ($(conformtest-header-tests): New target.
44880         * conform/check-header-lists.sh: New file.
44881         * conform/run-conformtest.sh: Remove.
44883         * conform/conformtest.pl: Allow ' and \ in values given for
44884         constants.
44885         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44886         inclusion.
44887         [POSIX] (sys/types.h): Likewise.
44888         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44889         inclusion.
44890         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44891         inclusion.
44892         * conform/data/signal.h-data (SIGIO): Remove expectation.
44893         [XPG3] (SIGBUS): Do not expect.
44894         [POSIX || XPG3] (SIGPOLL): Likewise.
44895         [POSIX || XPG3] (SIGPROF): Likewise.
44896         [POSIX || XPG3] (SIGSYS): Likewise.
44897         [XPG3] (SIGTRAP): Likewise.
44898         [POSIX || XPG3] (SIGURG): Likewise.
44899         [POSIX || XPG3] (SIGVTALRM): Likewise.
44900         [POSIX || XPG3] (SIGXCPU): Likewise.
44901         [POSIX || XPG3] (SIGXFSZ): Likewise.
44902         [POSIX] (SA_SIGINFO): Expect.
44903         [XPG3] (siginfo_t): Do not expect type or contents.
44904         [POSIX] (si_pid): Do not expect element.
44905         [POSIX] (si_uid): Likewise.
44906         [POSIX] (si_addr): Likewise.
44907         [POSIX] (si_status): Likewise.
44908         [POSIX] (si_band): Likewise.
44909         [XPG4] (si_value): Likewise.
44910         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44911         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44912         [POSIX || XPG3] (ILL_ILLADR): Likewise.
44913         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44914         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44915         [POSIX || XPG3] (ILL_PRVREG): Likewise.
44916         [POSIX || XPG3] (ILL_COPROC): Likewise.
44917         [POSIX || XPG3] (ILL_BADSTK): Likewise.
44918         [POSIX || XPG3] (FPE_INTDIV): Likewise.
44919         [POSIX || XPG3] (FPE_INTOVF): Likewise.
44920         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44921         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44922         [POSIX || XPG3] (FPE_FLTUND): Likewise.
44923         [POSIX || XPG3] (FPE_FLTRES): Likewise.
44924         [POSIX || XPG3] (FPE_FLTINV): Likewise.
44925         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44926         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44927         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44928         [POSIX || XPG3] (BUS_ADRALN): Likewise.
44929         [POSIX || XPG3] (BUS_ADRERR): Likewise.
44930         [POSIX || XPG3] (BUS_OBJERR): Likewise.
44931         [POSIX || XPG3] (CLD_EXITED): Likewise.
44932         [POSIX || XPG3] (CLD_KILLED): Likewise.
44933         [POSIX || XPG3] (CLD_DUMPED): Likewise.
44934         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44935         [POSIX || XPG3] (CLD_STOPPED): Likewise.
44936         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44937         [POSIX || XPG3] (POLL_IN): Likewise.
44938         [POSIX || XPG3] (POLL_OUT): Likewise.
44939         [POSIX || XPG3] (POLL_MSG): Likewise.
44940         [POSIX || XPG3] (POLL_ERR): Likewise.
44941         [POSIX || XPG3] (POLL_PRI): Likewise.
44942         [POSIX || XPG3] (POLL_HUP): Likewise.
44943         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44944         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44945         (SIG*): Do not allow.
44946         [XPG3] (si_*): Likewise.
44947         [XPG3] (SI_*): Likewise.
44948         [XPG3 || XPG4] (sigev_*): Likewise.
44949         [XPG3 || XPG4] (SIGEV_*): Likewise.
44950         [XPG3 || XPG4] (sival_*): Likewise.
44951         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44952         [POSIX || XPG3] (BUS_*): Likewise.
44953         [POSIX || XPG3] (CLD_*): Likewise.
44954         [POSIX || XPG3] (FPE_*): Likewise.
44955         [POSIX || XPG3] (ILL_*): Likewise.
44956         [POSIX || XPG3] (POLL_*): Likewise.
44957         [POSIX || XPG3] (SEGV_*): Likewise.
44958         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44959         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44960         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44961         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44962         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44963         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44964         Specify type and value.
44965         (TVERSLEN): Likewise.
44966         (REGTYPE): Likewise.
44967         (AREGTYPE): Likewise.
44968         (LNKTYPE): Likewise.
44969         (SYMTYPE): Likewise.
44970         (CHRTYPE): Likewise.
44971         (BLKTYPE): Likewise.
44972         (DIRTYPE): Likewise.
44973         (FIFOTYPE): Likewise.
44974         (CONTTYPE): Likewise.
44975         (TSUID): Likewise.
44976         (TSGID): Likewise.
44977         (TSVTX): Likewise.
44978         (TUREAD): Likewise.
44979         (TUWRITE): Likewise.
44980         (TUEXEC): Likewise.
44981         (TGREAD): Likewise.
44982         (TGWRITE): Likewise.
44983         (TGEXEC): Likewise.
44984         (TOREAD): Likewise.
44985         (TOWRITE): Likewise.
44986         (TOEXEC): Likewise.
44987         [POSIX] (TSVTX): Expect constant.
44989 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
44991         * Makefile (tests): Change dependencies to ....
44992         (tests-special): ... additions to this variable.
44993         (tests): Depend on $(tests-special).
44994         * Makerules (check-abi-list): New variable.
44995         (check-abi): Depend on $(check-abi-list).
44996         [$(subdir) = elf] (tests-special): Add
44997         $(objpfx)check-abi-libc.out.
44998         [$(build-shared) = yes && subdir] (tests-special): Add
44999         $(check-abi-list).
45000         [$(build-shared) = yes && subdir] (tests): Do not depend on
45001         check-abi.
45002         * Rules (tests): Depend on $(tests-special).
45003         (xtests): Depend on $(xtests-special).
45004         * catgets/Makefile (tests): Change dependencies to ....
45005         (tests-special): ... additions to this variable.
45006         * conform/Makefile (tests): Change dependencies to ....
45007         (tests-special): ... additions to this variable.
45008         * elf/Makefile (tests): Change dependencies to ....
45009         (tests-special): ... additions to this variable.
45010         * grp/Makefile (tests): Change dependencies to ....
45011         (tests-special): ... additions to this variable.
45012         * iconv/Makefile (xtests): Change dependencies to ....
45013         (xtests-special): ... additions to this variable.
45014         * iconvdata/Makefile (tests): Change dependencies to ....
45015         (tests-special): ... additions to this variable.
45016         * intl/Makefile (tests): Change dependencies to ....
45017         (tests-special): ... additions to this variable.  Also add
45018         $(objpfx)tst-gettext.out.
45019         * io/Makefile (tests): Change dependencies to ....
45020         (tests-special): ... additions to this variable.
45021         * libio/Makefile (tests): Change dependencies to ....
45022         (tests-special): ... additions to this variable.
45023         * malloc/Makefile (tests): Change dependencies to ....
45024         (tests-special): ... additions to this variable.
45025         * misc/Makefile (tests): Change dependencies to ....
45026         (tests-special): ... additions to this variable.
45027         * nptl/Makefile (tests): Change dependencies to ....
45028         (tests-special): ... additions to this variable.
45029         * nptl_db/Makefile (tests): Change dependencies to ....
45030         (tests-special): ... additions to this variable.
45031         * posix/Makefile (tests): Change dependencies to ....
45032         (tests-special): ... additions to this variable.
45033         (xtests): Change dependencies to ....
45034         (xtests-special): ... additions to this variable.
45035         * resolv/Makefile (tests): Change dependencies to ....
45036         (tests-special): ... additions to this variable.
45037         (xtests): Change dependencies to ....
45038         (xtests-special): ... additions to this variable.
45039         * stdio-common/Makefile (tests): Change dependencies to ....
45040         (tests-special): ... additions to this variable.
45041         (do-tst-unbputc): Remove target.
45042         (do-tst-printf): Likewise.
45043         * stdlib/Makefile (tests): Change dependencies to ....
45044         (tests-special): ... additions to this variable.
45045         * string/Makefile (tests): Change dependencies to ....
45046         (tests-special): ... additions to this variable.
45047         * sysdeps/x86/Makefile (tests): Change dependencies to ....
45048         (tests-special): ... additions to this variable.
45050         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45051         whole file.
45052         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45053         whole file.
45054         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45055         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45057         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45058         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45059         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45060         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45061         * conform/data/libgen.h-data [XPG3]: Likewise.
45062         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45063         * conform/data/ndbm.h-data [XPG3]: Likewise.
45064         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45065         * conform/data/netdb.h-data [XPG3]: Likewise.
45066         * conform/data/netinet/in.h-data [XPG3]: Likewise.
45067         * conform/data/poll.h-data [XPG3]: Likewise.
45068         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45069         * conform/data/strings.h-data [XPG3]: Likewise.
45070         * conform/data/stropts.h-data [XPG3]: Likewise.
45071         * conform/data/sys/mman.h-data [XPG3]: Likewise.
45072         * conform/data/sys/resource.h-data [XPG3]: Likewise.
45073         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45074         Likewise.
45075         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45076         * conform/data/sys/time.h-data [XPG3]: Likewise.
45077         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45078         * conform/data/sys/uio.h-data [XPG3]: Likewise.
45079         * conform/data/sys/un.h-data [XPG3]: Likewise.
45080         * conform/data/syslog.h-data [XPG3]: Likewise.
45081         * conform/data/ucontext.h-data [XPG3]: Likewise.
45082         * conform/data/utmpx.h-data [XPG3]: Likewise.
45083         * conform/data/varargs.h-data [UNIX98]: Enable file.
45085         * manual/Makefile (INSTALL_INFO): Remove variable setting.
45087         * math/libm-test.inc (struct test_f_f_data): Move expected results
45088         into structure for each rounding mode.
45089         (struct test_ff_f_data): Likewise.
45090         (struct test_ff_f_data_nexttoward): Likewise.
45091         (struct test_fi_f_data): Likewise.
45092         (struct test_fl_f_data): Likewise.
45093         (struct test_if_f_data): Likewise.
45094         (struct test_fff_f_data): Likewise.
45095         (struct test_c_f_data): Likewise.
45096         (struct test_f_f1_data): Likewise.
45097         (struct test_fF_f1_data): Likewise.
45098         (struct test_ffI_f1_data): Likewise.
45099         (struct test_c_c_data): Likewise.
45100         (struct test_cc_c_data): Likewise.
45101         (struct test_f_i_data): Likewise.
45102         (struct test_ff_i_data): Likewise.
45103         (struct test_f_l_data): Likewise.
45104         (struct test_f_L_data): Likewise.
45105         (struct test_fFF_11_data): Likewise.
45106         (RM_): New macro.
45107         (RM_FE_DOWNWARD): Likewise.
45108         (RM_FE_TONEAREST): Likewise.
45109         (RM_FE_TOWARDZERO): Likewise.
45110         (RM_FE_UPWARD): Likewise.
45111         (RUN_TEST_LOOP_f_f): Update references to expected results.
45112         (RUN_TEST_LOOP_2_f): Likewise.
45113         (RUN_TEST_LOOP_fff_f): Likewise.
45114         (RUN_TEST_LOOP_c_f): Likewise.
45115         (RUN_TEST_LOOP_f_f1): Likewise.
45116         (RUN_TEST_LOOP_fF_f1): Likewise.
45117         (RUN_TEST_LOOP_fI_f1): Likewise.
45118         (RUN_TEST_LOOP_ffI_f1): Likewise.
45119         (RUN_TEST_LOOP_c_c): Likewise.
45120         (RUN_TEST_LOOP_cc_c): Likewise.
45121         (RUN_TEST_LOOP_f_i): Likewise.
45122         (RUN_TEST_LOOP_f_i_tg): Likewise.
45123         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45124         (RUN_TEST_LOOP_f_b): Likewise.
45125         (RUN_TEST_LOOP_f_b_tg): Likewise.
45126         (RUN_TEST_LOOP_f_l): Likewise.
45127         (RUN_TEST_LOOP_f_L): Likewise.
45128         (RUN_TEST_LOOP_fFF_11): Likewise.
45129         * math/gen-libm-test.pl (parse_args): Output four copies of
45130         expected results for each test.
45132         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45133         (__ASSUME_UTIMES): Remove.
45134         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45135         (__ASSUME_UTIMES): Likewise.
45137         * math/gen-auto-libm-tests.c: Update comment on output format.
45138         (output_for_one_input_case): Generate before-rounding and
45139         after-rounding information as conditions on output flags not
45140         floating-point format.
45141         * math/auto-libm-test-out: Regenerated.
45142         * math/gen-libm-test.pl (cond_value): New function.
45143         (or_cond_value): Use cond_value.
45144         (generate_testfile): Handle conditional exceptions.
45146 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
45148         * math/libm-test.inc (max_valid_error): New variable.
45149         (init_max_error): Take new argument specifying whether function
45150         results are exactly determined.  Set max_valid_error and bound
45151         other variables for errors based on this argument.
45152         (set_max_error): Do not record results above max_valid_error.
45153         (check_float_internal): Only accept errors of up to 0.5ulps if
45154         also at most max_valid_error.
45155         (START): Take new argument EXACT and pass it to init_max_error.
45156         (acos_test): Update call to START.
45157         (acos_test_tonearest): Likewise.
45158         (acos_test_towardzero): Likewise.
45159         (acos_test_downward): Likewise.
45160         (acos_test_upward): Likewise.
45161         (acosh_test): Likewise.
45162         (asin_test): Likewise.
45163         (asin_test_tonearest): Likewise.
45164         (asin_test_towardzero): Likewise.
45165         (asin_test_downward): Likewise.
45166         (asin_test_upward): Likewise.
45167         (asinh_test): Likewise.
45168         (atan_test): Likewise.
45169         (atanh_test): Likewise.
45170         (atan2_test): Likewise.
45171         (cabs_test): Likewise.
45172         (cacos_test): Likewise.
45173         (cacosh_test): Likewise.
45174         (carg_test): Likewise.
45175         (casin_test): Likewise.
45176         (casinh_test): Likewise.
45177         (catan_test): Likewise.
45178         (catanh_test): Likewise.
45179         (cbrt_test): Likewise.
45180         (ccos_test): Likewise.
45181         (ccosh_test): Likewise.
45182         (ceil_test): Likewise.
45183         (cexp_test): Likewise.
45184         (cimag_test): Likewise.
45185         (clog_test): Likewise.
45186         (clog10_test): Likewise.
45187         (conj_test): Likewise.
45188         (copysign_test): Likewise.
45189         (cos_test): Likewise.
45190         (cos_test_tonearest): Likewise.
45191         (cos_test_towardzero): Likewise.
45192         (cos_test_downward): Likewise.
45193         (cos_test_upward): Likewise.
45194         (cosh_test): Likewise.
45195         (cosh_test_tonearest): Likewise.
45196         (cosh_test_towardzero): Likewise.
45197         (cosh_test_downward): Likewise.
45198         (cosh_test_upward): Likewise.
45199         (cpow_test): Likewise.
45200         (cproj_test): Likewise.
45201         (creal_test): Likewise.
45202         (csin_test): Likewise.
45203         (csinh_test): Likewise.
45204         (csqrt_test): Likewise.
45205         (ctan_test): Likewise.
45206         (ctan_test_tonearest): Likewise.
45207         (ctan_test_towardzero): Likewise.
45208         (ctan_test_downward): Likewise.
45209         (ctan_test_upward): Likewise.
45210         (ctanh_test): Likewise.
45211         (ctanh_test_tonearest): Likewise.
45212         (ctanh_test_towardzero): Likewise.
45213         (ctanh_test_downward): Likewise.
45214         (ctanh_test_upward): Likewise.
45215         (erf_test): Likewise.
45216         (erfc_test): Likewise.
45217         (exp_test): Likewise.
45218         (exp_test_tonearest): Likewise.
45219         (exp_test_towardzero): Likewise.
45220         (exp_test_downward): Likewise.
45221         (exp_test_upward): Likewise.
45222         (exp10_test): Likewise.
45223         (exp10_test_tonearest): Likewise.
45224         (exp10_test_towardzero): Likewise.
45225         (exp10_test_downward): Likewise.
45226         (exp10_test_upward): Likewise.
45227         (pow10_test): Likewise.
45228         (exp2_test): Likewise.
45229         (expm1_test): Likewise.
45230         (expm1_test_tonearest): Likewise.
45231         (expm1_test_towardzero): Likewise.
45232         (expm1_test_downward): Likewise.
45233         (expm1_test_upward): Likewise.
45234         (fabs_test): Likewise.
45235         (fdim_test): Likewise.
45236         (floor_test): Likewise.
45237         (fma_test): Likewise.
45238         (fma_test_towardzero): Likewise.
45239         (fma_test_downward): Likewise.
45240         (fma_test_upward): Likewise.
45241         (fmax_test): Likewise.
45242         (fmin_test): Likewise.
45243         (fmod_test): Likewise.
45244         (fpclassify_test): Likewise.
45245         (frexp_test): Likewise.
45246         (hypot_test): Likewise.
45247         (ilogb_test): Likewise.
45248         (isfinite_test): Likewise.
45249         (finite_test): Likewise.
45250         (isgreater_test): Likewise.
45251         (isgreaterequal_test): Likewise.
45252         (isinf_test): Likewise.
45253         (isless_test): Likewise.
45254         (islessequal_test): Likewise.
45255         (islessgreater_test): Likewise.
45256         (isnan_test): Likewise.
45257         (isnormal_test): Likewise.
45258         (issignaling_test): Likewise.
45259         (isunordered_test): Likewise.
45260         (j0_test): Likewise.
45261         (j1_test): Likewise.
45262         (jn_test): Likewise.
45263         (ldexp_test): Likewise.
45264         (lgamma_test): Likewise.
45265         (gamma_test): Likewise.
45266         (lrint_test): Likewise.
45267         (lrint_test_tonearest): Likewise.
45268         (lrint_test_towardzero): Likewise.
45269         (lrint_test_downward): Likewise.
45270         (lrint_test_upward): Likewise.
45271         (llrint_test): Likewise.
45272         (llrint_test_tonearest): Likewise.
45273         (llrint_test_towardzero): Likewise.
45274         (llrint_test_downward): Likewise.
45275         (llrint_test_upward): Likewise.
45276         (log_test): Likewise.
45277         (log10_test): Likewise.
45278         (log1p_test): Likewise.
45279         (log2_test): Likewise.
45280         (logb_test): Likewise.
45281         (logb_test_downward): Likewise.
45282         (lround_test): Likewise.
45283         (llround_test): Likewise.
45284         (modf_test): Likewise.
45285         (nearbyint_test): Likewise.
45286         (nextafter_test): Likewise.
45287         (nexttoward_test): Likewise.
45288         (pow_test): Likewise.
45289         (pow_test_tonearest): Likewise.
45290         (pow_test_towardzero): Likewise.
45291         (pow_test_downward): Likewise.
45292         (pow_test_upward): Likewise.
45293         (remainder_test): Likewise.
45294         (drem_test): Likewise.
45295         (remainder_test_tonearest): Likewise.
45296         (drem_test_tonearest): Likewise.
45297         (remainder_test_towardzero): Likewise.
45298         (drem_test_towardzero): Likewise.
45299         (remainder_test_downward): Likewise.
45300         (drem_test_downward): Likewise.
45301         (remainder_test_upward): Likewise.
45302         (drem_test_upward): Likewise.
45303         (remquo_test): Likewise.
45304         (rint_test): Likewise.
45305         (rint_test_tonearest): Likewise.
45306         (rint_test_towardzero): Likewise.
45307         (rint_test_downward): Likewise.
45308         (rint_test_upward): Likewise.
45309         (round_test): Likewise.
45310         (scalb_test): Likewise.
45311         (scalbn_test): Likewise.
45312         (scalbln_test): Likewise.
45313         (signbit_test): Likewise.
45314         (sin_test): Likewise.
45315         (sin_test_tonearest): Likewise.
45316         (sin_test_towardzero): Likewise.
45317         (sin_test_downward): Likewise.
45318         (sin_test_upward): Likewise.
45319         (sincos_test): Likewise.
45320         (sinh_test): Likewise.
45321         (sinh_test_tonearest): Likewise.
45322         (sinh_test_towardzero): Likewise.
45323         (sinh_test_downward): Likewise.
45324         (sinh_test_upward): Likewise.
45325         (sqrt_test): Likewise.
45326         (sqrt_test_tonearest): Likewise.
45327         (sqrt_test_towardzero): Likewise.
45328         (sqrt_test_downward): Likewise.
45329         (sqrt_test_upward): Likewise.
45330         (tan_test): Likewise.
45331         (tan_test_tonearest): Likewise.
45332         (tan_test_towardzero): Likewise.
45333         (tan_test_downward): Likewise.
45334         (tan_test_upward): Likewise.
45335         (tanh_test): Likewise.
45336         (tgamma_test): Likewise.
45337         (trunc_test): Likewise.
45338         (y0_test): Likewise.
45339         (y1_test): Likewise.
45340         (yn_test): Likewise.
45341         (significand_test): Likewise.
45343         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45344         individual tests in comment.
45345         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45346         (prev_max_error): New variable.
45347         (prev_real_max_error): Likewise.
45348         (prev_imag_max_error): Likewise.
45349         (compare_ulp_data): Don't refer to test names in comment.
45350         (find_test_ulps): Remove function.
45351         (find_function_ulps): Likewise.
45352         (find_complex_function_ulps): Likewise.
45353         (init_max_error): Take function name as argument.  Look up ulps
45354         for that function.
45355         (print_ulps): Remove function.
45356         (print_max_error): Use prev_max_error instead of calling
45357         find_function_ulps.
45358         (print_complex_max_error): Use prev_real_max_error and
45359         prev_imag_max_error instead of calling find_complex_function_ulps.
45360         (check_float_internal): Take max_ulp parameter instead of calling
45361         find_test_ulps.  Don't call print_ulps.
45362         (check_float): Update call to check_float_internal.
45363         (check_complex): Update calls to check_float_internal.
45364         (START): Pass argument to init_max_error.
45365         * math/gen-libm-test.pl (%results): Don't include "kind"
45366         information.
45367         (parse_ulps): Don't handle ulps of individual tests.
45368         (print_ulps_file): Likewise.
45369         (output_ulps): Likewise.
45370         * math/README.libm-test: Update.
45371         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45372         individual tests.
45373         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45374         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45375         * sysdeps/arm/libm-test-ulps: Likewise.
45376         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45377         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45378         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45379         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45380         * sysdeps/microblaze/libm-test-ulps: Likewise.
45381         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45382         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45383         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45384         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45385         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45386         * sysdeps/sh/libm-test-ulps: Likewise.
45387         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45388         * sysdeps/tile/libm-test-ulps: Likewise.
45389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45391 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
45393         * math/libm-test.inc (print_complex_max_error): Check separately
45394         whether real and imaginary errors are within allowed range and
45395         pass 0 to print_complex_function_ulps instead of value within
45396         allowed range.
45398 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45400         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45401         formatting.
45402         (get_handles_fopen): Likewise.
45403         (do_write_test): Likewise.
45405         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45407         * libio/fileops.c (do_ftell): Use cached offset when
45408         available.
45409         * libio/iofwide.c (do_ftell_wide): Likewise.
45410         * libio/iofdopen.c (_IO_new_fdopen): Don't use
45411         _IO_file_attach.
45412         * libio/wfileops.c (_IO_fwide): Don't cache offset.
45414         [BZ #16532]
45415         * libio/libioP.h (get_file_offset): New function.
45416         * libio/fileops.c (get_file_offset): Likewise.
45417         (do_ftell): Likewise.
45418         (_IO_new_file_seekoff): Split out ftell logic.
45419         * libio/wfileops.c (do_ftell_wide): Likewise.
45420         (_IO_wfile_seekoff): Split out ftell logic.
45421         * libio/tst-ftell-active-handler.c: New test case.
45422         * libio/Makefile (tests): Add it.
45424 2014-03-03  Roland McGrath  <roland@hack.frob.com>
45426         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45427         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45429 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45431         [BZ #16639]
45432         * nscd/connections.c (nscd_init): Call do_exit.
45433         (start_threads): Call do_exit and notify_parent.
45434         (begin_drop_privileges): Call do_exit.
45435         (finish_drop_privileges): Likewise.
45436         * nscd/selinux.c (preserve_capabilities): Likewise.
45437         (install_real_capabilities): Likewise.
45438         (nscd_selinux_enabled): Likewise.
45439         (avc_create_thread): Likewise.
45440         (avc_alloc_lock): Likewise.
45441         (nscd_avc_init): Likewise.
45442         * nscd/nscd.c (parent_fd): New static variable.
45443         (main): Create a pipe between parent and child processes.
45444         Skip closing parent_fd.
45445         (monitor_child): New function.
45446         (do_exit): Likewise.
45447         (notify_parent): Likewise.
45448         * nscd/nscd.h (notify_parent): Likewise.
45449         (do_exit): Likewise.
45451 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
45453         * malloc/malloc.c (__libc_calloc): Revert last change.
45455 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45459 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45461         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45463         implementation.
45464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45465         (__libc_ifunc_impl_list): Likewise.
45466         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45467         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45468         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45469         * string/strrchr.c: Define STRRCHR.
45471 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
45473         * benchtest/bench-strtok.c (simple_strtok): Delete.
45474         (strtok_string): Use as benchmark.
45475         * string/strtok (STRTOK): New macro.
45477 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
45479         * manual/threads.texi: Add header and standard comments to all
45480         functions.
45482         * elf/dl-lookup.c (check_match): New function.
45483         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45484         (do_lookup_x): Remove nested function check_match. Use non-nested
45485         function check_match.
45487 2014-02-28  Roland McGrath  <roland@hack.frob.com>
45489         * csu/Makefile (generated, before-compile): Use += rather than =.
45490         * catgets/Makefile (generated, generated-dirs): Likewise.
45491         * debug/Makefile (generated): Likewise.
45492         * dlfcn/Makefile (generated): Likewise.
45493         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45494         * iconvdata/Makefile (before-compile, generated): Likewise.
45495         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45496         * libio/Makefile (generated): Likewise.
45497         * malloc/Makefile (generated): Likewise.
45498         * manual/Makefile (generated, generated-dirs): Likewise.
45499         * misc/Makefile (generated): Likewise.
45500         * posix/Makefile (generated): Likewise.
45501         * resolv/Makefile (generated): Likewise.
45502         * sunrpc/Makefile (generated, generated-dirs): Likewise.
45503         * timezone/Makefile (generated, generated-dirs): Likewise.
45505         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45507 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45509         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45510         power8 implementation.
45511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45512         file: POWER8 llround ifunc implementation.
45513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45514         (__lllround): Add POWER8 implementation.
45515         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45516         POWER8 llround implementation.
45518         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45519         power8 implementation.
45520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45521         file: POWER8 llrint ifunc implementation.
45522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45523         Add POWER8 implementation.
45524         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45525         POWER8 llrint implementation.
45527         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45528         power8 implementation.
45529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45530         file: POWER8 finite ifunc implementation.
45531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45532         Add POWER8 implementation.
45533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45534         Likewise.
45535         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45536         POWER8 finite implementation.
45537         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45539         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45540         power8 implementation.
45541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
45542         file: POWER8 isinf ifunc implementation.
45543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
45544         POWER8 implementation.
45545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
45546         Likewise.
45547         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
45548         isinf implementation.
45549         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
45551         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
45552         (INIT_ARCH): Add hwcap2 initialization.
45553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45554         power8 implementation.
45555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
45556         file: POWER8 isnan ifunc implementation.
45557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
45558         POWER8 implementation.
45559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
45560         Likewise.
45561         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
45562         isnan implementation.
45563         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
45565 2014-02-27  Joey Ye  <joey.ye@arm.com>
45567         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45568         (_FP_NANFRAC_Q): Set to zero.
45570 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45572         [BZ #16623]
45573         * math/auto-libm-test-in: New test inputs.
45574         * math/auto-libm-test-out: Regenerate.
45575         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
45576         and DA.
45577         (__cos): Likewise.
45578         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45580 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
45582         * scripts/evaluate-test.sh: Take new argument indicating whether
45583         failure is expected.
45584         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45585         indicating whether failure is expected.
45586         * conform/Makefile (test-xfail-run-conformtest): New variable.
45587         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45588         level.
45589         * posix/Makefile (test-xfail-annexc): New variable.
45590         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45592 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
45594         * argp/Makefile: Include Makeconfig immediately after defining
45595         subdir.
45596         * assert/Makefile: Likewise.
45597         * benchtests/Makefile: Likewise.
45598         * catgets/Makefile: Likewise.
45599         * conform/Makefile: Likewise.
45600         * crypt/Makefile: Likewise.
45601         * csu/Makefile: Likewise.
45602         (all): Remove target.
45603         * ctype/Makefile: Include Makeconfig immediately after defining
45604         subdir.
45605         * debug/Makefile: Likewise.
45606         * dirent/Makefile: Likewise.
45607         * dlfcn/Makefile: Likewise.
45608         * gmon/Makefile: Likewise.
45609         * gnulib/Makefile: Likewise.
45610         * grp/Makefile: Likewise.
45611         * gshadow/Makefile: Likewise.
45612         * hesiod/Makefile: Likewise.
45613         * hurd/Makefile: Likewise.
45614         (all): Remove target.
45615         * iconvdata/Makefile: Include Makeconfig immediately after
45616         defining subdir.
45617         * inet/Makefile: Likewise.
45618         * intl/Makefile: Likewise.
45619         * io/Makefile: Likewise.
45620         * libio/Makefile: Likewise.
45621         (all): Remove target.
45622         * locale/Makefile: Include Makeconfig immediately after defining
45623         subdir.
45624         * login/Makefile: Likewise.
45625         * mach/Makefile: Likewise.
45626         (all): Remove target.
45627         * malloc/Makefile: Include Makeconfig immediately after defining
45628         subdir.
45629         (all): Remove target.
45630         * manual/Makefile: Include Makeconfig immediately after defining
45631         subdir.
45632         * math/Makefile: Likewise.
45633         * misc/Makefile: Likewise.
45634         * nis/Makefile: Likewise.
45635         * nss/Makefile: Likewise.
45636         * po/Makefile: Likewise.
45637         (all): Remove target.
45638         * posix/Makefile: Include Makeconfig immediately after defining
45639         subdir.
45640         * pwd/Makefile: Likewise.
45641         * resolv/Makefile: Likewise.
45642         * resource/Makefile: Likewise.
45643         * rt/Makefile: Likewise.
45644         * setjmp/Makefile: Likewise.
45645         * shadow/Makefile: Likewise.
45646         * signal/Makefile: Likewise.
45647         * socket/Makefile: Likewise.
45648         * soft-fp/Makefile: Likewise.
45649         * stdio-common/Makefile: Likewise.
45650         * stdlib/Makefile: Likewise.
45651         * streams/Makefile: Likewise.
45652         * string/Makefile: Likewise.
45653         * sunrpc/Makefile: Likewise.
45654         (all): Remove target.
45655         * sysvipc/Makefile: Include Makeconfig immediately after defining
45656         subdir.
45657         * termios/Makefile: Likewise.
45658         * time/Makefile: Likewise.
45659         * timezone/Makefile: Likewise.
45660         (all): Remove target.
45661         * wcsmbs/Makefile: Include Makeconfig immediately after defining
45662         subdir.
45663         * wctype/Makefile: Likewise.
45665 2014-02-26  Steve Ellcey  <sellcey@mips.com>
45667         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45668         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45669         (libc_feholdexcept_setround_mips): Ditto.
45670         (libc_feholdsetround): New.
45671         (libc_feholdsetroundf): New.
45672         (libc_feholdsetroundl): New.
45673         (libc_feupdateenv_test_mips): New.
45674         (libc_feupdateenv_test): New.
45675         (libc_feupdateenv_testf): New.
45676         (libc_feupdateenv_testl): New.
45677         (libc_feresetround): New.
45678         (libc_feresetroundf): New.
45679         (libc_feresetroundl): New.
45680         (libc_fetestexcept_mips): New.
45681         (libc_fetestexcept): New.
45682         (libc_fetestexceptf): New.
45683         (libc_fetestexceptl): New.
45684         (HAVE_RM_CTX): New.
45685         (libc_feholdexcept_setround_mips_ctx): New.
45686         (libc_feholdexcept_setround_ctx): New.
45687         (libc_feholdexcept_setroundf_ctx): New.
45688         (libc_feholdexcept_setroundl_ctx): New.
45689         (libc_fesetenv_mips_ctx): New.
45690         (libc_fesetenv_ctx): New.
45691         (libc_fesetenv_ctxf): New.
45692         (libc_fesetenv_ctxl): New.
45693         (libc_feupdateenv_mips_ctx): New.
45694         (libc_feupdateenv_ctx): New.
45695         (libc_feupdateenvf_ctx): New.
45696         (libc_feupdateenvl_ctx): New.
45697         (libc_feholdsetround_mips_ctx): New.
45698         (libc_feholdsetround_ctx): New.
45699         (libc_feholdsetroundf_ctx): New.
45700         (libc_feholdsetroundl_ctx): New.
45701         (libc_feresetround_mips_ctx): New.
45702         (libc_feresetround_ctx): New.
45703         (libc_feresetroundf_ctx): New.
45704         (libc_feresetroundl_ctx): New.
45706 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
45708         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45710         * manual/ipc.texi: New file.
45711         * manual/Makefile (chapters): Add ipc.
45712         * manual/job.texi: Add "Inter-Process Communication" to next.
45713         * manual/process.texi: Add "Inter-Process Communication" to prev.
45715 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45719 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
45721         * malloc/malloc.c (__libc_calloc): Simplify implementation.
45723         * manual/arith.texi: Fix spaces after sentences.
45724         * manual/charset.texi: Likewise.
45725         * manual/errno.texi: Likewise.
45726         * manual/install.texi: Likewise.
45727         * manual/llio.texi: Likewise.
45728         * manual/locale.texi: Likewise.
45729         * manual/maint.texi: Likewise.
45730         * manual/math.texi: Likewise.
45731         * manual/memory.texi: Likewise.
45732         * manual/message.texi: Likewise.
45733         * manual/probes.texi: Likewise.
45734         * manual/resource.texi: Likewise.
45735         * manual/signal.texi: Likewise.
45736         * manual/socket.texi: Likewise.
45737         * manual/stdio.texi: Likewise.
45738         * manual/string.texi: Likewise.
45739         * manual/time.texi: Likewise.
45740         * manual/users.texi: Likewise.
45742 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
45744         [BZ #16632]
45745         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45746         _DEFAULT_SOURCE is defined.
45748 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
45749             Carlos O'Donell  <carlos@redhat.com>
45751         [BZ #16613]
45752         * elf/dl-tls.c (_dl_count_modids): New function.
45753         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45754         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45755         audit library and increment generation counter.
45756         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45757         * elf/tst-audit9.c: New file.
45758         * elf/tst-auditmod9a.c: New file.
45759         * elf/tst-auditmod9b.c: New file.
45760         * elf/Makefile: Add rules to build and run tst-audit9.
45762 2014-02-25  Florian Weimer  <fweimer@redhat.com>
45764         [BZ #15347]
45765         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45767 2014-02-25  Will Newton  <will.newton@linaro.org>
45769         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45770         (__longjmp): Restore sp and lr before restoring callee
45771         saved registers.  Add longjmp and longjmp_target
45772         SystemTap probe point.
45773         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45774         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45775         Define to zero to match jmpbuf layout.
45776         * sysdeps/arm/setjmp.S: Include stap-probe.h.
45777         (__sigsetjmp): Save sp and lr before saving callee
45778         saved registers.  Add setjmp SystemTap probe point.
45780 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
45782         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45784 2014-02-24  Andreas Schwab  <schwab@suse.de>
45786         [BZ #15804]
45787         * elf/pldd.c (wait_for_ptrace_stop): New function.
45788         (main): Call it after attaching.
45790 2014-02-22  Roland McGrath  <roland@hack.frob.com>
45792         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45793         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45794         Versions files is now verboten.
45795         * hurd/Versions (libc: GLIBC_2.0):
45796         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45797         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45798         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45799         * mach/Versions: Likewise.
45801         * csu/Versions: Remove unused %include.
45802         * resolv/Versions: Likewise.
45804 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
45806         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45807         ($(objpfx)check-local-headers.out): Likewise.
45808         ($(objpfx)begin-end-check.out): Likewise.
45809         * Makerules (check-abi-%.out): Likewise.
45810         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45811         ($(objpfx)test2.cat): Likewise.
45812         ($(objpfx)de/libc.cat): Likewise.
45813         ($(objpfx)test-gencat.out): Likewise.
45814         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45815         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45816         ($(objpfx)noload-mem): Likewise.
45817         ($(objpfx)tst-pathopt.out): Likewise.
45818         ($(objpfx)tst-rtld-load-self.out): Likewise.
45819         ($(objpfx)tst-array1-cmp.out): Likewise.
45820         ($(objpfx)tst-array1-static-cmp.out): Likewise.
45821         ($(objpfx)tst-array2-cmp.out): Likewise.
45822         ($(objpfx)tst-array3-cmp.out): Likewise.
45823         ($(objpfx)tst-array4-cmp.out): Likewise.
45824         ($(objpfx)tst-array5-cmp.out): Likewise.
45825         ($(objpfx)tst-array5-static-cmp.out): Likewise.
45826         ($(objpfx)check-textrel.out): Likewise.
45827         ($(objpfx)check-execstack.out): Likewise.
45828         ($(objpfx)check-localplt.out): Likewise.
45829         ($(objpfx)order2-cmp.out): Likewise.
45830         ($(objpfx)tst-leaks1-mem): Likewise.
45831         ($(objpfx)tst-leaks1-static-mem): Likewise.
45832         ($(objpfx)tst-initorder-cmp.out): Likewise.
45833         ($(objpfx)tst-initorder2-cmp.out): Likewise.
45834         ($(objpfx)tst-unused-dep.out): Likewise.
45835         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45836         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45837         * iconv/Makefile (test-iconvconfig): Likewise.
45838         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45839         ($(objpfx)iconv-test.out): Likewise.
45840         ($(objpfx)tst-tables.out): Likewise.
45841         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45842         ($(objpfx)tst-gettext.out): Likewise.
45843         ($(objpfx)tst-translit.out): Likewise.
45844         ($(objpfx)tst-gettext2.out): Likewise.
45845         ($(objpfx)tst-gettext4.out): Likewise.
45846         ($(objpfx)tst-gettext6.out): Likewise.
45847         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45848         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45849         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45850         ($(objpfx)tst-fopenloc-mem.out): Likewise.
45851         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45852         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45853         * posix/Makefile ($(objpfx)globtest.out): Likewise.
45854         ($(objpfx)wordexp-tst.out): Likewise.
45855         ($(objpfx)annexc.out): Likewise.
45856         ($(objpfx)tst-fnmatch-mem): Likewise.
45857         ($(objpfx)bug-regex2-mem): Likewise.
45858         ($(objpfx)bug-regex14-mem): Likewise.
45859         ($(objpfx)bug-regex21-mem): Likewise.
45860         ($(objpfx)bug-regex31-mem): Likewise.
45861         ($(objpfx)tst-vfork3-mem): Likewise.
45862         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45863         ($(objpfx)tst-pcre-mem): Likewise.
45864         ($(objpfx)tst-boost-mem): Likewise.
45865         ($(objpfx)tst-getconf.out): Likewise.
45866         ($(objpfx)bug-ga2-mem): Likewise.
45867         ($(objpfx)bug-glob2-mem): Likewise.
45868         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45869         ($(objpfx)mtrace-tst-leaks2): Likewise.
45870         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45871         ($(objpfx)tst-printf.out): Likewise.
45872         ($(objpfx)tst-setvbuf1.out): Likewise.
45873         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45874         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45875         ($(objpfx)tst-fmtmsg.out): Likewise.
45876         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45877         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45879         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45880         * bits/sigaction.h [__USE_MISC]: Likewise.
45881         * bits/waitstatus.h: Update #endif comments.
45882         * ctype/ctype.h: Likewise.
45883         * dirent/dirent.h: Likewise.
45884         [__USE_MISC]: Remove redundant conditionals.
45885         * grp/grp.h: Update #endif comments.
45886         [__USE_GNU]: Remove redundant conditionals.
45887         [__USE_MISC]: Likewise.
45888         * inet/netinet/in.h [__USE_GNU]: Likewise.
45889         * io/sys/stat.h [__USE_MISC]: Likewise.
45890         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45891         * libio/bits/stdio.h: Update #endif comments.
45892         [__USE_MISC]: Remove redundant conditionals.
45893         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45894         * libio/stdio.h: Update #endif comments.
45895         [__USE_MISC]: Remove redundant conditionals.
45896         * math/bits/math-finite.h [__USE_MISC]: Likewise.
45897         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45898         * math/math.h: Update #else and #endif comments.
45899         [__USE_MISC]: Remove redundant conditionals.
45900         * misc/sys/uio.h: Update #endif comments.
45901         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45902         * posix/glob.h [__USE_MISC]: Likewise.
45903         * posix/sys/types.h: Update #endif comments.
45904         [__USE_MISC]: Remove redundant conditionals.
45905         * posix/sys/wait.h: Update #endif comments.
45906         [__USE_MISC]: Remove redundant conditionals.
45907         * posix/unistd.h: Update #endif comments.
45908         [__USE_MISC]: Remove redundant conditionals.
45909         * pwd/pwd.h [__USE_GNU]: Likewise.
45910         [__USE_MISC]: Likewise.
45911         * resolv/netdb.h [__USE_GNU]: Likewise.
45912         * signal/signal.h: Update #endif comments.
45913         [__USE_MISC]: Remove redundant conditionals.
45914         * stdlib/stdlib.h: Update #else and #endif comments.
45915         [__USE_MISC]: Remove redundant conditionals.
45916         [__USE_GNU]: Likewise.
45917         * string/bits/string2.h [__USE_MISC]: Likewise.
45918         * string/string.h: Update #endif comments.
45919         [__USE_MISC]: Remove redundant conditionals.
45920         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45921         Likewise.
45922         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45923         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45924         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45925         Likewise.
45926         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45927         Likewise.
45928         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45929         comments.
45930         [__USE_MISC]: Remove redundant conditionals.
45931         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45932         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45933         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45934         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45935         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45936         Likewise.
45937         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45938         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45939         Likewise.
45940         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45941         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45942         Likewise.
45943         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45944         Likewise.
45945         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45946         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45947         Likewise.
45948         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45949         Likewise.
45950         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45951         * sysdeps/x86/bits/string.h: Update #endif comments.
45952         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45953         conditionals.
45954         * time/sys/time.h: Update #endif comments.
45955         * time/time.h: Likewise.
45956         [__USE_MISC]: Remove redundant conditionals.
45958 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
45960         [BZ #16600]
45961         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45963 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
45965         * Versions.def (librt): Add GLIBC_2.17.
45967 2014-02-21  Adam Conrad  <adconrad@0c3.net>
45969         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45970         synonym for _SYS_AUXV_H to allow direct inclusion.
45971         * sysdeps/sparc/bits/hwcap.h: Likewise.
45972         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45973         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45974         * sysdeps/sparc/sysdep.h: Likewise.
45976 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45978         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45980 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45982         * benchtests/bench-strrchr.c: Print length instead of position.
45984 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
45986         [BZ #16611]
45987         * sysdeps/unix/sysv/linux/kernel-features.h
45988         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45989         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45990         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45991         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45992         Likewise.
45993         [__i386__ || __powerpc__ || __sh__ || __sparc__]
45994         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45995         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45996         (__ASSUME_SENDMMSG): Define instead of using previous
45997         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45998         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45999         (__ASSUME_SENDMMSG_SYSCALL): Define.
46000         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46001         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
46002         Likewise.
46003         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46004         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46005         Likewise.
46006         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46007         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46008         Likewise.
46009         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
46010         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46011         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46012         [__ASSUME_SENDMMSG]: Change conditionals to
46013         [__ASSUME_SENDMMSG_SOCKETCALL].
46014         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46015         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
46016         Define.
46017         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46018         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
46019         Likewise.
46020         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46021         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46022         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46023         [!__ASSUME_SENDMMSG]: Change conditional to
46024         [!__ASSUME_SENDMMSG_SOCKETCALL].
46025         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46026         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46027         Define.
46029         [BZ #16610]
46030         * sysdeps/unix/sysv/linux/kernel-features.h
46031         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46032         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46033         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46034         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46035         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46036         [__i386__ || __sparc__]
46037         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46038         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46039         (__ASSUME_RECVMMSG): Define instead of using previous
46040         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46041         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46042         (__ASSUME_RECVMMSG_SYSCALL): Define.
46043         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46044         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46045         Likewise.
46046         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46047         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46048         Likewise.
46049         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46050         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46051         Likewise.
46052         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46053         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46054         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46055         [__ASSUME_RECVMMSG]: Change condition to
46056         [__ASSUME_RECVMMSG_SOCKETCALL].
46057         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46058         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46059         Define.
46060         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46061         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46062         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46063         Likewise.
46064         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46065         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46066         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46067         [!__ASSUME_RECVMMSG]: Change condition to
46068         [!__ASSUME_RECVMMSG_SOCKETCALL].
46069         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46070         (__ASSUME_RECVMMSG_SYSCALL): Define.
46072         [BZ #16609]
46073         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46074         __powerpc__ || __s390__ || __sh__ || __sparc__]
46075         (__ASSUME_SOCKETCALL): Define.
46076         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46077         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46078         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46079         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46080         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46081         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46082         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46083         (__ASSUME_ACCEPT4): Define instead of using previous
46084         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46085         __powerpc__ || __sparc__ || __s390__)] condition.
46086         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46087         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46088         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46089         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46090         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46091         [!__ASSUME_ACCEPT4]: Change condition to
46092         [!__ASSUME_ACCEPT4_SOCKETCALL].
46093         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46094         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
46095         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46096         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46097         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46098         __ASSUME_ACCEPT4_SYSCALL.
46099         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46100         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46101         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46102         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46103         __ASSUME_ACCEPT4_SYSCALL.
46104         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46105         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46106         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46107         [__ASSUME_ACCEPT4]: Change condition to
46108         [__ASSUME_ACCEPT4_SOCKETCALL].
46109         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46110         (__ASSUME_SOCKETCALL): Define.
46111         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46112         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46113         (__ASSUME_SOCKETCALL): Define.
46114         (__ASSUME_ACCEPT4): Remove.
46115         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46116         Define.
46117         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46118         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46119         Likewise.
46120         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46121         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46123         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46124         macro.
46125         (HWCAP_ARM_LPAE): Likewise.
46126         (HWCAP_ARM_EVTSTRM): Likewise.
46127         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46128         Add vpfd32, lpae and evtstrm.
46129         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46130         Increase to 22.
46132 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
46134         * math/auto-libm-test-in: Add tests of clog10.
46135         * math/auto-libm-test-out: Regenerated.
46136         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46137         * sysdeps/i386/fpu/libm-test-ulps: Update.
46138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46140 2014-02-18  Andreas Schwab  <schwab@suse.de>
46142         [BZ #16574]
46143         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46144         Store non-zero if the second buffer was newly allocated.
46145         (send_dg): Likewise.
46146         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46147         to send_vc and send_dg.
46148         (res_nsend): Pass NULL for ansp2_malloced.
46149         * resolv/res_query.c (__libc_res_nquery): Add parameter
46150         answerp2_malloced and pass it down to __libc_res_nsend.
46151         (res_nquery): Pass additional NULL to __libc_res_nquery.
46152         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46153         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
46154         second answer buffer if answerp2_malloced was set.
46155         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46156         (__libc_res_nquerydomain): Add parameter
46157         answerp2_malloced and pass it down to __libc_res_nquery.
46158         (res_nquerydomain): Pass additional NULL to
46159         __libc_res_nquerydomain.
46160         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46161         additional NULL to __libc_res_nsend and __libc_res_nquery.
46162         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46163         additional NULL to __libc_res_nsearch.
46164         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
46165         parameter of __libc_res_nsearch to check for separately allocated
46166         second buffer.
46167         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46168         __libc_res_nquery.
46169         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46170         additional NULL to __libc_res_nquery.
46171         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46172         __libc_res_nsearch.
46173         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46174         * include/resolv.h: Update prototypes of __libc_res_nquery,
46175         __libc_res_nsearch, __libc_res_nsend.
46177 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
46179         * math/auto-libm-test-in: Add tests of fma.
46180         * math/auto-libm-test-out: Regenerated.
46181         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46182         (fma_towardzero_test_data): Likewise.
46183         (fma_downward_test_data): Likewise.
46184         (fma_upward_test_data): Likewise.
46185         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46186         mpc_mode.
46187         (rounding_modes): Add values for new field.
46188         (func_calc_method): Add value mpfr_fff_f.
46189         (func_calc_desc): Add mpfr_fff_f union field.
46190         (test_function): Add field exact_args.
46191         (FUNC): Add macro argument EXACT_ARGS.
46192         (FUNC_mpfr_f_f): Update call to FUNC.
46193         (FUNC_mpfr_f_f): Likewise.
46194         (FUNC_mpfr_ff_f): Likewise.
46195         (FUNC_mpfr_if_f): Likewise.
46196         (FUNC_mpc_c_f): Likewise.
46197         (FUNC_mpc_c_c): Likewise.
46198         (test_functions): Add fma.  Update calls to FUNC.
46199         (handle_input_arg): Add argument exact_args.
46200         (add_test): Update call to handle_input_arg.
46201         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
46202         (output_for_one_input_case): Update call to calc_generic_results.
46203         Recalculate exact zero results in each rounding mode.
46205         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46206         non-negative before setting low bit.
46207         * math/auto-libm-test-in: Mark one asin test possibly having
46208         spurious underflow.
46209         * math/auto-libm-test-out: Regenerated.
46210         * sysdeps/i386/fpu/libm-test-ulps: Update.
46211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46213 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
46215         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46216         * sysdeps/unix/sysv/linux/microblaze: Move directory from
46217         ports/sysdeps/unix/sysv/linux/microblaze.
46218         * README: Add missing listing for microblaze*-*-linux-gnu.
46220 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
46222         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46223         duplicate code
46225 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
46227         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46228         * sysdeps/unix/sysv/linux/ia64: Move directory from
46229         ports/sysdeps/unix/sysv/linux/ia64.
46230         * README: Update listing for ia64-*-linux-gnu.
46232 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
46233             Joseph Myers  <joseph@codesourcery.com>
46235         * Makeconfig (test-name): New variable.
46236         (evaluate-test): Likewise.
46237         * Makerules (do-test-clean): Remove .test-result files.
46238         (common-mostlyclean): Likewise.
46239         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46240         * scripts/evaluate-test.sh: New file.
46242 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
46244         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46245         separate $(objpfx)tst-fopenloc-cmp.out and
46246         $(objpfx)tst-fopenloc-mem.out targets.
46247         (tests): Update dependencies.
46248         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46249         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46250         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46251         (tst-rxspencer-no-utf8-ARGS): New variable.
46252         (tst-rxspencer-no-utf8-ENV): Likewise.
46253         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46254         instead of $(objpfx)tst-rxspencer-mem.
46255         ($(objpfx)tst-rxspencer-mem): Change target to
46256         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
46257         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46258         * posix/tst-rxspencer-no-utf8.c: New file.
46260         * elf/Makefile ($(objpfx)order.out): Remove rule.
46261         [$(run-built-tests) = yes] (tests): Depend on
46262         $(objpfx)order-cmp.out.
46263         ($(objpfx)order-cmp.out): New rule.
46264         [$(run-built-tests) = yes] (tests): Depend on
46265         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46266         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46267         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46268         $(objpfx)tst-array5-static-cmp.out.
46269         ($(objpfx)tst-array1.out): Remove rule.
46270         ($(objpfx)tst-array1-cmp.out): New rule.
46271         ($(objpfx)tst-array1-static.out): Remove rule.
46272         ($(objpfx)tst-array1-static-cmp.out): New rule.
46273         ($(objpfx)tst-array2.out): Remove rule.
46274         ($(objpfx)tst-array2-cmp.out): New rule.
46275         ($(objpfx)tst-array3.out): Remove rule.
46276         ($(objpfx)tst-array3-cmp.out): New rule.
46277         ($(objpfx)tst-array4.out): Remove rule.
46278         ($(objpfx)tst-array4-cmp.out): New rule.
46279         ($(objpfx)tst-array5.out): Remove rule.
46280         ($(objpfx)tst-array5-cmp.out): New rule.
46281         ($(objpfx)tst-array5-static.out): Remove rule.
46282         ($(objpfx)tst-array5-static-cmp.out): New rule.
46283         [$(run-built-tests) = yes] (tests): Depend on
46284         $(objpfx)order2-cmp.out.
46285         ($(objpfx)order2.out): Remove rule.
46286         ($(objpfx)order2-cmp.out): New rule.
46287         ($(objpfx)tst-initorder.out): Remove rule.
46288         [$(run-built-tests) = yes] (tests): Depend on
46289         $(objpfx)tst-initorder-cmp.out.
46290         ($(objpfx)tst-initorder-cmp.out): New rule.
46291         ($(objpfx)tst-initorder2.out): Remove rule.
46292         [$(run-built-tests) = yes] (tests): Depend on
46293         $(objpfx)tst-initorder2-cmp.out.
46294         ($(objpfx)tst-initorder2-cmp.out): New rule.
46295         [$(run-built-tests) = yes] (tests): Depend on
46296         $(objpfx)tst-unused-dep-cmp.out.
46297         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46298         ($(objpfx)tst-unused-dep-cmp.out): New rule.
46299         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46300         on $(objpfx)tst-setvbuf1-cmp.out.
46301         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46302         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46303         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46304         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46305         ($(objpfx)tst-svc.out): Remove rule.
46306         ($(objpfx)tst-svc-cmp.out): New rule.
46308 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
46310         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46311         * ctype/ctype.h [__USE_MISC]: Likewise.
46312         * dirent/dirent.h [__USE_MISC]: Likewise.
46313         * grp/grp.h [__USE_MISC]: Likewise.
46314         * io/fcntl.h [__USE_MISC]: Likewise.
46315         * io/sys/stat.h [__USE_MISC]: Likewise.
46316         * libio/stdio.h [__USE_MISC]: Likewise.
46317         * posix/unistd.h [__USE_MISC]: Likewise.
46318         * pwd/pwd.h [__USE_MISC]: Likewise.
46319         * stdlib.h [__USE_MISC]: Likewise.
46320         * string/bits/string2.h [__USE_MISC]: Likewise.
46321         * string/string.h [__USE_MISC]: Likewise.
46322         * time/time.h [__USE_MISC]: Likewise.
46324 2014-02-13  Andreas Schwab  <schwab@suse.de>
46326         [BZ #16574]
46327         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46328         second answer buffer if it was separately allocated.
46330 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
46332         * sysdeps/mips/math-tests.h: Include <features.h>.
46333         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46334         (ROUNDING_TESTS_long_double): Do not define.
46335         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46336         (EXCEPTION_TESTS_long_double): Likewise.
46337         * sysdeps/mips/mips64/libm-test-ulps: Update.
46339         * include/features.h (__USE_BSD): Remove macro definitions.
46340         (__USE_SVID): Likewise.
46341         (_BSD_SOURCE): Likewise.
46342         (_SVID_SOURCE): Likewise.
46343         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46344         from definition of _DEFAULT_SOURCE.
46345         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46346         [_DEFAULT_SOURCE].
46347         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46348         * bits/mman.h [__USE_BSD]: Likewise.
46349         * bits/termios.h [__USE_BSD]: Likewise.
46350         * bits/waitstatus.h [__USE_BSD]: Likewise.
46351         * ctype/ctype.h [__USE_SVID]: Likewise.
46352         * dirent/dirent.h [__USE_BSD]: Likewise.
46353         * grp/grp.h [__USE_SVID]: Likewise.
46354         [__USE_BSD]: Likewise.
46355         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46356         * io/fcntl.h [__USE_BSD]: Likewise.
46357         * io/ftw.h [__USE_BSD]: Likewise.
46358         * io/sys/stat.h [__USE_BSD]: Likewise.
46359         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46360         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46361         * libio/stdio.h [__USE_SVID]: Likewise.
46362         [__USE_BSD]: Likewise.
46363         * math/math.h [__USE_SVID]: Likewise.
46364         [__USE_BSD]: Likewise.
46365         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46366         * misc/bits/syslog.h [__USE_BSD]: Likewise.
46367         * misc/search.h [__USE_SVID]: Likewise.
46368         * misc/sys/mman.h [__USE_BSD]: Likewise.
46369         * misc/sys/syslog.h [__USE_BSD]: Likewise.
46370         * misc/sys/uio.h [__USE_BSD]: Likewise.
46371         * posix/bits/unistd.h [__USE_BSD]: Likewise.
46372         * posix/glob.h [__USE_BSD]: Likewise.
46373         * posix/regex.h [__USE_BSD]: Likewise.
46374         * posix/sys/types.h [__USE_BSD]: Likewise.
46375         [__USE_SVID]: Likewise.
46376         * posix/sys/utsname.h [__USE_SVID]: Likewise.
46377         * posix/sys/wait.h [__USE_BSD]: Likewise.
46378         [__USE_SVID]: Likewise.
46379         * posix/unistd.h [__USE_BSD]: Likewise.
46380         [__USE_SVID]: Likewise.
46381         * pwd/pwd.h [__USE_SVID]: Likewise.
46382         * resolv/netdb.h [__USE_BSD]: Likewise.
46383         * setjmp/setjmp.h [__USE_BSD]: Likewise.
46384         * signal/signal.h [__USE_BSD]: Likewise.
46385         [__USE_SVID]: Likewise.
46386         * socket/sys/socket.h [__USE_BSD]: Likewise.
46387         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46388         * stdlib/stdlib.h [__USE_BSD]: Likewise.
46389         [__USE_SVID]: Likewise.
46390         * string/bits/string2.h [__USE_BSD]: Likewise.
46391         [__USE_SVID]: Likewise.
46392         * string/bits/string3.h [__USE_BSD]: Likewise.
46393         * string/endian.h [__USE_BSD]: Likewise.
46394         * string/string.h [__USE_SVID]: Likewise.
46395         [__USE_BSD]: Likewise.
46396         * string/strings.h [__USE_BSD]: Likewise.
46397         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46398         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46399         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46400         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46401         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46402         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46403         Likewise.
46404         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46405         Likewise.
46406         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46407         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46408         Likewise.
46409         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46410         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46411         Likewise.
46412         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46413         Likewise.
46414         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46415         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46416         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46417         Likewise.
46418         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46419         Likewise.
46420         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46421         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46422         * termios/termios.h [__USE_BSD]: Likewise.
46423         * time/sys/time.h [__USE_BSD]: Likewise.
46424         * time/time.h [__USE_BSD]: Likewise.
46425         [__USE_SVID]: Likewise.
46427         * Makefile (subdir_targets): Remove subdir_lint.out.
46429         * stdio-common/Makefile (do-tst-unbputc): Remove target.
46430         (do-tst-printf): Likewise.
46431         (tests): Depend directly on $(objpfx)tst-unbputc.out and
46432         $(objpfx)tst-printf.out.
46434         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46436         * Makerules (check-abi-%): Change target to
46437         $(objpfx)check-abi-%.out.
46438         (check-abi target): Update dependencies.
46439         (check-abi-pattern variable): Redirect output of diff to $@.
46440         (check-abi variable): Likewise.
46441         * elf/Makefile (check-abi): Update dependencies.
46443         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46444         unused.
46445         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46446         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46447         subnormal range.
46448         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46449         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46450         value has largest subnormal exponent.
46451         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46452         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46453         * sysdeps/aarch64/soft-fp/sfp-machine.h
46454         (_FP_TININESS_AFTER_ROUNDING): New macro.
46455         * sysdeps/alpha/soft-fp/sfp-machine.h
46456         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46457         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46458         Likewise.
46459         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46460         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46461         * sysdeps/mips/soft-fp/sfp-machine.h
46462         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46463         * sysdeps/powerpc/soft-fp/sfp-machine.h
46464         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46465         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46466         Likewise.
46467         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46468         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46469         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46470         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46471         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46472         Likewise.
46474 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
46476         [BZ #16545]
46477         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46478         model 1.
46480 2014-02-12  Richard Henderson  <rth@redhat.com>
46482         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46483         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46484         * sysdeps/unix/sysv/linux/alpha: Move directory from
46485         ports/sysdeps/unix/sysv/linux/alpha.
46486         * README: Update listing for alpha-*-linux-gnu.
46488 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
46490         * include/features.h: Update comment documenting feature test
46491         macros.
46492         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
46493         _DEFAULT_SOURCE.
46494         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46495         (_SVID_SOURCE): Likewise.
46496         (_DEFAULT_SOURCE): Update description of default features.
46497         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46498         with _GNU_SOURCE.
46499         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46500         (S_ISVTX): Likewise.
46501         * manual/math.texi (Mathematical Constants): Likewise.
46502         * manual/signal.texi (Interrupted Primitives): Likewise.
46503         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46504         * math/test-matherr.c (_SVID_SOURCE): Do not define.
46505         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46506         Don't refer to _SVID_SOURCE in warning text.
46508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46510         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46511         already defined.
46512         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46513         * sysdeps/mips/dl-lookup.c: Remove.
46514         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46516 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46518         [BZ #16447]
46519         * math/auto-libm-test-in: Add testcase for expl.
46520         * math/auto-libm-test-out: Regenerate.
46521         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46522         calculation of unsafe.
46523         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46525 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46527         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46528         * sysdeps/unix/sysv/linux/aarch64: Move directory from
46529         ports/sysdeps/unix/sysv/linux/aarch64.
46530         * README: Update listing for aarch64*-*-linux-gnu.
46532 2014-02-11  Will Newton  <will.newton@linaro.org>
46534         * manual/probes.texi (Mathematical Function Probes): Use
46535         "triggered" instead of "hit".
46537         * manual/probes.texi (Internal Probes): Add documentation
46538         of setjmp, longjmp and longjmp_target probes.
46540         * include/stap-probe.h: Add comment about probe argument
46541         format.
46543         * malloc/mtrace.c (attribute_hidden): Remove unused macro
46544         definition.  (tr_where, tr_freehook, tr_mallochook,
46545         tr_reallochook, tr_memalignhook): Use ANSI protoype.
46547 2014-02-11  David S. Miller  <davem@davemloft.net>
46549         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
46550         processing int_tests.
46552 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
46554         * sysdeps/mips: Move directory from ports/sysdeps/mips.
46555         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
46556         * sysdeps/unix/sysv/linux/mips: Move directory from
46557         ports/sysdeps/unix/sysv/linux/mips.
46558         * README: Update listing for mips-*-linux-gnu and
46559         mips64-*-linux-gnu.
46561 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
46563         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46564         * sysdeps/unix/sysv/linux/m68k: Move directory from
46565         ports/sysdeps/unix/sysv/linux/m68k.
46566         * README: Update listing for m68k-*-linux-gnu.
46568 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
46570         * sysdeps/tile: Move directory from ports/sysdeps/tile.
46571         * sysdeps/unix/sysv/linux/generic: Move directory from
46572         ports/sysdeps/unix/sysv/linux/generic.
46573         * sysdeps/unix/sysv/linux/tile: Move directory from
46574         ports/sysdeps/unix/sysv/linux/tile.
46575         * README: Update listing for tile*-*-linux-gnu.
46577 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
46579         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46580         __builtin_expect.
46581         * benchtests/bench-memmem.c (simple_memmem): Likewise.
46582         * catgets/open_catalog.c (__open_catalog): Likewise.
46583         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46584         * debug/confstr_chk.c: Likewise.
46585         * debug/fread_chk.c (__fread_chk): Likewise.
46586         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46587         * debug/getgroups_chk.c: Likewise.
46588         * debug/mbsnrtowcs_chk.c: Likewise.
46589         * debug/mbsrtowcs_chk.c: Likewise.
46590         * debug/mbstowcs_chk.c: Likewise.
46591         * debug/memcpy_chk.c: Likewise.
46592         * debug/memmove_chk.c: Likewise.
46593         * debug/mempcpy_chk.c: Likewise.
46594         * debug/memset_chk.c: Likewise.
46595         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46596         * debug/strcat_chk.c (__strcat_chk): Likewise.
46597         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46598         * debug/strncat_chk.c (__strncat_chk): Likewise.
46599         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46600         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46601         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46602         * debug/wcpncpy_chk.c: Likewise.
46603         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46604         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46605         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46606         * debug/wcsncpy_chk.c: Likewise.
46607         * debug/wcsnrtombs_chk.c: Likewise.
46608         * debug/wcsrtombs_chk.c: Likewise.
46609         * debug/wcstombs_chk.c: Likewise.
46610         * debug/wmemcpy_chk.c: Likewise.
46611         * debug/wmemmove_chk.c: Likewise.
46612         * debug/wmempcpy_chk.c: Likewise.
46613         * debug/wmemset_chk.c: Likewise.
46614         * dirent/scandirat.c (SCANDIRAT): Likewise.
46615         * dlfcn/dladdr1.c (dladdr1): Likewise.
46616         * dlfcn/dladdr.c (dladdr): Likewise.
46617         * dlfcn/dlclose.c (dlclose_doit): Likewise.
46618         * dlfcn/dlerror.c (__dlerror): Likewise.
46619         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46620         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46621         * dlfcn/dlopen.c (dlopen_doit): Likewise.
46622         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46623         * dlfcn/dlsym.c (dlsym_doit): Likewise.
46624         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46625         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46626         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46627         Likewise.
46628         * elf/dl-conflict.c: Likewise.
46629         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46630         * elf/dl-dst.h: Likewise.
46631         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46632         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46633         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46634         * elf/dl-init.c (call_init, _dl_init): Likewise.
46635         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46636         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46637         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46638         Likewise.
46639         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46640         Likewise.
46641         * elf/dl-minimal.c (__libc_memalign): Likewise.
46642         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46643         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46644         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46645         * elf/dl-sym.c (do_sym): Likewise.
46646         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46647         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46648         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46649         * elf/dl-writev.h (_dl_writev): Likewise.
46650         * elf/ldconfig.c (search_dir): Likewise.
46651         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46652         (dl_main): Likewise.
46653         * elf/setup-vdso.h (setup_vdso): Likewise.
46654         * grp/compat-initgroups.c (compat_call): Likewise.
46655         * grp/fgetgrent.c (fgetgrent): Likewise.
46656         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46657         * grp/putgrent.c (putgrent): Likewise.
46658         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46659         Likewise.
46660         * hurd/hurdinit.c: Likewise.
46661         * iconvdata/8bit-gap.c (struct): Likewise.
46662         * iconvdata/ansi_x3.110.c : Likewise.
46663         * iconvdata/big5.c : Likewise.
46664         * iconvdata/big5hkscs.c : Likewise.
46665         * iconvdata/cp1255.c: Likewise.
46666         * iconvdata/cp1258.c : Likewise.
46667         * iconvdata/cp932.c : Likewise.
46668         * iconvdata/euc-cn.c: Likewise.
46669         * iconvdata/euc-jisx0213.c : Likewise.
46670         * iconvdata/euc-jp.c: Likewise.
46671         * iconvdata/euc-jp-ms.c : Likewise.
46672         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46673         * iconvdata/gb18030.c : Likewise.
46674         * iconvdata/gbbig5.c (const): Likewise.
46675         * iconvdata/gbgbk.c: Likewise.
46676         * iconvdata/gbk.c : Likewise.
46677         * iconvdata/ibm1364.c : Likewise.
46678         * iconvdata/ibm930.c : Likewise.
46679         * iconvdata/ibm932.c: Likewise.
46680         * iconvdata/ibm933.c : Likewise.
46681         * iconvdata/ibm935.c : Likewise.
46682         * iconvdata/ibm937.c : Likewise.
46683         * iconvdata/ibm939.c : Likewise.
46684         * iconvdata/ibm943.c: Likewise.
46685         * iconvdata/iso_11548-1.c: Likewise.
46686         * iconvdata/iso-2022-cn.c : Likewise.
46687         * iconvdata/iso-2022-cn-ext.c : Likewise.
46688         * iconvdata/iso-2022-jp-3.c: Likewise.
46689         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46690         * iconvdata/iso-2022-kr.c : Likewise.
46691         * iconvdata/iso646.c (gconv_end): Likewise.
46692         * iconvdata/iso_6937-2.c : Likewise.
46693         * iconvdata/iso_6937.c : Likewise.
46694         * iconvdata/iso8859-1.c: Likewise.
46695         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46696         * iconvdata/shift_jisx0213.c : Likewise.
46697         * iconvdata/sjis.c : Likewise.
46698         * iconvdata/t.61.c : Likewise.
46699         * iconvdata/tcvn5712-1.c : Likewise.
46700         * iconvdata/tscii.c: Likewise.
46701         * iconvdata/uhc.c : Likewise.
46702         * iconvdata/unicode.c (gconv_end): Likewise.
46703         * iconvdata/utf-16.c (gconv_end): Likewise.
46704         * iconvdata/utf-32.c (gconv_end): Likewise.
46705         * iconvdata/utf-7.c (base64): Likewise.
46706         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46707         * iconv/gconv_close.c (__gconv_close): Likewise.
46708         * iconv/gconv_open.c (__gconv_open): Likewise.
46709         * iconv/gconv_simple.c (internal_ucs4_loop_single)
46710         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46711         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46712         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46713         (ucs4le_internal_loop_single): Likewise.
46714         * iconv/iconv.c (iconv): Likewise.
46715         * iconv/iconv_close.c: Likewise.
46716         * iconv/loop.c (SINGLE): Likewise.
46717         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46718         * include/atomic.h: Likewise.
46719         * inet/inet6_option.c (option_alloc): Likewise.
46720         * intl/bindtextdom.c (set_binding_values): Likewise.
46721         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46722         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46723         * intl/localealias.c (read_alias_file): Likewise.
46724         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46725         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46726         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46727         * libio/fmemopen.c (fmemopen): Likewise.
46728         * libio/iofgets.c (_IO_fgets): Likewise.
46729         * libio/iofgets_u.c (fgets_unlocked): Likewise.
46730         * libio/iofgetws.c (fgetws): Likewise.
46731         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46732         * libio/iogetdelim.c (_IO_getdelim): Likewise.
46733         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46734         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46735         * locale/findlocale.c (_nl_find_locale): Likewise.
46736         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46737         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46738         Likewise.
46739         * locale/setlocale.c (setlocale): Likewise.
46740         * login/programs/pt_chown.c (main): Likewise.
46741         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46742         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46743         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46744         (mmap, mmap64, mremap, munmap): Likewise.
46745         * math/e_exp2l.c: Likewise.
46746         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46747         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46748         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46749         * math/s_catan.c (__catan): Likewise.
46750         * math/s_catanf.c (__catanf): Likewise.
46751         * math/s_catanh.c (__catanh): Likewise.
46752         * math/s_catanhf.c (__catanhf): Likewise.
46753         * math/s_catanhl.c (__catanhl): Likewise.
46754         * math/s_catanl.c (__catanl): Likewise.
46755         * math/s_ccosh.c (__ccosh): Likewise.
46756         * math/s_ccoshf.c (__ccoshf): Likewise.
46757         * math/s_ccoshl.c (__ccoshl): Likewise.
46758         * math/s_cexp.c (__cexp): Likewise.
46759         * math/s_cexpf.c (__cexpf): Likewise.
46760         * math/s_cexpl.c (__cexpl): Likewise.
46761         * math/s_clog10.c (__clog10): Likewise.
46762         * math/s_clog10f.c (__clog10f): Likewise.
46763         * math/s_clog10l.c (__clog10l): Likewise.
46764         * math/s_clog.c (__clog): Likewise.
46765         * math/s_clogf.c (__clogf): Likewise.
46766         * math/s_clogl.c (__clogl): Likewise.
46767         * math/s_csin.c (__csin): Likewise.
46768         * math/s_csinf.c (__csinf): Likewise.
46769         * math/s_csinh.c (__csinh): Likewise.
46770         * math/s_csinhf.c (__csinhf): Likewise.
46771         * math/s_csinhl.c (__csinhl): Likewise.
46772         * math/s_csinl.c (__csinl): Likewise.
46773         * math/s_csqrt.c (__csqrt): Likewise.
46774         * math/s_csqrtf.c (__csqrtf): Likewise.
46775         * math/s_csqrtl.c (__csqrtl): Likewise.
46776         * math/s_ctan.c (__ctan): Likewise.
46777         * math/s_ctanf.c (__ctanf): Likewise.
46778         * math/s_ctanh.c (__ctanh): Likewise.
46779         * math/s_ctanhf.c (__ctanhf): Likewise.
46780         * math/s_ctanhl.c (__ctanhl): Likewise.
46781         * math/s_ctanl.c (__ctanl): Likewise.
46782         * math/w_pow.c: Likewise.
46783         * math/w_powf.c: Likewise.
46784         * math/w_powl.c: Likewise.
46785         * math/w_scalb.c (sysv_scalb): Likewise.
46786         * math/w_scalbf.c (sysv_scalbf): Likewise.
46787         * math/w_scalbl.c (sysv_scalbl): Likewise.
46788         * misc/error.c (error_tail): Likewise.
46789         * misc/pselect.c (__pselect): Likewise.
46790         * nis/nis_callback.c (__nis_create_callback): Likewise.
46791         * nis/nis_call.c (__nisfind_server): Likewise.
46792         * nis/nis_creategroup.c (nis_creategroup): Likewise.
46793         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46794         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46795         * nis/nis_getservlist.c (nis_getservlist): Likewise.
46796         * nis/nis_lookup.c (nis_lookup): Likewise.
46797         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46798         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46799         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46800         * nis/nis_xdr.c (xdr_endpoint): Likewise.
46801         * nis/nss_compat/compat-grp.c (getgrent_next_file)
46802         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46803         * nis/nss_compat/compat-initgroups.c (add_group)
46804         (internal_getgrent_r): Likewise.
46805         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46806         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46807         * nis/nss_compat/compat-spwd.c (getspent_next_file)
46808         (internal_getspnam_r): Likewise.
46809         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46810         (_nss_nis_getaliasbyname_r): Likewise.
46811         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46812         (_nss_nis_getntohost_r): Likewise.
46813         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46814         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46815         (_nss_nis_getgrgid_r): Likewise.
46816         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46817         (internal_nis_gethostent_r, internal_gethostbyname2_r)
46818         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46819         (_nss_nis_gethostbyname4_r): Likewise.
46820         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46821         (initgroups_netid): Likewise.
46822         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46823         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46824         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46825         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46826         (_nss_nis_getprotobynumber_r): Likewise.
46827         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46828         (_nss_nis_getsecretkey): Likewise.
46829         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46830         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46831         (_nss_nis_getpwuid_r): Likewise.
46832         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46833         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46834         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46835         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46836         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46837         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46838         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46839         Likewise.
46840         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46841         (_nss_nisplus_getntohost_r): Likewise.
46842         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46843         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46844         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46845         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46846         Likewise.
46847         * nis/nss_nisplus/nisplus-initgroups.c
46848         (_nss_nisplus_initgroups_dyn): Likewise.
46849         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46850         (_nss_nisplus_getnetbyaddr_r): Likewise.
46851         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46852         (_nss_nisplus_getprotobynumber_r): Likewise.
46853         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46854         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46855         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46856         Likewise.
46857         * nis/nss_nisplus/nisplus-service.c
46858         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46859         (_nss_nisplus_getservbyport_r): Likewise.
46860         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46861         (_nss_nisplus_getspnam_r): Likewise.
46862         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46863         Likewise.
46864         * nscd/aicache.c (addhstaiX): Likewise.
46865         * nscd/cache.c (cache_search, prune_cache): Likewise.
46866         * nscd/connections.c (register_traced_file, send_ro_fd)
46867         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46868         (main_loop_epoll): Likewise.
46869         * nscd/grpcache.c (addgrbyX): Likewise.
46870         * nscd/hstcache.c (addhstbyX): Likewise.
46871         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46872         * nscd/mem.c (gc, mempool_alloc): Likewise.
46873         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46874         (addinnetgrX): Likewise.
46875         * nscd/nscd-client.h (__nscd_acquire_maplock)
46876         (__nscd_drop_map_ref): Likewise.
46877         * nscd/nscd_getai.c (__nscd_getai): Likewise.
46878         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46879         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46880         Likewise.
46881         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46882         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46883         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46884         (__nscd_get_map_ref): Likewise.
46885         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46886         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46887         Likewise.
46888         * nscd/pwdcache.c (addpwbyX): Likewise.
46889         * nscd/selinux.c (preserve_capabilities): Likewise.
46890         * nscd/servicescache.c (addservbyX): Likewise.
46891         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46892         * posix/fnmatch.c (fnmatch): Likewise.
46893         * posix/getopt.c (_getopt_internal_r): Likewise.
46894         * posix/glob.c (glob, glob_in_dir): Likewise.
46895         * posix/wordexp.c (exec_comm_child): Likewise.
46896         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46897         (getanswer_r, gaih_getanswer_slice): Likewise.
46898         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46899         * resolv/res_init.c: Likewise.
46900         * resolv/res_mkquery.c (res_nmkquery): Likewise.
46901         * resolv/res_query.c (__libc_res_nquery): Likewise.
46902         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46903         Likewise.
46904         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46905         * stdio-common/perror.c (perror): Likewise.
46906         * stdio-common/printf_fp.c (___printf_fp): Likewise.
46907         * stdio-common/tmpnam.c (tmpnam): Likewise.
46908         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46909         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46910         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46911         Likewise.
46912         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46913         * stdlib/putenv.c (putenv): Likewise.
46914         * stdlib/setenv.c (__add_to_environ): Likewise.
46915         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46916         * stdlib/strtol_l.c (INTERNAL): Likewise.
46917         * string/memmem.c (memmem): Likewise.
46918         * string/strerror.c (strerror): Likewise.
46919         * string/strnlen.c (__strnlen): Likewise.
46920         * string/test-memmem.c (simple_memmem): Likewise.
46921         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46922         * sunrpc/pm_getport.c (__get_socket): Likewise.
46923         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46924         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46925         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46926         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46927         Likewise.
46928         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46929         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46930         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46931         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46932         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46933         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46934         Likewise.
46935         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46936         Likewise.
46937         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46938         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46939         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46940         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46941         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46942         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46943         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46944         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46945         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46946         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46947         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46948         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46949         Likewise.
46950         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46951         Likewise.
46952         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46953         Likewise.
46954         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46955         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46956         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46957         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46958         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46959         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46960         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46961         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46962         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46963         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46964         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46965         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46966         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46967         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46968         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46969         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46970         Likewise.
46971         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46972         Likewise.
46973         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46974         Likewise.
46975         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46976         Likewise.
46977         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46978         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46979         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46980         Likewise.
46981         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46982         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46983         * sysdeps/posix/opendir.c (__opendirat): Likewise.
46984         * sysdeps/posix/sleep.c: Likewise.
46985         * sysdeps/posix/tempname.c: Likewise.
46986         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46987         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46988         Likewise.
46989         * sysdeps/powerpc/powerpc32/dl-machine.h
46990         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46991         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46992         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46993         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46994         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46995         Likewise.
46996         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46997         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46998         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46999         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
47000         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47001         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
47002         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
47003         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
47004         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47005         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
47006         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
47007         (elf_machine_lazy_rel): Likewise.
47008         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47009         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
47010         (elf_machine_lazy_rel): Likewise.
47011         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
47012         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
47013         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
47014         * sysdeps/unix/grantpt.c (grantpt): Likewise.
47015         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
47016         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
47017         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
47018         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47019         Likewise.
47020         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
47021         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
47022         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
47023         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
47024         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47025         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47026         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47027         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47028         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47029         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47030         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47031         Likewise.
47032         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47033         (__posix_fallocate64_l64): Likewise.
47034         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47035         (posix_fallocate): Likewise.
47036         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47037         Likewise.
47038         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47039         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47040         (getifaddrs_internal): Likewise.
47041         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47042         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47043         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47044         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47045         * sysdeps/unix/sysv/linux/posix_fallocate64.c
47046         (__posix_fallocate64_l64): Likewise.
47047         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47048         Likewise.
47049         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47050         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47051         (__get_clockfreq): Likewise.
47052         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47053         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47054         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47055         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47056         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47057         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47058         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47059         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47060         Likewise.
47061         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47062         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47063         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47064         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47065         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47066         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47067         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47068         Likewise.
47069         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47070         (posix_fallocate): Likewise.
47071         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47072         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47073         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47074         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47075         (elf_machine_rela, elf_machine_rela_relative)
47076         (elf_machine_lazy_rel): Likewise.
47077         * time/asctime.c (asctime_internal): Likewise.
47078         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47079         * time/tzset.c (__tzset_parse_tz): Likewise.
47080         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47081         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47082         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47083         * wcsmbs/wcsmbsload.h: Likewise.
47085         [BZ #15894]
47086         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47088         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47089         (arena_get2): Remove THREAD_STATS conditionals.
47090         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47091         (__malloc_stats, int): Likewise.
47093 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
47095         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47096         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
47098         * manual/setjmp.texi: Fix typos/grammar errors.
47100         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47101         Only return early when n is <= 0.  Delete unused return statement.
47103         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47104         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47105         * debug/tst-longjmp_chk3.c: New file.
47107         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47108         (test_main): Replace code with set_fortify_handler call.
47109         * debug/test-strcpy_chk.c: Likewise.
47110         * debug/tst-chk1.c: Likewise.
47111         * debug/tst-longjmp_chk.c: Likewise.
47112         * test-skeleton.c: Include fcntl.h & paths.h
47113         (set_fortify_handler): Define.
47115         * debug/tst-longjmp_chk.c: Add header comment and include
47116         ../test-skeleton.c.
47117         (do_test): Mark static.
47118         (TEST_FUNCTION): Define.
47120         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47121         (IP_PMTUDISC_INTERFACE): Likewise.
47122         (IP_MULTICAST_IF): Likewise.
47123         (IP_MULTICAST_TTL): Likewise.
47124         (IP_MULTICAST_LOOP): Likewise.
47125         (IP_ADD_MEMBERSHIP): Likewise.
47126         (IP_DROP_MEMBERSHIP): Likewise.
47127         (IP_UNBLOCK_SOURCE): Likewise.
47128         (IP_BLOCK_SOURCE): Likewise.
47129         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47130         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47131         (IP_MSFILTER): Likewise.
47132         (MCAST_JOIN_GROUP): Likewise.
47133         (MCAST_BLOCK_SOURCE): Likewise.
47134         (MCAST_UNBLOCK_SOURCE): Likewise.
47135         (MCAST_LEAVE_GROUP): Likewise.
47136         (MCAST_JOIN_SOURCE_GROUP): Likewise.
47137         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47138         (MCAST_MSFILTER): Likewise.
47139         (IP_MULTICAST_ALL): Likewise.
47140         (IP_UNICAST_IF): Likewise.
47142         * timezone/Makefile: Delete $(have-ksh) check.
47143         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47144         * timezone/tzselect.ksh: Add +x mode bits.
47146         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47147         (ANON_INODE_FS_MAGIC): Likewise.
47148         (BDEVFS_MAGIC): Likewise.
47149         (BINFMTFS_MAGIC): Likewise.
47150         (BTRFS_TEST_MAGIC): Likewise.
47151         (CRAMFS_MAGIC_WEND): Likewise.
47152         (DEBUGFS_MAGIC): Likewise.
47153         (ECRYPTFS_SUPER_MAGIC): Likewise.
47154         (EXT3_SUPER_MAGIC): Likewise.
47155         (EXT4_SUPER_MAGIC): Likewise.
47156         (FUTEXFS_SUPER_MAGIC): Likewise.
47157         (HOSTFS_SUPER_MAGIC): Likewise.
47158         (HUGETLBFS_MAGIC): Likewise.
47159         (MINIX3_SUPER_MAGIC): Likewise.
47160         (MTD_INODE_FS_MAGIC): Likewise.
47161         (NILFS_SUPER_MAGIC): Likewise.
47162         (OPENPROM_SUPER_MAGIC): Likewise.
47163         (PIPEFS_MAGIC): Likewise.
47164         (PSTOREFS_MAGIC): Likewise.
47165         (QNX6_SUPER_MAGIC): Likewise.
47166         (RAMFS_MAGIC): Likewise.
47167         (REISERFS_SUPER_MAGIC_STRING): Likewise.
47168         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47169         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47170         (SECURITYFS_MAGIC): Likewise.
47171         (SELINUX_MAGIC): Likewise.
47172         (SMACK_MAGIC): Likewise.
47173         (SOCKFS_MAGIC): Likewise.
47174         (SQUASHFS_MAGIC): Likewise.
47175         (STACK_END_MAGIC): Likewise.
47176         (TMPFS_MAGIC): Likewise.
47177         (USBDEVICE_SUPER_MAGIC): Likewise.
47178         (V9FS_MAGIC): Likewise.
47179         (XENFS_SUPER_MAGIC): Likewise.
47180         (CRAMFS_MAGIC): Fix typo in comment.
47181         (EXT2_SUPER_MAGIC): Update comment.
47182         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47184 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
47186         * sysdeps/arm: Move directory from ports/sysdeps/arm.
47187         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47188         * sysdeps/unix/sysv/linux/arm: Move directory from
47189         ports/sysdeps/unix/sysv/linux/arm.
47190         * README: Update listing for arm-*-linux-gnueabi.
47192         * README: Remove mention of am33.
47194 2014-02-07  Roland McGrath  <roland@hack.frob.com>
47196         * bits/sigset.h (__sigemptyset): Use a statement expression rather
47197         than the comma operator, to avoid "rhs of comma has no effect"
47198         compiler warnings.
47199         (__sigfillset, __sigandset, __sigorset): Likewise.
47200         * include/signal.h (__sigemptyset): Likewise.
47201         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47203 2014-02-07  Allan McRae  <allan@archlinux.org>
47205         * version.h (RELEASE): Set to "development".
47206         (VERSION): Set to "2.19.90"
47207         * NEWS: Add 2.20 section.
47209 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
47211         [BZ #16529]
47212         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47214 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47216         * manual/contrib.texi: Update entry for Carlos O'Donell,
47217         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47219 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
47221         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47223         * sysdeps/unix/sysv/linux/kernel-features.h
47224         [__LINUX_KERNEL_VERSION >= 0x020621]
47225         (__ASSUME_PROC_PID_TASK_COMM): Define.
47227 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47229         [BZ #16398]
47230         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47231         conversion when destination buffer does not have enough space.
47232         * libio/tst-ftell-partial-wide.c: New test case.
47233         * libio/Makefile (tests): Add tst-ftell-partial-wide.
47235         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47236         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
47237         Leonard and Allan McRae.
47239 2014-02-04  David S. Miller  <davem@davemloft.net>
47241         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47242         32-bit.
47244 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47247         New file
47248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47249         New file
47250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47251         New file.
47252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47253         New file.
47254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47255         New file.
47256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47257         New file.
47258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47259         New file.
47260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47261         New file.
47262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47263         New file.
47264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47265         New file.
47266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47267         New file.
47268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47269         New file.
47270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47271         New file.
47273 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47275         * nptl/shlib-versions: Change powerpc*le start to 2.17.
47276         * shlib-versions: Likewise.
47278 2014-02-04  Roland McGrath  <roland@hack.frob.com>
47279             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47281         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47282         (abilist-pattern): New variable, set to %-le.abilist.
47284         * Makerules (abilist-pattern): New variable.
47285         (vpath): Use $(abilist-pattern) in place of %.abilist.
47286         (check-abi-% pattern rule): Likewise.
47287         (check-abi, update-abi): Likewise.
47289 2014-02-04  Eric Wong  <normalperson@yhbt.net>
47291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47293 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
47295         * manual/startup.texi: Add next, previous, and top entries for
47296         the `Program Arguments' and `Environment Variables' nodes.
47298 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
47300         * manual/macros.texi: Add comments before MTASC-safety macros.
47302         * manual/users.texi: Document MTASC-safety properties.
47304         * manual/threads.texi (pthread_key_create, pthread_key_delete)
47305         (pthread_getspecific, pthread_setspecific): Format with
47306         @deftypefun, and add @safety note.
47307         * manual/signal.texi: Move comments that analyze the above
47308         functions to their home place.
47310 2014-02-03  Allan McRae  <allan@archlinux.org>
47312         * po/sl.po: Update Slovenian translation from translation project.
47314 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
47316         * manual/time.texi (timegm): Add missing blank after @c.
47317         Reported by Joseph Myers <joseph@codesourcery.com>.
47319 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
47321         * manual/check-safety.sh: New.
47322         * manual/Makefile ($(objpfx)stamp-summary): Run it.
47324         * manual/terminal.texi: Document MTASC-safety properties.
47326         * manual/filesys.texi: Document MTASC-safety properties.
47328         * manual/errno.texi: Document MTASC-safety properties.
47330         * manual/intro.texi: Document safety identifiers and
47331         conditionals.
47333         * manual/string.texi (wcstok): Fix prototype.
47334         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47336         * manual/time.texi: Document MTASC-safety properties.
47338         * manual/string.texi: Document MTASC-safety properties.
47340         * manual/threads.texi: Document MTASC-safety properties.
47342         * manual/stdio.texi: Document MTASC-safety properties.
47344         * manual/syslog.texi: Document MTASC-safety properties.
47346         * manual/sysinfo.texi: Document MTASC-safety properties.
47348         * manual/startup.texi: Document MTASC-safety properties.
47350         * manual/socket.texi: Document MTASC-safety properties.
47352         * manual/signal.texi: Document MTASC-safety properties.
47354 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
47356         * manual/setjmp.texi: Document MTASC-safety properties.
47358         * manual/search.texi: Document MTASC-safety properties.
47360         * manual/resource.texi: Document MTASC-safety properties.
47362         * manual/process.texi: Document MTASC-safety properties.
47364         * manual/platform.texi: Document MTASC-safety properties.
47366         * manual/pipe.texi: Document MTASC-safety properties.
47368         * manual/pattern.texi: Document MTASC-safety properties.
47370         * manual/message.texi: Document MTASC-safety properties.
47372         [BZ #12751]
47373         * manual/memory.texi: Document MTASC-safety properties.
47375         * manual/math.texi: Document MTASC-safety properties.
47377         * manual/locale.texi: Document MTASC-safety properties.
47379         * manual/llio.texi: Document MTASC-safety properties.
47381         * manual/libdl.texi: New.
47383         * manual/lang.texi: Document MTASC-safety properties.
47385         * manual/job.texi: Document MTASC-safety properties.
47387         * manual/getopt.texi: Document MTASC-safety properties.
47389         * manual/ctype.texi: Document MTASC-safety properties.
47391 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
47393         [BZ #16046]
47394         * csu/libc-tls.c (static_map): Remove variable.
47395         (__libc_setup_tls): Use main executable's link map for TLS data.
47396         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47397         casing for LM_ID_BASE and GL(dl_nns).
47398         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47399         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
47400         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47401         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47402         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47403         member.
47404         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47405         l_phnum members.
47407 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
47409         * manual/debug.texi: Document MTASC-safety properties.
47411 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
47413         [BZ #16510]
47414         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47415         of __x86_64__ when disabling x87 inline functions.
47417 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
47419         * manual/charset.texi: Document MTASC-safety properties.
47421         * manual/crypt.texi: Document MTASC-safety properties.
47423         * manual/conf.texi: Document MTASC-safety properties.
47425         * manual/arith.texi: Document MTASC-safety properties.
47427         * manual/argp.texi: Document MTASC-safety properties.
47429         * manual/macros.texi: Introduce macros to document multi
47430         thread, asynchronous signal and asynchronous cancellation
47431         safety properties.
47432         * manual/intro.texi: Introduce the properties themselves.
47434 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47436         * sysdeps/sh/sh4/Makefile: New file.
47438 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
47440         * math/gen-libm-test.pl ($srcdir): New variable.
47441         ($auto_input): Use it.
47443 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47445         [BZ #16506]
47446         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47447         access beyond array bounds when parsing netgroups file.
47449         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47450         the old buffer before realloc.
47452 2014-01-27  Allan McRae  <allan@archlinux.org>
47454         * po/fr.po: Update French translation from translation project.
47456 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47458         * sysdeps/sh/libm-test-ulps: Regenerate.
47460 2014-01-24  David S. Miller  <davem@davemloft.net>
47462         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47464 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47466         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47467         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47469 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47471         [BZ #16474]
47472         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47473         string pointers after reallocation.
47475 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47477         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47478         __SH4A__ instead of __SH_FPU_ANY__.
47480 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47482         * sysdeps/sh/fpu_control.h: New file.
47483         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47484         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47485         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47486         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47487         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47488         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47489         * sysdeps/sh/sys/ucontext.h: Remove.
47490         * sysdeps/sh/sys: Remove directory.
47492 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47494         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47495         s390/sys/ucontext.h.
47496         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47497         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47499 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
47501         [BZ #15605]
47502         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47504 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47506         [BZ#16431]
47507         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47508         Adjust the vDSO correctly for internal calls.
47509         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47511 2014-01-20  Allan McRae  <allan@archlinux.org>
47513         * po/ca.po: Update Catalan translation from translation project.
47515 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
47517         * sysdeps/s390/sotruss-lib.c: New file.
47519 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47521         [BZ#16430]
47522         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47523         (__GI___gettimeofday): Alias for a different internal symbol to avoid
47524         local calls issues by not having a PLT stub required for IFUNC calls.
47525         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47527 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
47529         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47530         * math/test-fpucw-static.c: Likewise.
47532 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47534         [BZ #16453]
47535         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47537 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47539         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47540         implementation for powerpc.
47542 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
47544         [BZ #14782]
47545         * sysdeps/posix/system.c (__libc_system): Do not enable
47546         asynchronous cancellation.
47548 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47550         [BZ #16427]
47551         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
47552         handling only for numbers special also in the IEEE case.
47554 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47556         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47558 2014-01-11  Allan McRae  <allan@archlinux.org>
47560         * po/bg.po: Update Bulgarian translation from translation project.
47562         * po/de.po: Update German translation from translation project.
47564 2014-01-10  Roland McGrath  <roland@hack.frob.com>
47566         * sysdeps/generic/gcc-compat.h: New file.
47568 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47570         * benchtests/asin-inputs: Correct slow inputs.
47571         * benchtests/acos-inputs: Likewise.
47573 2014-01-10  Allan McRae  <allan@archlinux.org>
47575         * po:sv.po: Update Swedish translation from translation project.
47577         * po/vi.po: Update Vietnamese translation from translation project.
47579         * po/eo.po: Update Esperanto translation from translation project.
47581         * po/cs.po: Update Czech translation from translation project.
47583         * po/nl.po: Update Dutch translation from translation project.
47585         * po/pl.po: Update Polish translation from translation project.
47587         * po/ru.po: Update Russian translation from translation project.
47589         * po/uk.po: Update Ukrainian translation from translation project.
47591 2014-01-08  Brooks Moses  <bmoses@google.com>
47593         * elf/dl-load.c: Fix comment typo.
47595 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
47597         * po/header.pot: Rename to...
47598         * po/pot.header: ... this.
47599         * po/Makefile: Use pot.header.
47601 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
47602             Maxim Kuvyrkov  <maxim@kugelworks.com>
47604         [BZ #16394]
47605         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47606         SRC and DEST against LEN.
47608 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47610         [BZ #16414]
47611         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47612         implementation.
47613         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47615 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47619 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
47621         [BZ #16408]
47622         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47623         for large positive arguments.
47625 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
47627         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47629         * math/auto-libm-test-in: Mark various tests with
47630         xfail-rounding:ldbl-128ibm.
47631         * math/auto-libm-test-out: Regenerated.
47633         [BZ #16407]
47634         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47635         Increase overflow threshold.
47637 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
47639         [BZ #14286]
47640         * stdio-common/vfprintf.c: Check for integer overflow.
47642 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47644         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47645         the first argument and return value of __tls_get_addr_internal.
47647 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47649         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47650         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47652 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47654         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47655         * sysdeps/s390/rtld-global-offsets.sym: New file.
47656         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47657         GLIBC_2.19 symbol.
47658         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47659         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47660         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47661         ... this.
47662         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47663         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47664         ... this.
47665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47666         Regenerate.
47667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47668         Regenerate.
47669         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47670         halfs of GPRs for high_gprs contexts.
47671         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47672         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
47673         field.
47674         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47675         uc_flags field.
47676         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47677         64 bit versions:
47678         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47679         for high GPRs (uc_high_gprs) and for future extensions
47680         (__reserved).
47681         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47682         for future extensions (__reserved).
47683         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47684         64 bit versions:
47685         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47686         SC_HIGHGPRS offset definition.
47687         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47688         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47690         * Versions.def: Add GLIBC_2.19 for libpthread.
47691         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47692         siglongjmp for libpthread with GLIBC_2.19 symver.
47693         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47694         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47695         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47696         * sysdeps/s390/__longjmp.c: New file.
47697         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47698         * sysdeps/s390/longjmp.c: New file.
47699         * sysdeps/s390/setjmp.S: New file.
47700         * sysdeps/s390/sigjmp.S: New file.
47701         * sysdeps/s390/v1-longjmp.c: New file.
47702         * sysdeps/s390/v1-setjmp.h: New file.
47703         * sysdeps/s390/v1-sigjmp.c: New file.
47704         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47705         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47706         GLIBC_2.19 version.
47707         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47708         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47709         versioned symbols for ____longjmp_chk.
47710         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47711         Likewise.
47712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47713         Regenerate.
47714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47715         Regenerate.
47716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47717         Regenerate.
47718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47719         Regenerate.
47720         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47721         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47722         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47723         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47724         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47725         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47726         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47727         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47728         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47729         * sysdeps/s390/rtld-__longjmp.c: New file.
47730         * sysdeps/s390/rtld-setjmp.S: New file.
47732 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
47734         [BZ #16400]
47735         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47736         Return -__logl (x) for small positive arguments without evaluating
47737         a polynomial.
47739 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
47741         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47742         Rename to ...
47743         (__ptrace_peeksiginfo_args): ... this.
47744         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47745         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47746         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47748 2014-01-06  Allan McRae  <allan@archlinux.org>
47750         * inet/netinet/in.h: Fix typo in comment.
47752 2014-01-05  Andreas Jaeger  <aj@suse.de>
47754         * sysdeps/i386/fpu/libm-test-ulps: Update.
47756 2014-01-05  Allan McRae  <allan@archlinux.org>
47758         * po/libc.pot: Regenerated.
47760         * malloc/memusagestat.c: Fix gettext call formatting.
47762 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
47764         * nscd/nscd.c: Improve usage() output.
47766 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
47768         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47769         * sysdeps/unix/sysv/linux/configure: Regenerated.
47770         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47771         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47773 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47775         [BZ #16390]
47776         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47777         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47779 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47781         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47782         extra tokens at end of #undef directive.
47783         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47784         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47785         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47787 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47789         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47791         * math/auto-libm-test-in: Mark various tests with
47792         xfail-rounding:ldbl-128ibm.
47793         * math/auto-libm-test-out: Regenerated.
47795 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
47797         [BZ #16386]
47798         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47799         numbers with subnormal high part when calculating exponent.
47801         [BZ #16385]
47802         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47803         fabs.
47805         [BZ #16384]
47806         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47807         M_LN2l.
47808         (__ieee754_acoshl): Use __log1pl not __log1p.
47810 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
47812         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47813         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47814         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47815         (grow_heap, heap_trim, _int_new_arena, get_free_list)
47816         (reused_arena, arena_get2): Convert to GNU style.
47817         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47818         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47819         (memalign_check, __malloc_set_state): Likewise.
47820         * malloc/mallocbug.c (main): Likewise.
47821         * malloc/malloc.c (__malloc_assert, malloc_init_state)
47822         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47823         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47824         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47825         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47826         (__posix_memalign, malloc_info): Likewise.
47827         * malloc/malloc.h: Likewise.
47828         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47829         (mallochook, memalignhook, reallochook, mabort): Likewise.
47830         * malloc/mcheck.h: Likewise.
47831         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47832         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47833         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47834         * malloc/morecore.c (__default_morecore): Likewise.
47835         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47836         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47837         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47838         (print_and_abort): Likewise.
47839         * malloc/obstack.h: Likewise.
47840         * malloc/set-freeres.c (__libc_freeres): Likewise.
47841         * malloc/tst-mallocstate.c (main): Likewise.
47842         * malloc/tst-mtrace.c (main): Likewise.
47843         * malloc/tst-realloc.c (do_test): Likewise.
47845 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47847         [BZ #16366]
47848         * nscd/netgroupcache.c (do_notfound): New function.
47849         (addgetnetgrentX): Use it.
47851         [BZ # 16365]
47852         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47853         NSS_STATUS_NOTFOUND.
47855 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
47857         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47860 2014-01-01  Allan McRae  <allan@archlinux.org>
47862         * scripts/update-copyrights: Update configure input file suffix.
47864         * NEWS: Update copyright year.
47865         * catgets/gencat.c: Likewise.
47866         * csu/version.c: Likewise.
47867         * debug/catchsegv.sh: Likewise.
47868         * debug/pcprofiledump.c: Likewise.
47869         * debug/xtrace.sh: Likewise.
47870         * elf/ldconfig.c: Likewise.
47871         * elf/ldd.bash.in: Likewise.
47872         * elf/pldd.c: Likewise.
47873         * elf/sotruss.ksh: Likewise.
47874         * elf/sprof.c: Likewise.
47875         * iconv/iconv_prog.c: Likewise.
47876         * iconv/iconvconfig.c: Likewise.
47877         * locale/programs/locale.c: Likewise.
47878         * locale/programs/localedef.c: Likewise.
47879         * login/programs/pt_chown.c: Likewise.
47880         * malloc/memusage.sh: Likewise.
47881         * malloc/memusagestat.c: Likewise.
47882         * malloc/mtrace.pl: Likewise.
47883         * manual/libc.texinfo: Likewise.
47884         * nscd/nscd.c: Likewise.
47885         * nss/getent.c: Likewise.
47886         * nss/makedb.c: Likewise.
47887         * posix/getconf.c: Likewise.
47888         * scripts/test-installation.pl: Likewise.
47890         * All files with FSF copyright notices: Update copyright dates
47891         using scripts/update-copyrights.
47892         * intl/plural.c: Regenerated.
47893         * locale/programs/charmap-kw.h: Likewise.
47894         * locale/programs/locfile-kw.h: Likewise.
47896 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
47898         * sysdeps/unix/sysv/linux/configure: Regenerated.
47899         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47900         the linux/fanotify.h header.
47901         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47902         HAVE_LINUX_FANOTIFY_H is defined.
47904 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47906         * benchtests/cos-inputs: New inputs.
47907         * benchtests/sin-inputs: Likewise.
47909         * benchtests/atan-inputs: New inputs. Fix name of multiple
47910         precision fallback inputs.
47912         * benchtests/atanh-inputs: New inputs.
47913         * benchtests/tanh-inputs: Likewise.
47915         * benchtests/acosh-inputs: New inputs.
47916         * benchtests/asinh-inputs: Likewise.
47918         * benchtests/cosh-inputs: New inputs.
47919         * benchtests/sinh-inputs: Likewise.
47921         * benchtests/acos-inputs: Add more inputs.
47922         * benchtests/asin-inputs: Likewise.
47924 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
47926         [BZ #16375]
47927         * manual/arith.texi: Fix spelling.
47928         * manual/charset.texi: Likewise.
47929         * manual/errno.texi: Likewise.
47930         * manual/filesys.texi: Likewise.
47931         * manual/lang.texi: Likewise.
47932         * manual/llio.texi: Likewise.
47933         * manual/locale.texi: Likewise.
47934         * manual/message.texi: Likewise.
47935         * manual/resource.texi: Likewise.
47936         * manual/search.texi: Likewise.
47937         * manual/setjmp.texi: Likewise.
47938         * manual/stdio.texi: Likewise.
47939         * manual/string.texi: Likewise.
47940         * manual/sysinfo.texi: Likewise.
47941         * manual/time.texi: Likewise.
47943 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
47945         * po/sl.po: New file.
47947 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
47949         * .gitignore: Add core/.gdbinit/.gdb_history.
47951 2013-12-27  Allan McRae  <allan@archlinux.org>
47953         [BZ #16369]
47954         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47955         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47957 2013-12-24  Brooks Moses  <bmoses@google.com>
47959         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47960         all compilers that claim C++98 compliance, not just GCC.
47961         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47962         Likewise.
47964 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47966         * NEWS: Restore accidentally deleted bug-fix entries.
47968 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47969             Ondřej Bílka  <neleai@seznam.cz>
47971         [BZ #15073]
47972         * malloc/malloc.c (_int_free): Perform sanity check only if we
47973         have_lock.
47975 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
47977         [BZ #12986]
47978         * manual/stdio.texi (String Input Conversions): Clarify that character
47979         classes are not supported.
47981 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47985 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
47987         [BZ #16337]
47988         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47989         Calculate results for small negative arguments directly rather
47990         than using reflection formula with special underflow handling.
47992         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47993         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47994         sysdeps/unix/bsd/bsd4.4/syscalls.list.
47995         (fchflags): Likewise.
47996         (revoke): Likewise.
47997         (setlogin): Likewise.
47998         (sigaltstack): Likewise.
47999         (wait4): Likewise.
48000         (sigblock): Remove.
48001         (sigsetmask): Likewise.
48002         (wait3): Likewise.
48003         (waitpid): Likewise.
48004         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
48005         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
48006         file.
48007         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
48008         * sysdeps/unix/bsd/Makefile: ... here.
48009         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
48010         * sysdeps/unix/bsd/Versions: ... here.
48011         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
48012         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
48013         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
48014         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48015         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
48016         * sysdeps/unix/bsd/sigblock.c: ... here.
48017         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
48018         * sysdeps/unix/bsd/sigsetmask.c: ... here.
48019         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
48020         * sysdeps/unix/bsd/sigvec.c: ... here.
48021         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48022         * sysdeps/unix/bsd/tcdrain.c: ... here.
48023         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
48024         * sysdeps/unix/bsd/tcgetattr.c: ... here.
48025         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
48026         * sysdeps/unix/bsd/tcsetattr.c: ... here.
48027         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48028         * sysdeps/unix/bsd/wait.c: ... here.
48029         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48030         * sysdeps/unix/bsd/wait3.c: ... here.
48031         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48032         * sysdeps/unix/bsd/waitpid.c: ... here.
48034 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
48036         [BZ #16356]
48037         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48038         round-to-nearest for [!USE_AS_EXPM1L].
48039         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48040         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
48041         more tests of exp and exp10.  Expect some exp10 tests to miss
48042         exceptions or fail in directed rounding modes.
48043         * math/auto-libm-test-out: Regenerated.
48044         * math/libm-test.inc (exp10_tonearest_test_data): New array.
48045         (exp10_test_tonearest): New function.
48046         (exp10_towardzero_test_data): New array.
48047         (exp10_test_towardzero): New function.
48048         (exp10_downward_test_data): New array.
48049         (exp10_test_downward): New function.
48050         (exp10_upward_test_data): New array.
48051         (exp10_test_upward): New function.
48052         (main): Call the new functions.
48053         * sysdeps/i386/fpu/libm-test-ulps: Update.
48054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48056 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
48058         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48059         asinh, atan, atan2, atanh, cbrt, cos and cosh.
48060         * math/auto-libm-test-out: Regenerated.
48061         * math/libm-test.inc (acosh_test_data): Add more tests.
48062         (atanh_test_data): Likewise.
48063         (ceil_test_data): Likewise.
48064         (copysign_test_data): Likewise.
48065         * sysdeps/i386/fpu/libm-test-ulps: Update.
48066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48068         * timezone/checktab.awk: Update from tzcode 2013i.
48069         * timezone/private.h: Likewise.
48070         * timezone/scheck.c: Likewise.
48071         * timezone/tzfile.h: Likewise.
48072         * timezone/tzselect.ksh: Likewise.
48073         * timezone/zdump.c: Likewise.
48074         * timezone/zic.c: Likewise.
48076         * math/auto-libm-test-in: Add tests of cpow.
48077         * math/auto-libm-test-out: Regenerated.
48078         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48079         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48080         mpc_cc_c.
48081         (func_calc_desc): Add mpc_cc_c union field.
48082         (test_functions): Add cpow.
48083         (special_fill_2pi): New function.
48084         (special_real_inputs): Add 2pi.
48085         (calc_generic_results): Handle mpc_cc_c.
48086         * sysdeps/i386/fpu/libm-test-ulps: Update.
48087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48089         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48090         csqrt, ctan and ctanh.
48091         * math/auto-libm-test-out: Regenerated.
48092         * math/libm-test.inc (TEST_COND_x86_64): New macro.
48093         (TEST_COND_x86): Likewise.
48094         (ccos_test_data): Use AUTO_TESTS_c_c.
48095         (ccosh_test_data): Likewise.
48096         (cexp_test_data): Likewise.
48097         (clog_test_data): Likewise.
48098         (csqrt_test_data): Likewise.
48099         (ctan_test_data): Likewise.
48100         (ctan_tonearest_test_data): Likewise.
48101         (ctan_towardzero_test_data): Likewise.
48102         (ctan_downward_test_data): Likewise.
48103         (ctan_upward_test_data): Likewise.
48104         (ctanh_test_data): Likewise.
48105         (ctanh_tonearest_test_data): Likewise.
48106         (ctanh_towardzero_test_data): Likewise.
48107         (ctanh_downward_test_data): Likewise.
48108         (ctanh_upward_test_data): Likewise.
48109         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48110         mpc_c_c.
48111         (func_calc_desc): Add mpc_c_c union field.
48112         (FUNC_mpc_c_c): New macro.
48113         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48114         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48115         ctanh.
48116         (special_fill_min_subnorm_p120): New function.
48117         (special_real_inputs): Add min_subnorm_p120.
48118         (calc_generic_results): Handle mpc_c_c.
48119         * sysdeps/i386/fpu/libm-test-ulps: Update.
48120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48122 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48124         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48125         (do_sin_slow): New functions.
48126         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48127         (cslow2, csloww1, csloww2): Use the new functions.
48129         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48130         Use M to change sign of result instead of X.  Assume X is
48131         positive.
48132         (csloww1): Likewise.
48133         (__sin): Adjust.
48134         (__cos): Adjust.
48136         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48137         arguments A and DA.
48138         (__sin): Adjust.
48139         (__cos): Likewise.
48141         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48142         (__cos): Likewise.
48143         (sloww1): Don't adjust sign of DX.
48144         (csloww1): Likewise.
48145         (sloww2): Use X directly and don't adjust sign of DX.
48146         (csloww2): Likewise.
48148 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48150         * math/auto-libm-test-in: Add tests of cabs and carg.
48151         * math/auto-libm-test-out: Regenerated.
48152         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48153         (carg_test_data): Likewise.
48154         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48155         mpc_c_f.
48156         (func_calc_desc): Add mpc_c_f union field.
48157         (test_functions): Add cabs and carg.
48158         (calc_generic_results): Handle mpc_c_f.
48160         * sysdeps/powerpc/powerpc32/libgcc-compat.S
48161         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48162         as a macro and a compat symbol.
48163         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48164         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48165         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48166         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48167         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48168         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48169         not use .hidden.
48170         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48171         Likewise.
48172         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48173         Likewise.
48174         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48175         Likewise.
48176         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48177         Likewise.
48178         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48179         Likewise.
48180         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48181         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48182         from GLIBC_2.3.2.
48184 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48188 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48190         * manual/texinfo.tex: Update to version 2013-11-26.10 with
48191         trailing whitespace removed.
48192         * scripts/config.guess: Update to version 2013-11-29.
48193         * scripts/config.sub: Update to version 2013-10-01.
48195         * math/auto-libm-test-in: Add tests of sincos.
48196         * math/auto-libm-test-out: Regenerated.
48197         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48198         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48199         mpfr_f_11.
48200         (func_calc_desc): Add mpfr_f_11 union field.
48201         (test_functions): Add sincos.
48202         (calc_generic_results): Handle mpfr_f_11.
48203         * sysdeps/i386/fpu/libm-test-ulps: Update.
48204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48206 2013-12-19  Andreas Schwab  <schwab@suse.de>
48208         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48209         CALL_MCOUNT.
48210         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48211         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48212         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48214 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48216         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48217         * sysdeps/i386/fpu/libm-test-ulps: Update.
48218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48220         [BZ #16293]
48221         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48222         round-to-nearest mode when using frndint.
48223         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48224         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48225         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48226         Likewise.
48227         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
48228         sinh test to fail.
48229         * math/auto-libm-test-out: Regenerated.
48230         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48231         (TEST_COND_x86): Likewise.
48232         (expm1_tonearest_test_data): New array.
48233         (expm1_test_tonearest): New function.
48234         (expm1_towardzero_test_data): New array.
48235         (expm1_test_towardzero): New function.
48236         (expm1_downward_test_data): New array.
48237         (expm1_test_downward): New function.
48238         (expm1_upward_test_data): New array.
48239         (expm1_test_upward): New function.
48240         (main): Run the new test functions.
48241         * sysdeps/i386/fpu/libm-test-ulps: Update.
48242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48244         * include/features.h: Update comment documenting feature test
48245         macros.  Mention _DEFAULT_SOURCE in comment.
48246         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48247         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48248         _BSD_SOURCE and _SVID_SOURCE.
48249         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48250         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48251         !_SVID_SOURCE]: Likewise.
48252         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48253         (__USE_POSIX_IMPLICITLY): Define.
48254         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48255         (_POSIX_SOURCE): Undefine and redefine.
48256         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48257         (_POSIX_C_SOURCE): Likewise.
48258         * manual/creature.texi (_DEFAULT_SOURCE): Document.
48259         (Feature Test Macros): Update documentation of default features.
48261 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48263         * benchtests/Makefile: Add bench-strtok.
48264         * benchtests/bench-strtok.c: New file: strtok benchtest.
48266 2013-12-19  Allan McRae  <allan@archlinux.org>
48268         * manual/install.texi: Suppress menu for plain text output.
48269         * INSTALL: Regenerated.
48271 2013-12-18  Brooks Moses  <bmoses@google.com>
48273         [BZ #15846]
48274         * misc/getauxval.c: Include errno.h.
48275         (__getauxval): Set errno to ENOENT if the requested type is not
48276         found.
48277         * misc/sys/auxv.h (getauxval): Document that it may set errno;
48278         don't declare with __attribute_const__.
48279         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48280         * manual/startup.texi: Document that getauxval sets errno.
48282 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48284         * math/auto-libm-test-in: Add tests of jn and yn.
48285         * math/auto-libm-test-out: Regenerated.
48286         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48287         (yn_test_data): Likewise.
48288         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48289         mpfr_if_f.
48290         (func_calc_desc): Add mpfr_if_f union field.
48291         (FUNC_mpfr_if_f): New macro.
48292         (test_functions): Add jn and yn.
48293         (calc_generic_results): Assert type of second input for
48294         mpfr_ff_f.  Handle mpfr_if_f.
48295         (output_for_one_input_case): Disable all checking for arguments
48296         fitting floating-point types in case of an integer argument.
48297         * sysdeps/i386/fpu/libm-test-ulps: Update.
48298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48301         Don't expect fegetround reference in libm.so.
48303 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48305         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48306         $(config-cflags-nofma).
48308 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48310         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48311         * math/auto-libm-test-out: Regenerated.
48313         [BZ #16338]
48314         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48315         to determine exponent and adjust argument to have exponent of -1.
48316         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48317         log2.
48318         * math/auto-libm-test-out: Regenerated.
48319         * sysdeps/i386/fpu/libm-test-ulps: Update.
48320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48322 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
48324         * manual/probes.texi: Remove cases when per-thread arenas are
48325         disabled.
48327 2013-12-18  Andreas Schwab  <schwab@suse.de>
48329         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48330         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48331         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48332         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48333         * sysdeps/i386/i686/multiarch/Makefile: Update.
48334         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48336 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48338         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48339         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48341 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
48343         [BZ #15968]
48344         Support TZ transition times < 00:00:00.
48345         This is needed for version-3 tz-format files; it supports time
48346         stamps past 2037 for America/Godthab (the only entry in the tz
48347         database for which this change is relevant).
48348         * manual/time.texi (TZ Variable): Document transition times
48349         from -167:59:59 through -00:00:01.
48350         * time/tzset.c (tz_rule): Time of day is now signed.
48351         (__tzset_parse_tz): Parse negative time of day.
48353         Document TZ transition times >= 25:00:00.
48354         * manual/time.texi (TZ Variable): Document transition times from
48355         25:00:00 through 167:59:59.  These are already supported, and this
48356         support will help with version-3 tz-format files.
48358         * manual/time.texi (TZ Variable): Modernize North America example
48359         to reflect current (i.e., 2007-and-later) daylight saving rules.
48361         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48363 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48365         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48366         * sysdeps/unix/bsd/bits/stat.h: Likewise.
48367         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48368         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48369         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48370         * sysdeps/unix/bsd/bsdstat.h: Likewise.
48371         * sysdeps/unix/bsd/clock.c: Likewise.
48372         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48373         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48374         * sysdeps/unix/bsd/init-posix.c: Likewise.
48375         * sysdeps/unix/bsd/poll.c: Likewise.
48376         * sysdeps/unix/bsd/ptsname.c: Likewise.
48377         * sysdeps/unix/bsd/seekdir.c: Likewise.
48378         * sysdeps/unix/bsd/setegid.c: Likewise.
48379         * sysdeps/unix/bsd/seteuid.c: Likewise.
48380         * sysdeps/unix/bsd/setgid.c: Likewise.
48381         * sysdeps/unix/bsd/setrgid.c: Likewise.
48382         * sysdeps/unix/bsd/setruid.c: Likewise.
48383         * sysdeps/unix/bsd/setsid.c: Likewise.
48384         * sysdeps/unix/bsd/setuid.c: Likewise.
48385         * sysdeps/unix/bsd/sigaction.c: Likewise.
48386         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48387         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48388         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48389         * sysdeps/unix/bsd/telldir.c: Likewise.
48390         * sysdeps/unix/bsd/times.c: Likewise.
48391         * sysdeps/unix/bsd/usleep.c: Likewise.
48393         * misc/Makefile (install-lib): Remove libbsd-compat.a.
48394         ($(objpfx)libbsd-compat.a): Remove rule.
48396         * include/features.h (__FAVOR_BSD): Do not define.
48397         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48398         features conflicting with POSIX.
48399         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48400         (_BSD_SOURCE): Remove description of not being a subset of other
48401         feature test macros.
48402         * manual/job.texi (getpgrp): Do not document BSD version.
48403         (getpgid): Do not document by reference to BSD getpgrp.
48404         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48405         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48406         * signal/signal.h [__FAVOR_BSD]: Likewise.
48407         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48408         instead of making contents conditional on [__FAVOR_BSD].
48409         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48411 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48415 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48417         [BZ #16314]
48418         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48419         values below 2**-450, not 2**-500.
48420         * math/auto-libm-test-in: Don't allow spurious underflow from
48421         hypot.
48422         * math/auto-libm-test-out: Regenerated.
48424         [BZ #16316]
48425         [BZ #16330]
48426         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48427         values of ha and hb and sort them after adjusting subnormal
48428         arguments.
48429         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48430         Likewise.
48431         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48432         values of ea and eb and sort them after adjusting subnormal
48433         arguments.
48434         * math/auto-libm-test-in: Do not expect some hypot tests of
48435         subnormals to fail.  Add more hypot tests.
48436         * math/auto-libm-test-out: Regenerated.
48438 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48440         [BZ #13304]
48441         * sysdeps/sh/s_fma.c: New file.
48442         * sysdeps/sh/s_fmaf.c: New file.
48443         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
48444         version.
48445         * sysdeps/sh/Implies: Add sh/soft-fp.
48447 2013-12-16  Roland McGrath  <roland@hack.frob.com>
48449         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
48450         level of indirection to members `objname', `errstring', `malloced'.
48451         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48452         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
48453         it as the __longjmp argument (just pass 1 instead).
48454         (_dl_catch_error): Initialize C with argument pointers and address of
48455         volatile local ERRCODE rather than copying values out of C at return.
48457 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
48459         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48460         * math/auto-libm-test-out: Regenerated.
48461         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48462         (hypot_test_data): Likewise.
48463         (pow_test_data): Likewise.
48464         (pow_tonearest_test_data): Likewise.
48465         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48466         mpfr_ff_f.
48467         (func_calc_desc): Add mpfr_ff_f union field.
48468         (FUNC_mpfr_ff_f): New macro.
48469         (test_functions): Add atan2, hypot and pow.
48470         (special_fill_min): New function.
48471         (special_fill_minus_min): Likewise.
48472         (special_fill_min_subnorm): Likewise.
48473         (special_fill_minus_min_subnorm): Likewise.
48474         (special_real_inputs): Add min, -min, min_subnorm and
48475         -min_subnorm.
48476         (calc_generic_results): Handle mpfr_ff_f.
48477         * sysdeps/i386/fpu/libm-test-ulps: Update.
48478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48480 2013-12-16  Will Newton  <will.newton@linaro.org>
48482         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48483         (Aligned Memory Blocks): Add documentation for aligned_alloc
48484         and suggest it as an alternative to posix_memalign.
48485         (Hooks for Malloc): Document __memalign_hook is also called
48486         for aligned_alloc.  (Summary of Malloc): Add summary for
48487         aligned alloc.  Document __memalign_hook is also called
48488         for aligned_alloc.
48490 2013-12-16  Will Newton  <will.newton@linaro.org>
48492         * manual/memory.texi (Malloc Examples): Clarify default
48493         alignment documentation.  Suggest posix_memalign rather
48494         than memalign or valloc.
48495         (Aligned Memory Blocks): Remove suggestion to use memalign
48496         or valloc.  Remove obsolete comment about BSD.
48497         Document memalign errno values and mark the function obsolete.
48498         Document posix_memalign returned error codes.  Mark valloc
48499         as obsolete.  (Hooks for Malloc): __memalign_hook is also
48500         called for posix_memalign and valloc.
48501         (Summary of Malloc): Add posix_memalign to function summary.
48502         __memalign_hook is also called for posix_memalign and valloc.
48504 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48506         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48507         TAYLOR_SIN.
48508         (__sin): Adjust.
48509         (__cos): Likewise.
48510         (sloww): Use mynumber union.  Expand ternary operator into
48511         if-else statements.
48512         (cslow): use mynumber union.
48514 2013-12-16  Allan McRae  <allan@archlinux.org>
48516         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48517         * configure: Regenerated.
48519         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48521         [BZ #14120]
48522         * configure.ac: Added --enable-maintainer-mode. Check for
48523         autoconf when enabled.
48524         * configure: Regenerated.
48526         * nscd/nscd.service: New file.
48527         * nscd/nscd.tmpfiles: New file.
48529 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
48531         [BZ #12100]
48532         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48533         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48534         * sysdeps/x86_64/multiarch/strstr.c: ... here.
48535         (strstr): Add __strstr_sse2_unaligned ifunc.
48536         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48537         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48538         (strcasestr): Remove __strcasestr_sse42 ifunc.
48539         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48540         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48543 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48545         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
48546         * sysdeps/sh/bits/fenv.h: ... here.
48547         * sysdeps/sh/sh4/fpu/bits: Remove directory.
48549 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48551         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
48553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
48554         hypotf multiarch implementations.
48555         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
48556         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
48557         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
48558         multiarch hypot for PPC64.
48559         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
48560         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
48561         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
48562         multiarch hypotf for PPC64.
48564         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
48565         modff multiarch implementations.
48566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
48567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
48568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
48569         multiarch modf for PPC64.
48570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
48571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
48572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
48573         multiarch modff for PPC64.
48575         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
48576         and logl multiarch implementations.
48577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
48578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48580         multiarch logb for PPC64.
48581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48584         multiarch logb for PPC64.
48585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48588         multiarch logb for PPC64.
48590         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48591         isinff multiarch implementation.
48592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48593         file.
48594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48596         multiarch isinf for PPC64.
48597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48598         file.
48599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48600         multiarch isinff for PPC64.
48602         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48603         finitef multiarch implementation.
48604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48605         file.
48606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48608         multiarch finite for PPC64.
48609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48610         file.
48611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48612         multiarch finitef for PPC64.
48614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48615         lrint multiarch implementation.
48616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48617         file.
48618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48620         multiarch llrint for PPC64.
48621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48622         multiarch lrint for PPC64.
48624         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48625         copysignf multiarch implementation.
48626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48627         file.
48628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48629         file.
48630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48631         multiarch copysign for PPC64.
48632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48633         multiarch copysignf for PPC64.
48635         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48636         multiarch implementation.
48637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48638         file.
48639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48640         file.
48641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48642         file.
48643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48644         file.
48645         multiarch llround for PPC64.
48646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48647         multiarch trunc for PPC64.
48648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48649         multiarch truncf for PPC64.
48651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48652         multiarch implementation.
48653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48654         file.
48655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48656         file.
48657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48658         file.
48659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48660         file.
48661         multiarch llround for PPC64.
48662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48663         multiarch round for PPC64.
48664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48665         multiarch roundf for PPC64.
48667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48668         multiarch implementation.
48669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48670         file.
48671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48672         file.
48673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48674         file.
48675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48676         file.
48677         multiarch llround for PPC64.
48678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48679         multiarch floor for PPC64.
48680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48681         multiarch floorf for PPC64.
48683         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48684         multiarch implementation.
48685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48686         file.
48687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48688         file.
48689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48690         file.
48691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48692         file.
48693         multiarch llround for PPC64.
48694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48695         multiarch ceil for PPC64.
48696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48697         multiarch ceilf for PPC64.
48699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48700         multiarch implementation.
48701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48702         file.
48703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48704         file.
48705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48706         file.
48707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48708         multiarch llround for PPC64.
48709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48710         multiarch lround for PPC64.
48712         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48713         multiarch implementation.
48714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48717         file.
48718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48721         multiarch isnan for PPC64.
48722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48723         multiarch isnanf for PPC64.
48725         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48726         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48727         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48728         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48729         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48732         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48733         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48734         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48735         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48738         multiarch implementations.
48739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48740         (__libc_ifunc_impl_list): Likewise.
48741         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48742         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48743         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48744         multiarch stpcpy for PPC64.
48746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48747         multiarch implementations.
48748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48749         (__libc_ifunc_impl_list): Likewise.
48750         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48751         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48752         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48753         multiarch strcpy for PPC64.
48755         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48756         redefine function name.
48757         (_wordcopy_fwd_dest_aligned): Likewise.
48758         (_wordcopy_bwd_aligned): Likewise.
48759         (_wordcopy_bwd_dest_aligned): Likewise.
48760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48761         multiarch implementations.
48762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48763         (__libc_ifunc_impl_list): Likewise.
48764         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48765         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48766         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48767         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48768         multiarch wcscpy for PPC64.
48770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48771         multiarch implementations.
48772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48773         (__libc_ifunc_impl_list): Likewise.
48774         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48775         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48776         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48777         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48778         multiarch wcscpy for PPC64.
48780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48781         multiarch implementations.
48782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48783         (__libc_ifunc_impl_list): Likewise.
48784         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48785         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48786         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48787         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48788         multiarch wcsrchr for PPC64.
48790         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48791         multiarch implementations.
48792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48793         (__libc_ifunc_impl_list): Likewise.
48794         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48795         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48796         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48797         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48798         multiarch wcschr for PPC64.
48800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48801         multiarch implementations.
48802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48803         (__libc_ifunc_impl_list): Likewise.
48804         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48805         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48806         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48807         multiarch strchrnul for PPC64.
48809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48810         implementations.
48811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48812         (__libc_ifunc_impl_list): Likewise.
48813         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48814         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48815         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48816         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48817         strchr for PPC64.
48819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48820         implementations.
48821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48822         (__libc_ifunc_impl_list): Likewise.
48823         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48824         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48825         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48826         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48827         strncmp for PPC64.
48829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48830         multiarch implementations.
48831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48832         (__libc_ifunc_impl_list): Likewise.
48833         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48834         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48835         strncasecmp for PPC64.
48836         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48837         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48838         multiarch strncasecmp_l for PPC64.
48840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48841         multiarch implementations.
48842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48843         (__libc_ifunc_impl_list): Likewise.
48844         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48845         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48846         multiarch strcasecmp for PPC64.
48847         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48848         file.
48849         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48850         multiarch strcasecmp_l for PPC64.
48852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48853         implementations.
48854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48855         (__libc_ifunc_impl_list): Likewise.
48856         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48857         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48858         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48859         strnlen for PPC64.
48861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48862         implementations.
48863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48864         (__libc_ifunc_impl_list): Likewise.
48865         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48866         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48867         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48868         strlen for PPC64.
48870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48871         implementations.
48872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48873         (__libc_ifunc_impl_list): Likewise.
48874         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48875         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48876         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48877         rawmemrchr for PPC64.
48879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48880         implementation.
48881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48882         (__libc_ifunc_impl_list): Likewise.
48883         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48884         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48885         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48886         memrchr for PPC64.
48888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48889         implementation.
48890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48891         (__libc_ifunc_impl_list): Likewise.
48892         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48893         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48894         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48895         memchr for PPC64.
48897         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48898         implementation.
48899         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48900         (__libc_ifunc_impl_list): Likewise.
48901         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48902         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48903         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48904         mempcpy for PPC64.
48906         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48907         avoid cretion of __bzero symbol.
48908         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48909         Likewise.
48910         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48911         Likewise.
48912         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48913         Likewise.
48914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48915         multiarch implementations.
48916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48917         (__libc_ifunc_impl_list): Likewise.
48918         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48919         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48920         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48921         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48922         bzero for PPC32.
48923         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48924         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48925         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48926         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48927         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48928         memset for PPC64.
48929         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48931         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48933         implementations.
48934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48935         (__libc_ifunc_impl_list): Likewise.
48936         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48937         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48938         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48939         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48940         memcmp for PPC64.
48942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48943         multiarch for POWER/PPC64.
48944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48945         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48946         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48947         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48948         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48949         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48950         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48951         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48952         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48953         memcpy for PPC64.
48955         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48956         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48957         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48958         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48959         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48960         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48961         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48962         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48963         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48964         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48965         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48966         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48967         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48968         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48969         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48978 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48980         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48982 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48984         * benchtests/Makefile (bench): Add exp2 and log2.
48985         (LDLIBS-bench-exp2): Add -lm.
48986         (LDLIBS-bench-log2): Likewise.
48987         * benchtests/exp2-inputs: New inputs file.
48988         * benchtests/log2-inputs: New inputs file.
48989         * benchtests/log-inputs: Add new inputs.
48990         * benchtests/tan-inputs: Likewise.
48992 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48994         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48995         definition...
48996         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48997         (csloww2): ... from here.
48999         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
49000         instead of structures.
49001         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
49002         (POLYNOMIAL): Likewise.
49003         (TAYLOR_SLOW): Likewise.
49004         (__sin): Likewise.
49005         (__cos): Likewise.
49006         (slow1): Likewise.
49007         (slow2): Likewise.
49008         (sloww): Likewise.
49009         (sloww1); Likewise.
49010         (sloww2): Likewise.
49011         (bsloww1): Likewise.
49012         (bsloww2): Likewise.
49013         (cslow2): Likewise.
49014         (csloww): Likewise.
49015         (csloww1): Likewise.
49016         (csloww2): Likewise.
49018 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
49020         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
49021         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
49022         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
49023         * malloc/hooks.c (realloc_check): Likewise.
49025         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
49026         * malloc/arena.c: Remove PER_THREAD conditional.
49027         [!PER_THREAD]: Remove code.
49028         (ptmalloc_unlock_all2): Likewise.
49029         (ptmalloc_init): Likewise.
49030         (_int_new_arena): Likewise.
49031         (arena_get2): Likewise.
49032         * malloc/hooks.c (__malloc_get_state): Likewise.
49033         (__malloc_set_state): Likewise.
49034         * malloc/malloc.c: Likewise.
49035         (struct malloc_state): Likewise.
49036         (struct malloc_par): Likewise.
49037         (__libc_realloc): Likewise.
49038         (__libc_mallopt): Likewise.
49040 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49042         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49044 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
49046         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49047         macro to a function.  Check for zero perturb_byte.
49048         (_int_malloc, _int_free): Remove zero perturb_byte checks.
49050         * malloc/malloc.c: (force_reg): Remove.
49051         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49052         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49053         force_reg by atomic_forced_read.
49054         * malloc/arena.c (ptmalloc_init): Likewise.
49055         * malloc/hooks.c (top_check): Likewise.
49057 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49061 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
49063         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49065 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
49067         * math/auto-libm-test-in: Add tests of lgamma.
49068         * math/auto-libm-test-out: Regenerated.
49069         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49070         (M_LOG_2_SQRT_PIl): Likewise.
49071         (lgamma_test_data): Use AUTO_TESTS_f_f1.
49072         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49073         mpfr_f_f1.
49074         (func_calc_desc): Add mpfr_f_f1 union field.
49075         (ARGS1): New macro.
49076         (ARGS2): Likewise.
49077         (ARGS3): Likewise.
49078         (ARGS4): Likewise.
49079         (RET1): Likewise.
49080         (RET2): Likewise.
49081         (CALC): Likewise.
49082         (FUNC): Likewise.
49083         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49084         (test_functions): Add lgamma.
49085         (calc_generic_results): Handle mpfr_f_f1.
49086         * sysdeps/i386/fpu/libm-test-ulps: Update.
49087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49089 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49091         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49092         __mpn_add_n for PowerPC64/POWER7.
49093         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49094         __mpn_sub_n for PowerPC64/POWER7.
49096         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49097         __mpn_addmul_1 for PowerPC64.
49098         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49099         __mpn_submul_1 for PowerPC64.
49100         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49101         for PowerPC64.
49102         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49103         for PowerPC64.
49105 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
49107         [BZ #15089]
49108         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49110 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49112         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49114         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49115         add multiarch folders.
49116         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49117         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49118         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49119         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49120         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49121         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49122         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49123         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49124         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49125         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49126         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49135         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49137         New file.
49138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49139         New file.
49140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49141         multiarch __ieee754_hypot for PowerPC32.
49142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49143         New file.
49144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49145         New file.
49146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49147         multiarch __ieee754_hypotf for PowerPC32.
49149         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49150         long_double_symbol only if __logbl is defined.
49151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49152         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49153         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49154         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49155         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49156         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49157         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49158         path for implementation.
49159         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49160         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49162         logb, and logbl multiarch implementations for PowerPC32.
49163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49164         file.
49165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49166         file.
49167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49168         multiarch logb for PowerPC32.
49169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49170         file.
49171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49172         file.
49173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49174         multiarch logbf for PowerPC32.
49175         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49177         file.
49178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49179         multiarch logbl implementation for PowerPC32.
49181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49182         and modff multiarch implementations.
49183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49184         New file.
49185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49186         New file.
49187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49188         multiarch modf for PowerPC32.
49189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49190         New file.
49191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49192         New file.
49193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49194         multiarch modff for PowerPC32.
49196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49197         and lrintf multiarch implementations.
49198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49199         New file.
49200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49201         New file.
49202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49203         multiarch lrint for PowerPC32.
49204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49205         file: multiarch lrintf for PowerPC32.
49207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49208         and lroundf multiarch implementations.
49209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49210         New file.
49211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49212         New file.
49213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49214         New file.
49215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49216         multiarch lround for PowerPC32.
49217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49218         file: multiarch lroundf for PowerPC32.
49220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49221         copysign and copysignf multiarch implementations.
49222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49223         New file.
49224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49225         New file.
49226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49227         file: multiarch copysign for PowerPC32.
49228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49229         file: multiarch copysignf for PowerPC32.
49231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49232         and truncf multiarch implementations.
49233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49234         New file.
49235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49236         file.
49237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49238         multiarch trunc for PowerPC32.
49239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49240         New file.
49241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49242         New file.
49243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49244         multiarch truncf for PowerPC32.
49246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49247         and roundf multiarch implementations.
49248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49249         New file.
49250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49251         file.
49252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49253         multiarch round for PowerPC32.
49254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49255         New file.
49256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49257         New file.
49258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49259         multiarch roundf for PowerPC32.
49261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49262         and floorf multiarch implementations.
49263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49264         New file.
49265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49266         file.
49267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49268         multiarch floor for PowerPC32.
49269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49270         New file.
49271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49272         New file.
49273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49274         multiarch floorf for PowerPC32.
49276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49277         and ceilf multiarch implementations.
49278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49279         New file.
49280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49281         file.
49282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49283         multiarch ceil for PowerPC32.
49284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49285         New file.
49286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49287         file.
49288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49289         multiarch ceilf for PowerPC32.
49291         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49292         is defined.
49293         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49294         FINITEF is defined.
49295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49296         and finitef multiarch implementations.
49297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49298         New file.
49299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49300         file.
49301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49302         multiarch finite for PowerPC32.
49303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49304         New file.
49305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49306         file: multiarch finitef for PowerPC32.
49308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49309         and isinff multiarch implementations.
49310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49311         file.
49312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49313         file.
49314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49315         multiarch isinf for PowerPC32.
49316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49317         New file.
49318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49319         multiarch isinff for PowerPC32.
49321         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49322         alias when __isnan is defined.
49323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49324         and isnanf multiarch implementations.
49325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49326         file.
49327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49328         file.
49329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49330         file.
49331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49332         file.
49333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49334         multiarch isnan for PowerPC32.
49335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49336         New file.
49337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49338         New file.
49339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49340         multiarch isnanf for PowerPC32.
49342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49343         and sqrtf multiarch implementations.
49344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49345         file.
49346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49347         file.
49348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49349         multiarch sqrt for PowerPC32.
49350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49351         file.
49352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49353         file.
49354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49355         multiarch sqrtf for PowerPC32.
49357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49358         and llroundf multiarch implementations.
49359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49360         New file.
49361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49362         New file.
49363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49364         New file.
49365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49366         file: multiarch llround for PowerPC32.
49367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49368         file: multiarch llroundf for PowerPC32.
49370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49371         multiarch PowerPC32 fpu implementations.
49372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49373         New file.
49374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49375         New file.
49376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49377         multiarch llrint for PowerPC32.
49378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49379         New file.
49380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49381         New file.
49382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49383         file.
49385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49387         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49388         file.
49389         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49390         file.
49391         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49392         file.
49393         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49394         multiarch wordcopy for PPC32.
49395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49396         wordcopy objects.
49397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49398         (__libc_ifunc_impl_list): Likewise.
49399         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49400         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49401         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49402         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49403         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49404         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49406         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49408         file.
49409         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49410         file.
49411         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49412         file.
49413         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49414         multiarch wcscpy for PPC32.
49415         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49416         multiarch objects.
49417         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49418         (__libc_ifunc_impl_list): Likewise.
49419         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49420         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49421         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49422         sysdeps/powerpc/power6/wcscpy.c.
49424         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49426         file.
49427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49428         file.
49429         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49430         file.
49431         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49432         multiarch wcsrchr for PPC32.
49433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49434         multiarch objects.
49435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49436         (__libc_ifunc_impl_list): Likewise.
49437         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49438         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49439         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49440         sysdeps/powerpc/power6/wcsrchr.c.
49442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49443         file.
49444         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49445         file.
49446         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49447         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49448         multiarch wcschr for PPc32.
49449         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49450         multiarch objects.
49451         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49452         (__libc_ifunc_impl_list): Likewise.
49453         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49454         * sysdeps/powerpc/power6/wcschr.c: ... to here.
49455         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49456         sysdeps/powerpc/power6/wcschr.c.
49458         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49459         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49460         file.
49461         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49462         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49463         file: multiarch strchr for PPC32.
49464         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49465         multiarch objects.
49466         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49467         (__libc_ifunc_impl_list): Likewise.
49469         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49470         name.
49471         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49472         file.
49473         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49474         file.
49475         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49476         multiarch strchrnul for PPC32.
49477         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49478         multiarch objects.
49479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49480         (__libc_ifunc_impl_list): Likewise.
49482         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49483         file.
49484         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49485         multiarch strncasecmp for PPC32.
49486         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49487         file.
49488         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49489         multiarch strncasecmp_l for PPC32.
49490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49491         strncasecmp multiarch objects.
49492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49493         (__libc_ifunc_impl_list): Likewise.
49495         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49496         file.
49497         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49498         multiarch strncasecmp for PPC32.
49499         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49500         New file.
49501         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49502         multiarch strcasecmp_l for PPC32.
49503         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49504         multiarch objects.
49505         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49506         (__libc_ifunc_impl_list): Likewise.
49508         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49509         file.
49510         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49511         file.
49512         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49513         multiarch strncmp for PPC32.
49514         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49515         multiarch objects.
49516         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49517         (__libc_ifunc_impl_list): Likewise.
49519         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49520         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49521         file.
49522         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49523         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49525         multiarch objects.
49526         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49527         (__libc_ifunc_impl_list): Likewise.
49529         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49530         file.
49531         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49532         file.
49533         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
49535         multiarch objects.
49536         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49537         (__libc_ifunc_impl_list): Likewise.
49539         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
49540         file.
49541         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
49542         file.
49543         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
49544         multiarch rawmemchr for PPC32.
49545         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
49546         multiarch objects.
49547         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49548         (__libc_ifunc_impl_list): Likewise.
49550         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
49551         file.
49552         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
49553         file.
49554         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
49555         file: memrchr multiarch for PPC32.
49556         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
49557         multiarch objects.
49558         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49559         (__libc_ifunc_impl_list): Likewise.
49561         * string/memchr.c (__memchr): Using macro to redefine symbol name.
49562         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
49563         file.
49564         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
49565         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
49566         multiarch memchr for PPC32.
49567         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
49568         multiarch objects.
49569         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49570         (__libc_ifunc_impl_list): Likewise.
49572         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
49573         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
49574         file.
49575         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
49576         file.
49577         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
49578         file: multiarch mempcpy for PPC32.
49579         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49580         multiarch objects.
49581         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49582         (__libc_ifunc_impl_list): Likewise.
49584         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49585         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49586         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49587         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49588         multiarch bzero for PPC32.
49589         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49590         file.
49591         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49592         file.
49593         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49594         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49595         file: multiarch memset for PPC32.
49596         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49598         memset multiarch objects.
49599         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49600         (__libc_ifunc_impl_list): Likewise.
49602         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49603         file.
49604         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49605         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49606         memcmp for PPC32.
49607         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49608         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49609         multiarch objects.
49610         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49611         (__libc_ifunc_impl_list): Likewise.
49613         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49614         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49615         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49616         file.
49617         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49618         file.
49619         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49620         file.
49621         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49622         multiarch memcpy for PPC32.
49623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49624         multiarch objects.
49625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49626         (__libc_ifunc_impl_list): Likewise.
49628         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49629         support multiarch for POWER/PPC32.
49630         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49631         Likewise.
49632         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49634         Implies file to make multiarch folder appers before the fpu and
49635         default folder for power4 configuration.
49637 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49639         * scripts/bench.pl: Append volatile keyword to type.
49641 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49643         * sysdeps/sh/sotruss-lib.c: New file.
49644         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49646 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49650 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
49652         [BZ #6810]
49653         * math/w_tgamma.c: Include <errno.h>.
49654         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
49655         * math/w_tgammaf.c: Include <errno.h>.
49656         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
49657         * math/w_tgammal.c: Include <errno.h>.
49658         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
49659         * math/auto-libm-test-in: Do not allow missing errno on tgamma
49660         underflow.  Add more tgamma tests.
49661         * math/auto-libm-test-out: Regenerated.
49662         * sysdeps/i386/fpu/libm-test-ulps: Update.
49663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49665         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49666         sin, sinh, tan, tanh, tgamma, y0 and y1.
49667         * math/auto-libm-test-out: Regenerated.
49668         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49669         (TEST_COND_x86): Likewise.
49670         (M_E2l): Remove macro.
49671         (M_E3l): Likewise.
49672         (M_2_SQRT_PIl): Likewise.
49673         (M_SQRT_PIl): Likewise.
49674         (M_1_DIV_El): Likewise.
49675         (log_test_data): Use AUTO_TESTS_f_f.
49676         (log10_test_data): Likewise.
49677         (log1p_test_data): Likewise.
49678         (log2_test_data): Likewise.
49679         (sin_test_data): Likewise.
49680         (sin_tonearest_test_data): Likewise.
49681         (sin_towardzero_test_data): Likewise.
49682         (sin_downward_test_data): Likewise.
49683         (sin_upward_test_data): Likewise.
49684         (sinh_test_data): Likewise.
49685         (sinh_tonearest_test_data): Likewise.
49686         (sinh_towardzero_test_data): Likewise.
49687         (sinh_downward_test_data): Likewise.
49688         (sinh_upward_test_data): Likewise.
49689         (tan_test_data): Likewise.
49690         (tan_tonearest_test_data): Likewise.
49691         (tan_towardzero_test_data): Likewise.
49692         (tan_downward_test_data): Likewise.
49693         (tan_upward_test_data): Likewise.
49694         (tanh_test_data): Likewise.
49695         (tgamma_test_data): Likewise.
49696         (y0_test_data): Likewise.
49697         (y1_test_data): Likewise.
49698         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49699         (special_real_inputs): Add pi/4.
49700         * sysdeps/i386/fpu/libm-test-ulps: Update.
49701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49703 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49705         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49706         "longjmp_target" static probes.
49707         (__longjmp): Rename to __longjmp_symbol.
49708         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49709         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49710         on which longjmp to generate.
49711         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49712         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49713         probe.
49714         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49715         (__sigjmp_save): Rename to __sigjmp_save_symbol.
49716         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49717         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49718         and __sigjmp_save_symbol based on which sigsetjmp to generated.
49719         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49721         __longjmp_symbol based on which __longjmp to generate.
49722         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49723         probe.
49724         (setjmp): Rename to setjmp_symbol.
49725         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49726         (_setjmp): Rename to _setjmp_symbol.
49727         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49728         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49729         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49730         which setjmp to generate.
49731         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49732         "longjmp_target" static probes.
49734 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49736         * benchtests/README: Add note about output arguments.
49737         * benchtests/bench-sincos.c: Remove file.
49738         * benchtests/sincos-inputs: New file.
49739         * scripts/bench.pl: Identify output arguments and define
49740         static variables for them.
49742         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49744         [BZ #15941]
49745         * Makefile (INSTALL): Add install-plain.texi as the primary
49746         dependency.
49747         * manual/install-plain.texi: New file.
49748         * manual/install.texi: Include node directive only for
49749         non-plaintext output.
49751 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
49753         * stdlib/longlong.h: Update from GCC.
49755         [BZ #6807]
49756         [BZ #15901]
49757         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49758         * math/w_j0f.c (y0f): Likewise.
49759         * math/w_j0l.c (__y0l): Likewise.
49760         * math/w_j1.c (y1): Likewise.
49761         * math/w_j1f.c (y1f): Likewise.
49762         * math/w_j1l.c (__y1l): Likewise.
49763         * math/w_jn.c (yn): Likewise.
49764         * math/w_jnf.c (ynf): Likewise.
49765         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49766         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
49767         value for Bessel function domain errors outside _SVID_ mode.
49768         Adjust sign of return value for yn (negative integer, 0).
49769         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49770         by zero in return for negative x and set sign appropriately for
49771         negative n.
49772         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49773         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49774         * math/libm-test.inc (y0_test_data): Add more tests and adjust
49775         expectations in error cases.
49776         (y1_test_data): Likewise.
49777         (yn_test_data): Likewise.
49778         * sysdeps/i386/fpu/libm-test-ulps: Update.
49779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49781 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49783         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49784         "64" to "64-v1".  Add "64-v2".
49785         (abi-64-options): Rename to ...
49786         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
49787         (abi-64-condition): Rename to ...
49788         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
49789         (abi-64-ld-soname): Rename to ...
49790         (abi-64-v1-ld-soname): ... this.
49791         (abi-64-v2-options): Define.
49792         (abi-64-v2-condition): Likewise.
49793         (abi-64-v2-ld-soname): Likewise.
49794         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49795         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49800 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49801             Alan Modra  <amodra@gmail.com>
49803         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49804         New versions for use with the ELFv2 ABI.
49805         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49806         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49807         declaration.
49808         (struct La_ppc64v2_retval): Likewise.
49809         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49810         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49811         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49812         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49813         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49814         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49815         Do not save or restore CR.
49816         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49817         (_dl_profile_resolve): Do no save or restore CR.  Support extended
49818         return values for ELFv2 ABI.  Fix location of FPR return registers.
49819         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49820         updated values for _CALL_ELF == 2.
49821         (La_regs, La_retval, int_retval): Likewise.
49823 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49825         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49826         (FRAME_MIN_SIZE_PARM): Likewise.
49827         (FRAME_BACKCHAIN): Likewise.
49828         (FRAME_CR_SAVE): Likewise.
49829         (FRAME_LR_SAVE): Likewise.
49830         (FRAME_TOC_SAVE): Likewise.
49831         (FRAME_PARM_SAVE): Likewise.
49832         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49833         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49834         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49835         (call_mcount_parm_offset): New macro.
49836         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49837         (PROF): Use symbolic stack frame offsets.
49838         (TAIL_CALL_SYSCALL_ERROR): Likewise.
49839         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49840         Redefine in terms of FRAME_MIN_SIZE.
49841         (_dl_runtime_resolve): Use symbolic stack frame offsets.
49842         (_dl_profile_resolve): Likewise.  Update comment.
49843         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49844         symbols stack frame offsets.
49845         (__sigsetjmp): Likewise.
49846         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49847         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49848         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49849         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49852         (FRAME_BACKCHAIN): Remove.
49853         (FRAME_CR_SAVE): Likewise.
49854         (FRAME_LR_SAVE): Likewise.
49855         (FRAME_COMPILER_DW): Likewise.
49856         (FRAME_LINKER_DW): Likewise.
49857         (FRAME_TOC_SAVE): Likewise.
49858         (FRAME_PARM_SAVE): Likewise.
49859         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49860         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49861         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49863         (CHECK_SP): Use symbolic stack frame offsets.
49864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49865         zone" instead of caller's parameter save area for temp storage.
49866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49867         Likewise.  Also, use symbolic stack frame offsets.
49868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49869         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49870         our own stack frame instead of the caller's.
49871         (__socket): Use symbolic stack frame offsets.
49873 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49874             Alan Modra  <amodra@gmail.com>
49876         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49877         Define.
49878         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49879         (PPC64_LOCAL_ENTRY_OFFSET): Define.
49880         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49881         New function.
49882         (elf_machine_fixup_plt): Call it.
49883         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
49884         reloc arguments.
49885         (elf_machine_rela): Update call to elf_machine_plt_conflict.
49886         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49887         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49888         r2 before calling target.
49890 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49891             Alan Modra  <amodra@gmail.com>
49893         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49894         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49895         versions of macros to support ELFv2 ABI.
49896         (LOCALENTRY): New macro.
49897         (ENTRY, EALIGN): Use it.
49898         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49899         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49900         fall through into ENTRY entry point.
49901         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49902         Only define if _CALL_ELF != 2.
49904         (elf_machine_matches_host): Verify ABI version matches.
49905         (RTLD_START): Use LOCALENTRY.
49906         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49907         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49908         (PLT_ENTRY_WORDS): New macro.
49909         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49910         (elf_machine_runtime_setup): Support ELFv2 ABI.
49911         (elf_machine_fixup_plt): Likewise.
49912         (elf_machine_plt_conflict): Likewise.
49913         (resolve_ifunc): Likewise.
49914         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49915         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49916         Likewise.
49917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49918         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49920         (makecontext): Support ELFv2 ABI.
49921         * elf/elf.h (EF_PPC64_ABI): Define.
49923 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49925         * sysdeps/powerpc/powerpc64/sysdep.h
49926         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49927         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49928         (ENTRY) [ASSEMBLER]: ... but instead here ...
49929         (EALIGN) [ASSEMBLER]: ... and here.
49930         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49931         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49932         (ENTRY_2) [!ASSEMBLER]: Use it.
49933         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49934         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
49935         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49936         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49937         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49939         Use PPC64_LOAD_FUNCPTR.
49941         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49943 2013-12-04  Alan Modra  <amodra@gmail.com>
49945         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49946         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49947         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49948         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49950         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49951         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49952         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49953         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49954         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49955         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49957 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49960         (__makecontext): Fix incorrect CFI when backtracing out of
49961         context created via makecontext.
49962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49963         (__setcontext): Fix incorrect CFI during switch to new context.
49964         (__novec_setcontext): Likewise.
49966 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49968         [BZ #4772]
49969         * time/strptime_l.c (__strptime_internal): Allow modifiers
49970         in strptime.
49971         * time/tst-strptime.c (day_tests): Add testcase.
49973 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49975         * scripts/bench.pl: Skip over blank lines.
49977 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
49979         [BZ #926]
49980         * manual/time.texi (Calendar Time): Clarify what timezone functions
49981         use.
49983 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49987 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49989         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49990         implementation.
49991         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49992         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49993         * debug/memset_chk.c (__memset_chk): Likewise.
49994         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49995         * debug/strncpy_chk.c: Likewise.
49997 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49999         [BZ #15268]
50000         [BZ #15425]
50001         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
50002         (__ieee754_exp): For possibly underflowing results, check size of
50003         result and force underflow exception if required.
50004         * math/auto-libm-test-in: Add more tests of exp.
50005         * math/auto-libm-test-out: Regenerated.
50006         * sysdeps/i386/fpu/libm-test-ulps: Update.
50007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50009         [BZ #16283]
50010         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
50011         * math/w_exp2f.c (__exp2f): Likewise.
50012         * math/w_exp2l.c (__exp2l): Likewise.
50013         * math/auto-libm-test-in: Do not allow missing errno on exp2
50014         underflow.
50015         * math/auto-libm-test-out: Regenerated.
50017 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
50019         [BZ #16274]
50020         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
50021         handle filename validation.
50022         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
50023         (do_open): Delete.
50025 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
50027         [BZ #6786]
50028         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50029         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50030         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50031         <float.h>.
50032         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50033         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50034         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50035         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50036         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50037         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50038         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50039         * math/auto-libm-test-in: Don't allow missing errno from erfc.
50040         Add more erfc tests.
50041         * math/auto-libm-test-out: Regenerated.
50042         * sysdeps/i386/fpu/libm-test-ulps: Update.
50043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50045         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50046         exp2, expm1, j0 and j1.
50047         * math/auto-libm-test-out: Regenerated.
50048         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50049         (erfc_test_data): Likewise.
50050         (exp_test_data): Likewise.
50051         (exp_tonearest_test_data): Likewise.
50052         (exp_towardzero_test_data): Likewise.
50053         (exp_downward_test_data): Likewise.
50054         (exp_upward_test_data): Likewise.
50055         (exp10_test_data): Likewise.
50056         (exp2_test_data): Likewise.
50057         (expm1_test_data): Likewise.
50058         (j0_test_data): Likewise.
50059         (j1_test_data): Likewise.
50060         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50061         (input_flag_type): Add flag_xfail_rounding.
50062         (input_flags): Add xfail-rounding.
50063         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50064         (output_for_one_input_case): Handle flag_xfail_rounding.
50065         * sysdeps/i386/fpu/libm-test-ulps: Update.
50066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50068 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
50070         [BZ #16289]
50071         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50072         division by 0.
50074 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50076         [BZ #16195]
50077         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50078         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50079         (STAP_PROBE0): New macro.
50080         (STAP_PROBE1): Likewise.
50081         (STAP_PROBE2): Likewise.
50082         (STAP_PROBE3): Likewise.
50083         (STAP_PROBE4): Likewise.
50085 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
50087         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50089 2013-12-02  Steve Ellcey  <sellcey@mips.com>
50091         * benchtests/Makefile (bench): Add sqrt.
50092         (LDLIBS-bench-sqrt): New.
50093         * benchtests/sqrt-input: New.
50095 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
50097         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50098         (GAIH_EAI): Likewise.
50099         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50100         (gaih_inet): Likewise.
50101         (getaddrinfo): Don't use GAIH_EAI.
50103         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50104         (struct gaih): Remove definition.
50106 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50108         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50109         Use HERRNOP directly.
50111 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50115 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
50117         * math/gen-auto-libm-tests.c (test_functions): Add more
50118         single-argument functions.
50119         (special_fill_pi_2): New function.
50120         (special_fill_minus_pi_2): Likewise.
50121         (special_fill_pi_6): Likewise.
50122         (special_fill_minus_pi_6): Likewise.
50123         (special_fill_pi_3): Likewise.
50124         (special_fill_2pi_3): Likewise.
50125         (special_fill_e): Likewise.
50126         (special_fill_1_e): Likewise.
50127         (special_fill_e_minus_1): Likewise.
50128         (special_real_inputs): Add more special inputs.
50129         (output_for_one_input_case): Do not require ERANGE on underflow to
50130         zero if round-to-nearest result does not underflow to zero, unless
50131         exact results required.
50132         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50133         atan, atanh, cbrt, cos and cosh.
50134         * math/auto-libm-test-out: Regenerated.
50135         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50136         (acos_tonearest_test_data): Likewise.
50137         (acos_towardzero_test_data): Likewise.
50138         (acos_downward_test_data): Likewise.
50139         (acos_upward_test_data): Likewise.
50140         (acosh_test_data): Likewise.
50141         (asin_test_data): Likewise.
50142         (asin_tonearest_test_data): Likewise.
50143         (asin_towardzero_test_data): Likewise.
50144         (asin_upward_test_data): Likewise.
50145         (asinh_test_data): Likewise.
50146         (atan_test_data): Likewise.
50147         (atanh_test_data): Likewise.
50148         (cbrt_test_data): Likewise.
50149         (cos_test_data): Likewise.
50150         (cos_tonearest_test_data): Likewise.
50151         (cos_towardzero_test_data): Likewise.
50152         (cos_downward_test_data): Likewise.
50153         (cos_upward_test_data): Likewise.
50154         (cosh_test_data): Likewise.
50155         (cosh_tonearest_test_data): Likewise.
50156         (cosh_towardzero_test_data): Likewise.
50157         (cosh_downward_test_data): Likewise.
50158         (cosh_upward_test_data): Likewise.
50159         * sysdeps/i386/fpu/libm-test-ulps: Update.
50160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50162 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
50164         [BZ #6787]
50165         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50166         * math/w_exp10f.c (__exp10f): Likewise.
50167         * math/w_exp10l.c (__exp10l): Likewise.
50168         * math/libm-test.inc (exp10_test_data): Add more tests and expect
50169         errno settings in existing tests.
50171         [BZ #14032]
50172         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50173         precision control set to double precision.
50174         * sysdeps/i386/fpu/w_sqrt.c: New file.
50175         * math/auto-libm-test-in: Add more tests.
50176         * math/auto-libm-test-out: Update.
50178         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50179         (sqrt_test_tonearest): New function.
50180         (sqrt_towardzero_test_data): New variable.
50181         (sqrt_test_towardzero): New function.
50182         (sqrt_downward_test_data): New variable.
50183         (sqrt_test_downward): New function.
50184         (sqrt_upward_test_data): New variable.
50185         (sqrt_test_upward): New function.
50186         (main): Call the new functions.
50188         * math/gen-auto-libm-tests.c: New file.
50189         * math/auto-libm-test-in: Likewise.
50190         * math/auto-libm-test-out: New generated file.
50191         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50192         variables.
50193         (%beautify): Add generated representations of zero.
50194         (top level): Set $auto_input and call parse_auto_input.
50195         (beautify): Remove trailing "f" from hex float constants.
50196         (parse_args): Handle XFAIL_TEST.
50197         (convert_condition): New function.
50198         (or_value): Likewise.
50199         (or_cond_value): Likewise.
50200         (generate_testfile): Handle AUTO_TESTS_* lines.
50201         (parse_auto_input): New function.
50202         * math/libm-test.inc (XFAIL_TEST): New macro.
50203         (ERRNO_UNCHANGED): Update value.
50204         (ERRNO_EDOM): Likewise.
50205         (ERRNO_ERANGE): Likewise.
50206         (IGNORE_RESULT): Likewise.
50207         (TEST_COND_flt_32): New macro.
50208         (TEST_COND_dbl_64): Likewise.
50209         (TEST_COND_ldbl_96_intel): Likewise.
50210         (TEST_COND_ldbl_96_m68k): Likewise.
50211         (TEST_COND_ldbl_128): Likewise.
50212         (TEST_COND_ldbl_128ibm): Likewise.
50213         (TEST_COND_long32): Likewise.
50214         (TEST_COND_long64): Likewise.
50215         (TEST_COND_before_rounding): Likewise.
50216         (TEST_COND_after_rounding): Likewise.
50217         (enable_test): Handle XFAIL_TEST flag.
50218         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50219         with finite results.
50220         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50221         auto-libm-test-out.
50223 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50224             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50226         [BZ #16214]
50227         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50228         __tls_get_addr_internal instead of __tls_get_offset in order to
50229         avoid GOT pointer dependency.  Make rtld export
50230         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50231         __tls_get_addr since we are a __tls_get_offset platform.
50232         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50233         GOT pointer being set up before.
50234         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50236 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
50238         * manual/math.texi (Errors in Math Functions): Document accuracy
50239         goals.
50241         [BZ #15004]
50242         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50243         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50244         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50245         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50246         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50247         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50248         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50249         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50250         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50251         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50252         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50253         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50254         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50255         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50256         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50257         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50259         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50260         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50261         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50262         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50263         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50264         Likewise.
50265         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50266         Likewise.
50267         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50268         Likewise.
50269         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50270         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50271         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50272         atomic-feupdateenv and flt-rounds.
50273         * sysdeps/powerpc/nofpu/Versions (libc): Add
50274         __atomic_feholdexcept, __atomic_feclearexcept,
50275         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50276         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50277         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50278         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50279         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50280         here.
50281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50282         Update.
50284         * manual/arith.texi (FP Exceptions): Document that exceptions may
50285         not be raised when matherr is used.
50286         (Math Error Reporting): Document overflow in directed rounding
50287         modes.  Document that errno may not be set when finite values are
50288         returned on overflow.  Document intent to set errno on underflow
50289         only for underflow to zero.
50291         [BZ #16271]
50292         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50293         round-to-nearest then adjust result for other rounding modes.
50294         * include/fenv.h (fegetround): Use libm_hidden_proto.
50295         * math/fegetround.c (fegetround): Use libm_hidden_def.
50296         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50297         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50298         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50299         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50300         Likewise.
50301         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50302         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50303         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50304         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50306 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50308         [BZ #16077]
50309         * nss/Versions (libnss_files): Add
50310         _nss_files_gethostbyname3_r.
50311         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50312         New function.
50313         (HOST_DB_LOOKUP): Remove macro.
50314         (_nss_files_gethostbyname_r): Implement function without the
50315         HOST_DB_LOOKUP macro.
50316         (_nss_files_gethostbyname2_r): Likewise.
50318 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
50320         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50322 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
50324         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50325         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50326         warning.
50328 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50330         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50331         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50332         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50333         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50334         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50335         __fe_nomask_env_priv and attribute_hidden.
50336         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50337         (libc_feupdateenv_test_ppc): Likewise.
50338         (libc_feresetround_ppc): Likewise.
50339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50340         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50341         compat_symbol macro.
50342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50343         (__fe_nomask_env): Likewise.
50344         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50346 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50348         * string/Makefile: Remove ifunc tests.
50349         * string/test-string.h: Define TEST_IFUNC.
50350         * string/test-bcopy-ifunc.c: Remove.
50351         * string/test-bzero-ifunc.c: Likewise.
50352         * string/test-memccpy-ifunc.c: Likewise.
50353         * string/test-memchr-ifunc.c: Likewise.
50354         * string/test-memcmp-ifunc.c: Likewise.
50355         * string/test-memcpy-ifunc.c: Likewise.
50356         * string/test-memmem-ifunc.c: Likewise.
50357         * string/test-memmove-ifunc.c: Likewise.
50358         * string/test-mempcpy-ifunc.c: Likewise.
50359         * string/test-memrchr-ifunc.c: Likewise.
50360         * string/test-memset-ifunc.c: Likewise.
50361         * string/test-rawmemchr-ifunc.c: Likewise.
50362         * string/test-stpcpy-ifunc.c: Likewise.
50363         * string/test-stpncpy-ifunc.c: Likewise.
50364         * string/test-strcasecmp-ifunc.c: Likewise.
50365         * string/test-strcasestr-ifunc.c: Likewise.
50366         * string/test-strcat-ifunc.c: Likewise.
50367         * string/test-strchr-ifunc.c: Likewise.
50368         * string/test-strchrnul-ifunc.c: Likewise.
50369         * string/test-strcmp-ifunc.c: Likewise.
50370         * string/test-strcpy-ifunc.c: Likewise.
50371         * string/test-strcspn-ifunc.c: Likewise.
50372         * string/test-strlen-ifunc.c: Likewise.
50373         * string/test-strncasecmp-ifunc.c: Likewise.
50374         * string/test-strncat-ifunc.c: Likewise.
50375         * string/test-strncmp-ifunc.c: Likewise.
50376         * string/test-strncpy-ifunc.c: Likewise.
50377         * string/test-strnlen-ifunc.c: Likewise.
50378         * string/test-strpbrk-ifunc.c: Likewise.
50379         * string/test-strrchr-ifunc.c: Likewise.
50380         * string/test-strspn-ifunc.c: Likewise.
50381         * string/test-strstr-ifunc.c: Likewise.
50383 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50385         * benchtests/Makefile: Remove ifunc tests.
50386         * benchtests/bench-string.h: Define TEST_IFUNC.
50387         * benchtests/bench-bcopy-ifunc.c: Remove.
50388         * benchtests/bench-bzero-ifunc.c: Likewise.
50389         * benchtests/bench-memccpy-ifunc.c: Likewise.
50390         * benchtests/bench-memchr-ifunc.c: Likewise.
50391         * benchtests/bench-memcmp-ifunc.c: Likewise.
50392         * benchtests/bench-memcpy-ifunc.c: Likewise.
50393         * benchtests/bench-memmem-ifunc.c: Likewise.
50394         * benchtests/bench-memmove-ifunc.c: Likewise.
50395         * benchtests/bench-mempcpy-ifunc.c: Likewise.
50396         * benchtests/bench-memrchr-ifunc.c: Likewise.
50397         * benchtests/bench-memset-ifunc.c: Likewise.
50398         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50399         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50400         * benchtests/bench-stpcpy-ifunc.c: Likewise.
50401         * benchtests/bench-stpncpy-ifunc.c: Likewise.
50402         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50403         * benchtests/bench-strcasestr-ifunc.c: Likewise.
50404         * benchtests/bench-strcat-ifunc.c: Likewise.
50405         * benchtests/bench-strchr-ifunc.c: Likewise.
50406         * benchtests/bench-strchrnul-ifunc.c: Likewise.
50407         * benchtests/bench-strcmp-ifunc.c: Likewise.
50408         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50409         * benchtests/bench-strcpy-ifunc.c: Likewise.
50410         * benchtests/bench-strcspn-ifunc.c: Likewise.
50411         * benchtests/bench-strlen-ifunc.c: Likewise.
50412         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50413         * benchtests/bench-strncat-ifunc.c: Likewise.
50414         * benchtests/bench-strncmp-ifunc.c: Likewise.
50415         * benchtests/bench-strncpy-ifunc.c: Likewise.
50416         * benchtests/bench-strnlen-ifunc.c: Likewise.
50417         * benchtests/bench-strpbrk-ifunc.c: Likewise.
50418         * benchtests/bench-strrchr-ifunc.c: Likewise.
50419         * benchtests/bench-strsep-ifunc.c: Likewise.
50420         * benchtests/bench-strspn-ifunc.c: Likewise.
50421         * benchtests/bench-strstr-ifunc.c: Likewise.
50423 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50425         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50427 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50429         * resolv/netdb.h: Use __glibc_reserved instead __unused.
50430         * rt/aio.h: Likewise.
50431         * sysdeps/gnu/bits/utmp.h: Likewise.
50432         * sysdeps/gnu/bits/utmpx.h: Likewise.
50433         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50434         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50435         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50436         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50437         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50438         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50439         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50440         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50441         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50442         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50443         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50444         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50445         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50447         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50448         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50449         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50450         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50451         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50452         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50453         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50454         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50455         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50456         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50457         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50458         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50459         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50460         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50461         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50462         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50463         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50464         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50465         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50466         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50467         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50468         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50469         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50470         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50471         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50472         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50473         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50474         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50476 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
50478         [BZ #16245]
50479         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50480         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50482 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
50484         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50485         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50486         Likewise.
50488 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50490         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50491         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50492         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50493         (__fesetround): Remove define.
50494         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50495         rounding and exceptions handling.
50496         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50497         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50498         (__fe_nomask_env): Likewise.
50499         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50500         __fegetround instead of fegetround.
50501         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50502         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50504 2013-11-21  Roland McGrath  <roland@hack.frob.com>
50506         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50507         it's there.
50509         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50511 2013-11-21  Meador Inge  <meadori@codesourcery.com>
50513         [BZ #11157]
50514         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50515         (encrypt_r): Likewise.
50516         * malloc/obstack.h (obstack_free): Likewise.
50517         * posix/unistd.h (encrypt): Likewise.
50519 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
50521         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50522         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50523         DL_CALL_DT_FINI() that call the functions directly.
50524         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50525         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50526         * elf/dl-fini.c: Likewise.
50528 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
50530         * malloc/hooks.c (memalign_check): Add alignment rounding.
50531         * malloc/malloc.c (_mid_memalign): New function.
50532         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50533         Implement by calling _mid_memalign.
50534         * manual/probes.texi (Memory Allocation Probes): Remove
50535         memory_valloc_retry and memory_pvalloc_retry.
50537 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50539         * locale/programs/locarchive.c (open_archive): Add const
50540         qualifier to ARCHIVEFNAME and copy default fname to
50541         DEFAULT_FNAME.
50543         [BZ #15601]
50544         * libio/tst-widetext.input: Rename Oriya to Odia.
50545         * locale/iso-639.def: Likewise.
50547         * manual/probes.texi (Mathematical Function Probes): Add
50548         documentation for sin, cos, asin and acos probes.
50549         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
50550         (__sin32): Add slowasin probe.
50551         (__cos32): Add slowacos probe.
50552         (__mpsin): Add slowsin probe.
50553         (__mpcos): Add slowcos probe.
50555 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
50557         [BZ #15483]
50558         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
50559         thread-local __sim_exceptions_thread and global
50560         __sim_exceptions_global.
50561         (__sim_disabled_exceptions): Change to thread-local
50562         __sim_disabled_exceptions_thread and global
50563         __sim_disabled_exceptions_global.
50564         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50565         and global __sim_round_mode_global.
50566         (__simulate_exceptions): Use thread-local floating-point state and
50567         set global state from it as needed.
50568         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
50569         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
50570         __sim_round_mode_thread.
50571         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
50572         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
50573         and global __sim_exceptions_global.
50574         (__sim_disabled_exceptions): Change to thread-local
50575         __sim_disabled_exceptions_thread and global
50576         __sim_disabled_exceptions_global.
50577         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50578         and global __sim_round_mode_global.
50579         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50580         (SIM_SET_GLOBAL): Likewise.
50581         * sysdeps/powerpc/soft-fp/sfp-machine.h
50582         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50583         __sim_round_mode_thread.
50584         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50585         __sim_disabled_exceptions_thread.
50586         (__sim_exceptions): Change to __sim_exceptions_thread.
50587         (__sim_disabled_exceptions): Change to
50588         __sim_disabled_exceptions_thread.
50589         (__sim_round_mode): Change to __sim_round_mode_thread.
50590         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50591         thread-local floating-point state and set global state from it as
50592         needed.
50593         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50594         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50595         (__sim_disabled_exceptions): Remove extern declaration.
50596         (feenableexcept): Use thread-local floating-point state and set
50597         global state from it as needed.
50598         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50599         extern declaration.
50600         (__sim_disabled_exceptions): Likewise.
50601         (__sim_round_mode): Likewise.
50602         (__fegetenv): Use thread-local floating-point state.
50603         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50604         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50605         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50606         floating-point state and set global state from it as needed.
50607         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50608         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50609         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50610         Likewise.
50611         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50612         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50613         Likewise.
50614         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50615         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50616         Use __sim_round_mode_thread.
50617         * math/test-fenv-tls.c: New file.
50618         * math/Makefile (tests): Add test-fenv-tls.
50619         ($(objpfx)test-fenv-tls): Depend on
50620         $(common-objpfx)nptl/libpthread.so.
50622 2013-11-19  Andreas Schwab  <schwab@suse.de>
50624         * locale/programs/locale.c (show_info): Decode wordarray elements.
50625         * locale/categories.def (LC_MONETARY): Add element for
50626         _NL_MONETARY_CRNCYSTR.
50627         * locale/C-monetary.c (conversion_rate): New variable.
50628         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50629         element.
50631 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
50633         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50634         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50636 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50638         * elf/Makefile (tst-auxv): New test.
50639         * elf/tst-auxv.c: New
50640         * elf/rtld.c (dl_main): Adjust AT_EXECFN
50642 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
50644         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50645         (hidden_proto): Caller changed.
50646         (hidden_tls_proto): New macro.
50647         (libc_hidden_tls_proto): Likewise.
50648         (rtld_hidden_tls_proto): Likewise.
50649         (libm_hidden_tls_proto): Likewise.
50650         (libresolv_hidden_tls_proto): Likewise.
50651         (librt_hidden_tls_proto): Likewise.
50652         (libdl_hidden_tls_proto): Likewise.
50653         (libnss_files_hidden_tls_proto): Likewise.
50654         (libnsl_hidden_tls_proto): Likewise.
50655         (libnss_nisplus_hidden_tls_proto): Likewise.
50656         (libutil_hidden_tls_proto): Likewise.
50658 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
50660         [BZ #10253]
50661         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50662         (decompose_rpath): Defer expansion to fillin_rpath.
50663         (_dl_init_paths): Pass linkmap to fillin_rpath.
50665 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50667         * benchtests/Makefile: Add strsep.
50668         * benchtests/bench-strsep.c: New file: strsep benchtest.
50669         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50671 2013-11-18  Andreas Schwab  <schwab@suse.de>
50673         * locale/programs/locale.c (show_info) [case byte]: Check for
50674         '\377' instead of '\177'.
50675         * locale/C-monetary.c (not_available): Always use "\377".
50676         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50677         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
50678         detect unavailable sign_posn locale elements.
50679         * locale/localeconv.c (__localeconv): For grouping and
50680         mon_grouping handle "\177" and "\377" like no grouping.
50681         (INT_ELEM): New macro.  Use it to set all numeric members.
50682         * locale/programs/ld-monetary.c (monetary_read)
50683         <tok_mon_grouping>: Normalize single -1 to the empty string.
50684         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50685         Likewise.
50687 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50689         [BZ #16055]
50690         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50691         when we match (nil).
50692         * stdio-common/tst-sscanf.c (struct test): Add testcase.
50694 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
50696         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50697         (NO_TEST_INLINE): Update value.
50698         (ERRNO_UNCHANGED): Likewise.
50699         (ERRNO_EDOM): Likewise.
50700         (ERRNO_ERANGE): Likewise.
50701         (IGNORE_RESULT): Likewise.
50702         (check_float_internal): Check signs of NaN results if
50703         TEST_NAN_SIGN used.
50704         (check_complex): Pass TEST_NAN_SIGN flag through to second
50705         check_float_internal call.
50706         (copysign_test_data): Add tests with quiet NaNs as second
50707         argument.  Use TEST_NAN_SIGN.
50708         (fabs_test_data): Add test of negative quiet NaN argument.  Use
50709         TEST_NAN_SIGN.
50710         (signbit_test_data): Add tests of quiet NaN argument.
50711         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50713         * math/gen-libm-test.pl (show_exceptions): Take extra argument
50714         $ignore_result.
50715         (parse_args): Handle function results specified as IGNORE.
50716         * math/libm-test.inc (IGNORE_RESULT): New macro.
50717         (check_float_internal): Do not check numerical result if flag
50718         IGNORE_RESULT set.
50719         (check_complex): Pass through IGNORE_RESULT to second
50720         check_float_internal call.
50721         (check_int): Do not check numerical result if flag IGNORE_RESULT
50722         set.
50723         (check_long): Likewise.
50724         (check_bool): Likewise.
50725         (check_longlong): Likewise.
50726         (lrint_test_data): Add tests of infinite and NaN arguments.
50727         (lrint_tonearest_test_data): Likewise.
50728         (lrint_towardzero_test_data): Likewise.
50729         (lrint_downward_test_data): Likewise.
50730         (lrint_upward_test_data): Likewise.
50731         (llrint_test_data): Likewise.
50732         (llrint_tonearest_test_data): Likewise.
50733         (llrint_towardzero_test_data): Likewise.
50734         (llrint_downward_test_data): Likewise.
50735         (llrint_upward_test_data): Likewise.
50736         (lround_test_data): Likewise.
50737         (llround_test_data): Likewise.
50739         * math/libm-test.inc (NO_TEST_INLINE): New macro.
50740         (ERRNO_UNCHANGED): Update value.
50741         (ERRNO_EDOM): Likewise.
50742         (ERRNO_ERANGE): Likewise.
50743         (NO_TEST_INLINE_FLOAT): New macro.
50744         (NO_TEST_INLINE_DOUBLE): Likewise.
50745         (enable_test): New function.
50746         (RUN_TEST_f_f): Check enable_test before running test.
50747         (RUN_TEST_2_f): Likewise.
50748         (RUN_TEST_fff_f): Likewise.
50749         (RUN_TEST_c_f): Likewise.
50750         (RUN_TEST_f_f1): Likewise.
50751         (RUN_TEST_fF_f1): Likewise.
50752         (RUN_TEST_fI_f1): Likewise.
50753         (RUN_TEST_ffI_f1): Likewise.
50754         (RUN_TEST_c_c): Likewise.
50755         (RUN_TEST_cc_c): Likewise.
50756         (RUN_TEST_f_i): Likewise.
50757         (RUN_TEST_f_i_tg): Likewise.
50758         (RUN_TEST_ff_i_tg): Likewise.
50759         (RUN_TEST_f_b): Likewise.
50760         (RUN_TEST_f_b_tg): Likewise.
50761         (RUN_TEST_f_l): Likewise.
50762         (RUN_TEST_f_L): Likewise.
50763         (RUN_TEST_fFF_11): Likewise.
50764         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50765         conditionals.
50766         (cosh_test_data): Likewise.
50767         (exp_test_data): Likewise.
50768         (expm1_test_data): Likewise.
50769         (hypot_test_data): Likewise.
50770         (pow_test_data): Likewise.
50771         (sinh_test_data): Likewise.
50772         (tanh_test_data): Likewise.
50773         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50774         flags argument.
50776         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50777         tests with quiet NaN input and output.
50778         (acosh_test_data): Likewise.
50779         (asin_test_data): Likewise.
50780         (asinh_test_data): Likewise.
50781         (atan_test_data): Likewise.
50782         (atanh_test_data): Likewise.
50783         (atan2_test_data): Likewise.
50784         (cbrt_test_data): Likewise.
50785         (cos_test_data): Likewise.
50786         (cosh_test_data): Likewise.
50787         (erf_test_data): Likewise.
50788         (erfc_test_data): Likewise.
50789         (exp_test_data): Likewise.
50790         (exp10_test_data): Likewise.
50791         (exp2_test_data): Likewise.
50792         (expm1_test_data): Likewise.
50793         (hypot_test_data): Likewise.
50794         (j0_test_data): Likewise.
50795         (j1_test_data): Likewise.
50796         (jn_test_data): Likewise.
50797         (lgamma_test_data): Likewise.
50798         (log_test_data): Likewise.
50799         (log10_test_data): Likewise.
50800         (log1p_test_data): Likewise.
50801         (log2_test_data): Likewise.
50802         (pow_test_data): Likewise.
50803         (scalb_test_data): Likewise.
50804         (sin_test_data): Likewise.
50805         (sincos_test_data): Likewise.
50806         (sinh_test_data): Likewise.
50807         (tan_test_data): Likewise.
50808         (tanh_test_data): Likewise.
50809         (tgamma_test_data): Likewise.
50810         (y0_test_data): Likewise.
50811         (y1_test_data): Likewise.
50812         (yn_test_data): Likewise.
50814         [BZ #16167]
50815         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50816         argument being NaN and avoid computations with second argument in
50817         that case.
50818         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50819         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50820         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50822 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
50824         * locale/iso-639.def: Add Chitwani Tharu (the).
50826 2013-11-14  Andreas Schwab  <schwab@suse.de>
50828         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50829         word instead of empty string.
50831 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50834         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50836         (__fe_nomask_env): Likewise.
50838 2013-11-13  Steve Ellcey  <sellcey@mips.com>
50840         * benchtests/bench-timing.h: Include time.h.
50842 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
50844         [BZ #15997]
50845         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50846         to 3.4.0 for x32.
50847         * sysdeps/unix/sysv/linux/configure: Regenerated.
50849 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
50851         [BZ #16151]
50852         * stdlib/strtod_l.c (round_and_return): Do not consider
50853         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50854         exponent one less than half the least subnormal exponent.
50855         * stdlib/test-strtod-round-data: Add more tests.
50856         * stdlib/tst-strtod-round.c (tests): Regenerated.
50858 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50860         [BZ #14143]
50861         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50862         (__fe_mask_env): Likewise.
50863         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50864         libm_hidden_proto and add function prototype.
50865         (__fe_mask_env): Add function prototype.
50866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50867         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50869         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50871         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50873 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50875         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50876         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50878 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50880         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50881         of htab_find_slot().
50883 2013-11-11  David S. Miller  <davem@davemloft.net>
50885         [BZ #16150]
50886         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50887         symbol in the non-vis3 case in static builds.
50888         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50889         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50890         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50891         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50893 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
50895         [BZ #387]
50896         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50897         it is empty.
50899 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50901         * benchtests/Makefile: Add bench-strtod.
50902         * benchtests/bench-strtod.c: New file: strtod benchtest
50904 2013-11-11  Andreas Schwab  <schwab@suse.de>
50906         [BZ #16153]
50907         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50908         terminating NUL in key length.
50910 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50912         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50913         Add artificial ODP entry for vDSO symbol for PPC64.
50914         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50915         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50917 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50919         [BZ #15374]
50920         * nss/getent.c (services_keys): Recognize services starting with digit.
50922 2013-11-06  David S. Miller  <davem@davemloft.net>
50924         [BZ #15985]
50925         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50926         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50928 2013-11-06  Will Newton  <will.newton@linaro.org>
50930         * manual/memory.texi (Malloc Examples): Remove register
50931         keyword from examples.
50933 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
50935         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50937 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
50939         [BZ #6981]
50940         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50941         depending on [__GCC_IEC_559 > 0].
50942         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50943         depending on [__GCC_IEC_559_COMPLEX > 0].
50945 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
50947         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50948         to iso-639.def.
50950 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
50952         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50954 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
50956         [BZ #16112]
50957         * malloc/malloc (malloc_info): Do not handle first bin as
50958         special case.
50960 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
50962         * locale/iso-639.def: Add Central Nahuatl (nhn).
50964 2013-11-01  Bruno Haible  <bruno@clisp.org>
50966         [BZ #7003]
50967         * manual/math.texi (BSD Random): Specify range upper bound as
50968         in POSIX.
50970 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
50972         * locale/iso-639.def: Add Meadow Mari (mhr).
50974 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
50976         [BZ #14752], [BZ #15763]
50977         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50978         Validate name.
50979         * rt/tst_shm.c: Add test for escaping directory.
50981 2013-10-31  Andreas Schwab  <schwab@suse.de>
50983         [BZ #15917]
50984         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50985         followed by 'x' as part of digit sequence.
50986         * stdio-common/tst-sscanf.c (double_tests2): New tests.
50988 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50990         [BZ #16037]
50991         * configure.ac: allow GNU Make 4.0 and greater.
50992         * configure: Regenerated.
50994 2013-10-30  Will Newton  <will.newton@linaro.org>
50996         [BZ #16038]
50997         * malloc/hooks.c (memalign_check): Limit alignment to the
50998         maximum representable power of two.
50999         * malloc/malloc.c (__libc_memalign): Likewise.
51000         * malloc/tst-memalign.c (do_test): Add test for very
51001         large alignment values.
51002         * malloc/tst-posix_memalign.c (do_test): Likewise.
51004 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
51006         [BZ #11087]
51007         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
51008         (munmap_chunk): Likewise.
51009         (mremap_chunk): Likewise.
51011 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
51013         [BZ #15799]
51014         * stdlib/div.c (div): Remove obsolete code.
51015         * stdlib/ldiv.c (ldiv): Likewise.
51016         * stdlib/lldiv.c (lldiv): Likewise.
51018 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51020         [BZ #16071]
51021         * nss/nss_files/files-XXX.c (get_contents_ret): New
51022         enumerator.
51023         (get_contents): New function.
51024         (internal_getent): Use it.  Expand size of LINEBUFLEN.
51026 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
51028         * configure.in: Moved to ...
51029         * configure.ac: ... here. Change reference to configure.in
51030         to configure.ac.
51031         * sysdeps/arm/preconfigure.ac: ... here.
51032         configure.in to configure.ac.
51033         * sysdeps/gnu/configure.in: Moved to ...
51034         * sysdeps/gnu/configure.ac: ... here.
51035         * sysdeps/i386/configure.in: Moved to ...
51036         * sysdeps/i386/configure.ac: ... here.
51037         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51038         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51039         * sysdeps/mach/configure.in: Moved to ...
51040         * sysdeps/mach/configure.ac: ... here.
51041         * sysdeps/mach/hurd/configure.in: Moved to ...
51042         * sysdeps/mach/hurd/configure.ac: ... here.
51043         * sysdeps/powerpc/configure.in: Moved to ...
51044         * sysdeps/powerpc/configure.ac: ... here.
51045         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51046         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51047         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51048         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51049         * sysdeps/s390/s390-32/configure.in: Moved to ...
51050         * sysdeps/s390/s390-32/configure.ac: ... here.
51051         * sysdeps/s390/s390-64/configure.in: Moved to ...
51052         * sysdeps/s390/s390-64/configure.ac: ... here.
51053         * sysdeps/sh/configure.in: Moved to ...
51054         * sysdeps/sh/configure.ac: ... here.
51055         * sysdeps/sparc/configure.in: Moved to ...
51056         * sysdeps/sparc/configure.ac: ... here.
51057         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51058         * sysdeps/unix/sysv/linux/configure.ac: ... here.
51059         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51060         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51061         * sysdeps/x86_64/configure.in: Moved to ...
51062         * sysdeps/x86_64/configure.ac: ... here.
51063         * sysdeps/x86_64/preconfigure.in: Moved to ...
51064         * sysdeps/x86_64/preconfigure.ac: ... here.
51065         * aclocal.m4: Change reference to configure.in to configure.ac.
51066         * config.h.in: Likewise.
51067         * manual/install.texi: Likewise.
51068         * manual/maint.texi: Likewise.
51069         * Makefile: Likewise.
51070         * malloc/Makefile: Likewise.
51071         * nscd/Makefile: Likewise.
51072         * Makeconfig: Change reference to configure.in and
51073         preconfigure.in to configure.ac and preconfigure.ac
51074         respectively.
51075         * INSTALL: Regenerated.
51076         * configure: Likewise.
51077         * sysdeps/gnu/configure: Likewise.
51078         * sysdeps/i386/configure: Likewise.
51079         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51080         * sysdeps/mach/configure: Likewise.
51081         * sysdeps/mach/hurd/configure: Likewise.
51082         * sysdeps/powerpc/configure: Likewise.
51083         * sysdeps/powerpc/powerpc32/configure: Likewise.
51084         * sysdeps/powerpc/powerpc64/configure: Likewise.
51085         * sysdeps/s390/s390-32/configure: Likewise.
51086         * sysdeps/s390/s390-64/configure: Likewise.
51087         * sysdeps/sh/configure: Likewise.
51088         * sysdeps/sparc/configure: Likewise.
51089         * sysdeps/unix/sysv/linux/configure: Likewise.
51090         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51091         * sysdeps/x86_64/configure: Likewise.
51092         * sysdeps/x86_64/preconfigure: Likewise.
51094 2013-10-29  Andreas Schwab  <schwab@suse.de>
51096         * stdio-common/Makefile (tst-swscanf-ENV): Define.
51098 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51100         * benchtests/pow-inputs: Add new inputs.
51102         * benchtests/exp-inputs: Add new inputs.
51104         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51105         conditional check for return value.
51106         (__cos32): Likewise.
51108 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51110         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51111         to provide a boost for large inputs with word alignment.
51112         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51113         implementation based on optimized PPC64 strcpy.
51114         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51115         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51116         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51117         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51119 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51121         [BZ #2801]
51122         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51124 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51126         [BZ #14876]
51127         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51128         * time/tst-strptime.c (day_tests): Add testcase.
51130 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51132         [BZ #14029]
51133         * manual/pattern.texi: Acknowledge that fnmatch can fail.
51135 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
51137         [BZ #16074]
51138         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51139         MAP_FAILED on error.
51141 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51143         [BZ #16072]
51144         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51145         heap for large requests.
51147 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
51149         [BZ #9954]
51150         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51151         result if the result has no associated interface.
51152         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51153         interface for all 127.X.Y.Z addresses.
51155 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
51157         * locale/iso-639.def: Add Ligurian (lij)
51159 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
51161         [BZ #15825]
51162         * sunrpc/rpc_main.c: Document rpcgen -5.
51164 2013-10-19  Michael Stahl  <mstahl@redhat.com>
51166         * elf/rtld.c (do_preload): Print the reason why preloading failed.
51168 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51170         [BZ #10278]
51171         * posix/glob.c: Match only directories when trailing slash is present.
51172         * posix/tst-gnuglob.c (my_opendir): Do not open files.
51173         (main): Add testcase.
51175 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51177         [BZ #15670]
51178         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51180 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
51182         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51183         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51184         AUTH_DES and cindex for FIPS 140-2.
51185         (DES Encryption): Add cindex FIPS 46-3.
51187         * locale/locarchive.h (struct locarhandle): Add fname.
51188         * locale/programs/localedef.c (main): Pass ARGV[remaining]
51189         if an optional argument was specified to --list-archive,
51190         otherwise NULL.
51191         * locale/programs/locarchive.c (show_archive_content): Take new
51192         argument fname and pass it via ah.fname to open_archive.
51193         * locale/programs/localedef.h: Update decl.
51194         (open_archive): If AH->fname is non-null, open that file
51195         rather than the default file name, and don't ignore ENOENT.
51196         (create_archive): Set AH.fname to NULL.
51197         (delete_locales_from_archive): Likewise.
51198         (add_locales_to_archive): Likewise.
51199         * locale/programs/locfile.c (write_all_categories): Likewise.
51201 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
51202             Aldy Hernandez  <aldyh@redhat.com>
51204         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51205         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51206         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51207         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51208         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51209         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51210         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51211         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51212         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51213         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51214         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51215         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51216         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51217         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51218         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51219         Likewise.
51220         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51221         Likewise.
51222         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51223         Likewise.
51224         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51225         Likewise.
51226         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51227         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51228         Likewise.
51229         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51230         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51231         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51232         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51233         Likewise.
51234         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51235         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51236         * sysdeps/powerpc/preconfigure: Likewise.
51237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51238         Likewise.
51239         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51240         Replace contents of file by #include of <fenv_libc.h>.
51241         * sysdeps/powerpc/soft-fp/sfp-machine.h
51242         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51243         and <sys/prctl.h>.
51244         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51245         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51246         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51247         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51248         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51249         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51251         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51252         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51253         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51254         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51255         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51257         Allow copysignl PLT reference to be missing.
51259 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
51260             Joseph Myers  <joseph@codesourcery.com
51262         [BZ #15948]
51263         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51264         single character.
51265         (add_to_tablewc): Assert sequence of wide characters is nonempty.
51267 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51269         * elf/tst-tls-dlinfo.c: Don't include tls.h.
51270         * elf/tst-tls1.c: Likewise.
51271         * elf/tst-tls10.h: Likewise.
51272         * elf/tst-tls14.c: Likewise.
51273         * elf/tst-tls2.c: Likewise.
51274         * elf/tst-tls3.c: Likewise.
51275         * elf/tst-tls4.c: Likewise.
51276         * elf/tst-tls5.c: Likewise.
51277         * elf/tst-tls6.c: Likewise.
51278         * elf/tst-tls7.c: Likewise.
51279         * elf/tst-tls8.c: Likewise.
51280         * elf/tst-tls9.c: Likewise.
51281         * elf/tst-tlsmod1.c: Likewise.
51282         * elf/tst-tlsmod13.c: Likewise.
51283         * elf/tst-tlsmod13a.c: Likewise.
51284         * elf/tst-tlsmod14a.c: Likewise.
51285         * elf/tst-tlsmod16a.c: Likewise.
51286         * elf/tst-tlsmod16b.c: Likewise.
51287         * elf/tst-tlsmod2.c: Likewise.
51288         * elf/tst-tlsmod3.c: Likewise.
51289         * elf/tst-tlsmod4.c: Likewise.
51290         * elf/tst-tlsmod5.c: Likewise.
51291         * elf/tst-tlsmod6.c: Likewise.
51293 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
51295         [BZ #12486]
51296         * malloc/malloc.c: remove checks for statistics.
51298 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51300         [BZ #15277]
51301         * inet/inet_net.c (inet_network): Detect additional invalid strings.
51302         * inet/tst-network.c: Add testcase.
51304 2013-10-17  Andreas Schwab  <schwab@suse.de>
51306         [BZ #15218]
51307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51308         to determine canonical name.
51310 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51312         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51313         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51314         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51315         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51316         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51317         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51318         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51319         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51320         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51321         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51322         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51323         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51324         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51325         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51326         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51327         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51328         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51329         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51330         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51331         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51332         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51333         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51334         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51335         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51336         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51337         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51338         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51339         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51340         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51341         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51342         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51343         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51344         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51345         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51346         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51347         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51348         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51349         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51350         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51351         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51352         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51353         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51354         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51355         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51356         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51357         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51358         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51359         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51360         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51361         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51362         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51363         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51364         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51365         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51366         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51367         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51368         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51369         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51371 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
51373         [BZ #16041]
51374         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51375         make result into a quiet NaN.
51377 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
51379         * soft-fp/adddf3.c: Fix horizontal whitespace.
51380         * soft-fp/addsf3.c: Likewise.
51381         * soft-fp/addtf3.c: Likewise.
51382         * soft-fp/divdf3.c: Likewise.
51383         * soft-fp/divsf3.c: Likewise.
51384         * soft-fp/divtf3.c: Likewise.
51385         * soft-fp/double.h: Likewise.
51386         * soft-fp/eqdf2.c: Likewise.
51387         * soft-fp/eqsf2.c: Likewise.
51388         * soft-fp/eqtf2.c: Likewise.
51389         * soft-fp/extenddftf2.c: Likewise.
51390         * soft-fp/extended.h: Likewise.
51391         * soft-fp/extendsfdf2.c: Likewise.
51392         * soft-fp/extendsftf2.c: Likewise.
51393         * soft-fp/extendxftf2.c: Likewise.
51394         * soft-fp/fixdfdi.c: Likewise.
51395         * soft-fp/fixdfsi.c: Likewise.
51396         * soft-fp/fixdfti.c: Likewise.
51397         * soft-fp/fixsfdi.c: Likewise.
51398         * soft-fp/fixsfsi.c: Likewise.
51399         * soft-fp/fixsfti.c: Likewise.
51400         * soft-fp/fixtfdi.c: Likewise.
51401         * soft-fp/fixtfsi.c: Likewise.
51402         * soft-fp/fixtfti.c: Likewise.
51403         * soft-fp/fixunsdfdi.c: Likewise.
51404         * soft-fp/fixunsdfsi.c: Likewise.
51405         * soft-fp/fixunsdfti.c: Likewise.
51406         * soft-fp/fixunssfdi.c: Likewise.
51407         * soft-fp/fixunssfsi.c: Likewise.
51408         * soft-fp/fixunssfti.c: Likewise.
51409         * soft-fp/fixunstfdi.c: Likewise.
51410         * soft-fp/fixunstfsi.c: Likewise.
51411         * soft-fp/fixunstfti.c: Likewise.
51412         * soft-fp/floatdidf.c: Likewise.
51413         * soft-fp/floatdisf.c: Likewise.
51414         * soft-fp/floatditf.c: Likewise.
51415         * soft-fp/floatsidf.c: Likewise.
51416         * soft-fp/floatsisf.c: Likewise.
51417         * soft-fp/floatsitf.c: Likewise.
51418         * soft-fp/floattidf.c: Likewise.
51419         * soft-fp/floattisf.c: Likewise.
51420         * soft-fp/floattitf.c: Likewise.
51421         * soft-fp/floatundidf.c: Likewise.
51422         * soft-fp/floatundisf.c: Likewise.
51423         * soft-fp/floatunditf.c: Likewise.
51424         * soft-fp/floatunsidf.c: Likewise.
51425         * soft-fp/floatunsisf.c: Likewise.
51426         * soft-fp/floatunsitf.c: Likewise.
51427         * soft-fp/floatuntidf.c: Likewise.
51428         * soft-fp/floatuntisf.c: Likewise.
51429         * soft-fp/floatuntitf.c: Likewise.
51430         * soft-fp/fmadf4.c: Likewise.
51431         * soft-fp/fmasf4.c: Likewise.
51432         * soft-fp/fmatf4.c: Likewise.
51433         * soft-fp/gedf2.c: Likewise.
51434         * soft-fp/gesf2.c: Likewise.
51435         * soft-fp/getf2.c: Likewise.
51436         * soft-fp/ledf2.c: Likewise.
51437         * soft-fp/lesf2.c: Likewise.
51438         * soft-fp/letf2.c: Likewise.
51439         * soft-fp/muldf3.c: Likewise.
51440         * soft-fp/mulsf3.c: Likewise.
51441         * soft-fp/multf3.c: Likewise.
51442         * soft-fp/negdf2.c: Likewise.
51443         * soft-fp/negsf2.c: Likewise.
51444         * soft-fp/negtf2.c: Likewise.
51445         * soft-fp/op-1.h: Likewise.
51446         * soft-fp/op-2.h: Likewise.
51447         * soft-fp/op-4.h: Likewise.
51448         * soft-fp/op-8.h: Likewise.
51449         * soft-fp/op-common.h: Likewise.
51450         * soft-fp/quad.h: Likewise.
51451         * soft-fp/single.h: Likewise.
51452         * soft-fp/soft-fp.h: Likewise.
51453         * soft-fp/sqrtdf2.c: Likewise.
51454         * soft-fp/sqrtsf2.c: Likewise.
51455         * soft-fp/sqrttf2.c: Likewise.
51456         * soft-fp/subdf3.c: Likewise.
51457         * soft-fp/subsf3.c: Likewise.
51458         * soft-fp/subtf3.c: Likewise.
51459         * soft-fp/truncdfsf2.c: Likewise.
51460         * soft-fp/trunctfdf2.c: Likewise.
51461         * soft-fp/trunctfsf2.c: Likewise.
51462         * soft-fp/trunctfxf2.c: Likewise.
51463         * soft-fp/unorddf2.c: Likewise.
51464         * soft-fp/unordsf2.c: Likewise.
51465         * soft-fp/unordtf2.c: Likewise.
51467 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
51469         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51470         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51472 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
51474         * elf/dl-libc.c: Clear initfini list after freeing.
51476 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
51478         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51479         * soft-fp/addsf3.c: Likewise.
51480         * soft-fp/addtf3.c: Likewise.
51481         * soft-fp/divdf3.c: Likewise.
51482         * soft-fp/divsf3.c: Likewise.
51483         * soft-fp/divtf3.c: Likewise.
51484         * soft-fp/double.h: Likewise.
51485         * soft-fp/eqdf2.c: Likewise.
51486         * soft-fp/eqsf2.c: Likewise.
51487         * soft-fp/eqtf2.c: Likewise.
51488         * soft-fp/extenddftf2.c: Likewise.
51489         * soft-fp/extended.h: Likewise.
51490         * soft-fp/extendsfdf2.c: Likewise.
51491         * soft-fp/extendsftf2.c: Likewise.
51492         * soft-fp/extendxftf2.c: Likewise.
51493         * soft-fp/fixdfdi.c: Likewise.
51494         * soft-fp/fixdfsi.c: Likewise.
51495         * soft-fp/fixdfti.c: Likewise.
51496         * soft-fp/fixsfdi.c: Likewise.
51497         * soft-fp/fixsfsi.c: Likewise.
51498         * soft-fp/fixsfti.c: Likewise.
51499         * soft-fp/fixtfdi.c: Likewise.
51500         * soft-fp/fixtfsi.c: Likewise.
51501         * soft-fp/fixtfti.c: Likewise.
51502         * soft-fp/fixunsdfdi.c: Likewise.
51503         * soft-fp/fixunsdfsi.c: Likewise.
51504         * soft-fp/fixunsdfti.c: Likewise.
51505         * soft-fp/fixunssfdi.c: Likewise.
51506         * soft-fp/fixunssfsi.c: Likewise.
51507         * soft-fp/fixunssfti.c: Likewise.
51508         * soft-fp/fixunstfdi.c: Likewise.
51509         * soft-fp/fixunstfsi.c: Likewise.
51510         * soft-fp/fixunstfti.c: Likewise.
51511         * soft-fp/floatdidf.c: Likewise.
51512         * soft-fp/floatdisf.c: Likewise.
51513         * soft-fp/floatditf.c: Likewise.
51514         * soft-fp/floatsidf.c: Likewise.
51515         * soft-fp/floatsisf.c: Likewise.
51516         * soft-fp/floatsitf.c: Likewise.
51517         * soft-fp/floattidf.c: Likewise.
51518         * soft-fp/floattisf.c: Likewise.
51519         * soft-fp/floattitf.c: Likewise.
51520         * soft-fp/floatundidf.c: Likewise.
51521         * soft-fp/floatundisf.c: Likewise.
51522         * soft-fp/floatunsidf.c: Likewise.
51523         * soft-fp/floatunsisf.c: Likewise.
51524         * soft-fp/floatuntidf.c: Likewise.
51525         * soft-fp/floatuntisf.c: Likewise.
51526         * soft-fp/floatuntitf.c: Likewise.
51527         * soft-fp/fmadf4.c: Likewise.
51528         * soft-fp/fmasf4.c: Likewise.
51529         * soft-fp/fmatf4.c: Likewise.
51530         * soft-fp/gedf2.c: Likewise.
51531         * soft-fp/gesf2.c: Likewise.
51532         * soft-fp/getf2.c: Likewise.
51533         * soft-fp/ledf2.c: Likewise.
51534         * soft-fp/lesf2.c: Likewise.
51535         * soft-fp/letf2.c: Likewise.
51536         * soft-fp/muldf3.c: Likewise.
51537         * soft-fp/mulsf3.c: Likewise.
51538         * soft-fp/multf3.c: Likewise.
51539         * soft-fp/negdf2.c: Likewise.
51540         * soft-fp/negsf2.c: Likewise.
51541         * soft-fp/negtf2.c: Likewise.
51542         * soft-fp/op-1.h: Likewise.
51543         * soft-fp/op-2.h: Likewise.
51544         * soft-fp/op-4.h: Likewise.
51545         * soft-fp/op-8.h: Likewise.
51546         * soft-fp/op-common.h: Likewise.
51547         * soft-fp/quad.h: Likewise.
51548         * soft-fp/single.h: Likewise.
51549         * soft-fp/soft-fp.h: Likewise.
51550         * soft-fp/sqrtdf2.c: Likewise.
51551         * soft-fp/sqrtsf2.c: Likewise.
51552         * soft-fp/sqrttf2.c: Likewise.
51553         * soft-fp/subdf3.c: Likewise.
51554         * soft-fp/subsf3.c: Likewise.
51555         * soft-fp/subtf3.c: Likewise.
51556         * soft-fp/truncdfsf2.c: Likewise.
51557         * soft-fp/trunctfdf2.c: Likewise.
51558         * soft-fp/trunctfsf2.c: Likewise.
51559         * soft-fp/trunctfxf2.c: Likewise.
51560         * soft-fp/unorddf2.c: Likewise.
51561         * soft-fp/unordsf2.c: Likewise.
51562         * soft-fp/unordtf2.c: Likewise.
51564 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
51566         [BZ #15672]
51567         * misc/error.c (error_tail): Fix possible buffer overflow.
51569 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
51571         [BZ #13028]
51572         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
51573         address.
51575 2013-10-14  P. J. McDermott  <pj@pehjota.net>
51577         [BZ #832]
51578         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
51579         testing pipefail option.
51581 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51583         * soft-fp/double.h: Indent preprocessor directives inside #if.
51584         * soft-fp/extended.h: Likewise.
51585         * soft-fp/op-2.h: Likewise.
51586         * soft-fp/op-4.h: Likewise.
51587         * soft-fp/op-common.h: Likewise.
51588         * soft-fp/quad.h: Likewise.
51589         * soft-fp/single.h: Likewise.
51590         * soft-fp/soft-fp.h: Likewise.
51592 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
51594         * iconv/iconv_prog.c: Fix typos.
51595         * stdio-common/psiginfo-data.h: Likewise.
51597 2013-10-12   Reuben Thomas <rrt@sc3d.org>
51599         [BZ #15764]
51600         * locale/setlocale.c: Fix typo.
51602 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51604         [BZ #16036]
51605         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51606         signaling NaN arguments.
51607         * soft-fp/unordsf2.c (__unordsf2): Likewise.
51608         * soft-fp/unordtf2.c (__unordtf2): Likewise.
51610         [BZ #14910]
51611         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51612         unordered operands.
51613         * soft-fp/gesf2.c (__gesf2): Likewise.
51614         * soft-fp/getf2.c (__getf2): Likewise.
51615         * soft-fp/ledf2.c (__ledf2): Likewise.
51616         * soft-fp/lesf2.c (__lesf2): Likewise.
51617         * soft-fp/letf2.c (__letf2): Likewise.
51619         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51620         * soft-fp/eqsf2.c (__eqsf2): Likewise.
51621         * soft-fp/eqtf2.c (__eqtf2): Likewise.
51622         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51623         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51624         * soft-fp/fixdfti.c (__fixdfti): Likewise.
51625         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51626         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51627         * soft-fp/fixsfti.c (__fixsfti): Likewise.
51628         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51629         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51630         * soft-fp/fixtfti.c (__fixtfti): Likewise.
51631         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51632         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51633         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51634         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51635         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51636         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51637         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51638         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51639         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51640         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51641         * soft-fp/floatdisf.c (__floatdisf): Likewise.
51642         * soft-fp/floatsisf.c (__floatsisf): Likewise.
51643         * soft-fp/floattidf.c (__floattidf): Likewise.
51644         * soft-fp/floattisf.c (__floattisf): Likewise.
51645         * soft-fp/floattitf.c (__floattitf): Likewise.
51646         * soft-fp/floatundidf.c (__floatundidf): Likewise.
51647         * soft-fp/floatundisf.c (__floatundisf): Likewise.
51648         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51649         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51650         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51651         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51652         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51653         * soft-fp/gesf2.c (__gesf2): Likewise.
51654         * soft-fp/getf2.c (__getf2): Likewise.
51655         * soft-fp/ledf2.c (__ledf2): Likewise.
51656         * soft-fp/lesf2.c (__lesf2): Likewise.
51657         * soft-fp/letf2.c (__letf2): Likewise.
51659         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51660         Undefine and redefine.
51661         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51662         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51663         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51664         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51665         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51666         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51667         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51668         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51669         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51670         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51671         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51672         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51673         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51674         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51675         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51677         [BZ #16032]
51678         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51679         without decrementing exponent if mantissa >= that for the
51680         denominator, not >.
51681         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51682         denominator, not >.  Decrement exponent in < case instead of
51683         incrementing in >= case.
51684         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51685         without decrementing exponent if mantissa >= that for the
51686         denominator, not >.
51688         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51689         computing saturated result for unsigned overflow.
51691 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51692             Jeff Law  <law@redhat.com>
51694         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51695         (atan2Mp): Add systemtap probe marker.
51696         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51697         (__ieee754_log): Add systemtap probe marker.
51698         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51699         (atanMp): Add systemtap probe marker.
51700         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51701         (tanMp): Add systemtap probe marker.
51702         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51703         (__slowexp): Add systemtap probe marker.
51704         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51705         (__slowpow): Add systemtap probe marker.
51706         * manual/probes.texi: Document probes.
51708 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
51710         [BZ #15362]
51711         * libio/fileops.c (_IO_new_file_write): Return count of bytes
51712         written.
51713         (_IO_new_file_xsputn): Don't return EOF if nothing has been
51714         written.
51715         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51716         written to buffer but not flushed.
51717         * libio/iofwrite_u.c:  Likewise.
51718         * libio/iopadn.c:  Return bytes returned even if EOF was
51719         encountered.
51720         * libio/iowpadn.c:  Likewise.
51721         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51722         if _IO_padn does not write the whole buffer.
51723         [!COMPILE_WPRINTF] (PAD): Likewise.
51725 2013-10-10  David S. Miller  <davem@davemloft.net>
51727         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51728         directory block.
51730 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51732         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
51733         instead of FSF address.
51734         * soft-fp/fixdfti.c: Likewise.
51735         * soft-fp/fixsfti.c: Likewise.
51736         * soft-fp/fixtfti.c: Likewise.
51737         * soft-fp/fixunsdfti.c: Likewise.
51738         * soft-fp/fixunssfti.c: Likewise.
51739         * soft-fp/fixunstfti.c: Likewise.
51740         * soft-fp/floattidf.c: Likewise.
51741         * soft-fp/floattisf.c: Likewise.
51742         * soft-fp/floattitf.c: Likewise.
51743         * soft-fp/floatuntidf.c: Likewise.
51744         * soft-fp/floatuntisf.c: Likewise.
51745         * soft-fp/floatuntitf.c: Likewise.
51746         * soft-fp/trunctfxf2.c: Likewise.
51748         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
51749         * soft-fp/fixdfti.c: Likewise.
51750         * soft-fp/fixsfti.c: Likewise.
51751         * soft-fp/fixtfti.c: Likewise.
51752         * soft-fp/fixunsdfti.c: Likewise.
51753         * soft-fp/fixunssfti.c: Likewise.
51754         * soft-fp/fixunstfti.c: Likewise.
51755         * soft-fp/floattidf.c: Likewise.
51756         * soft-fp/floattisf.c: Likewise.
51757         * soft-fp/floattitf.c: Likewise.
51758         * soft-fp/floatuntidf.c: Likewise.
51759         * soft-fp/floatuntisf.c: Likewise.
51760         * soft-fp/floatuntitf.c: Likewise.
51761         * soft-fp/trunctfxf2.c: Likewise.
51763 2013-10-10  David S. Miller  <davem@davemloft.net>
51765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51767 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
51769         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51770         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51771         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51772         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51773         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51774         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51775         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51777         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51778         for NaNs before doing comparisons on argument.
51779         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51780         Likewise.
51782 2013-10-10  Will Newton  <will.newton@linaro.org>
51784         * malloc/hooks.c (memalign_check): Ensure the value of bytes
51785         passed to _int_memalign does not overflow.
51787 2013-10-10  Torvald Riegel  <triegel@redhat.com>
51789         * scripts/bench.pl: Add include-sources directive.
51790         * benchtests/README: Update documentation.
51792 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51794         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51795         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51796         instead of FP_INIT_ROUNDMODE.
51797         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51798         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51800         [BZ #16034]
51801         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
51802         copy class of input value.
51803         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
51804         not handle exceptions.
51805         * soft-fp/negsf2.c (__negsf2): Likewise.
51806         * soft-fp/negtf2.c (__negtf2): Likewise.
51807         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51809 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
51811         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51812         semicolon.  From Linux kernel.
51814 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
51816         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51818 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
51820         [BZ #156]
51821         * manual/socket.texi: Added statement about buffer
51822         for gethostbyname2_r.
51824 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
51826         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51827         Use .p2align directive instead, throughout.
51828         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51829         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51830         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51831         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51832         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51833         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51834         * sysdeps/x86_64/strchr.S: Likewise.
51835         * sysdeps/x86_64/strrchr.S: Likewise.
51837 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51839         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51841         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51843         * sysdeps/generic/math_private.h (__mpsin1): Remove
51844         declaration.
51845         (__mpcos1): Likewise.
51846         (__mpsin): New argument __range_reduce.
51847         (__mpcos): Likewise.
51848         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51849         (slow): Use __mpsin and __mpcos.
51850         (slow1): Likewise.
51851         (slow2): Likewise.
51852         (sloww): Likewise.
51853         (sloww1): Likewise.
51854         (sloww2): Likewise.
51855         (bsloww): Likewise.
51856         (bsloww1): Likewise.
51857         (bsloww2): Likewise.
51858         (cslow2): Likewise.
51859         (csloww): Likewise.
51860         (csloww1): Likewise.
51861         (csloww2): Likewise.
51862         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51863         range_reduce.  Merge in __mpsin1.
51864         (__mpcos): Likewise.
51865         (__mpsin1): Remove.
51866         (__mpcos1): Likewise.
51868 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
51870         * locale/loadlocale.c (_nl_intern_locale_data): Use
51871         LOCFILE_ALIGNED_P.
51872         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51873         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51874         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51875         obstack data is appropriately aligned.
51876         (obstack_int32_grow_fast): Likewise.
51877         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51878         * locale/programs/locfile.c (add_locale_uint32): Likewise.
51879         (add_locale_uint32_array): Likewise.
51881 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51883         * benchtests/Makefile: Remove ARGLIST and RET variables.
51884         ($(objpfx)bench-%.c): Pass only function name to the script.
51885         * benchtests/README: Update documentation.
51886         * benchtests/acos-inputs: Add new directives.
51887         * benchtests/acosh-inputs: Likewise.
51888         * benchtests/asin-inputs: Likewise.
51889         * benchtests/asinh-inputs: Likewise.
51890         * benchtests/atan-inputs: Likewise.
51891         * benchtests/atanh-inputs: Likewise.
51892         * benchtests/cos-inputs: Likewise.
51893         * benchtests/cosh-inputs: Likewise.
51894         * benchtests/exp-inputs: Likewise.
51895         * benchtests/log-inputs: Likewise.
51896         * benchtests/pow-inputs: Likewise.
51897         * benchtests/rint-inputs: Likewise.
51898         * benchtests/sin-inputs: Likewise.
51899         * benchtests/sinh-inputs: Likewise.
51900         * benchtests/tan-inputs: Likewise.
51901         * benchtests/tanh-inputs: Likewise.
51902         * scripts/bench.pl: Add support for new directives.
51904 2013-10-07  Alan Modra  <amodra@gmail.com>
51906         * README: Fix careless merge.
51908 2013-10-05  Alan Modra  <amodra@gmail.com>
51910         * NEWS: Mention powerpc64le support and bugs fixed.
51911         * README: Both big-endian and little-endian powerpc64 supported.
51913 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51915         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51916         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51917         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51918         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51920 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
51922         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51923         match prototype.
51925 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
51927         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51928         Move -mhard-float appending from
51929         ports/sysdeps/powerpc/powerpc32/Makefile.
51930         [$(with-fp) = yes] (ASFLAGS): Likewise.
51931         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51932         * sysdeps/powerpc/nofpu: Move directory from
51933         ports/sysdeps/powerpc/nofpu.
51934         * sysdeps/powerpc/soft-fp: Move directory from
51935         ports/sysdeps/powerpc/soft-fp.
51936         * sysdeps/powerpc/powerpc32/405: Move directory from
51937         ports/sysdeps/powerpc/powerpc32/405.
51938         * sysdeps/powerpc/powerpc32/440: Move directory from
51939         ports/sysdeps/powerpc/powerpc32/440.
51940         * sysdeps/powerpc/powerpc32/464: Move directory from
51941         ports/sysdeps/powerpc/powerpc32/464.
51942         * sysdeps/powerpc/powerpc32/476: Move directory from
51943         ports/sysdeps/powerpc/powerpc32/476.
51944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51945         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51947         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51949         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51951         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51953         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51954         * README: Update for powerpc-*-linux-gnu software floating point
51955         support in libc.
51957         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51958         case to powerpc/powerpc32*.
51959         * sysdeps/unix/sysv/linux/configure: Regenerated.
51961         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51962         (_FPU_MASK_OM): Define as 0x04.
51963         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51964         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51965         0x00c10080.
51966         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51967         0x0000003c.
51968         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51971         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51972         getcontext_e500.
51973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51974         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51975         setcontext_e500.
51976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51977         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51978         and setcontext_e500.
51980 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
51982         * locale/iso-3166.def: Update iso-1366.def and related occurrences
51984 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51986         * manual/threads.texi (Default Thread Attributes): Fix typo.
51988 2013-10-04  Will Newton  <will.newton@linaro.org>
51990         * malloc/Makefile: Add tst-memalign.
51991         * malloc/tst-memalign.c: New file.
51993         * malloc/tst-posix_memalign.c: Add comments.
51994         (do_test): Add comments and call free on all potentially
51995         allocated pointers. Add space after cast.
51997         * malloc/tst-pvalloc.c: Add comments.
51998         (do_test): Add comments and call free on all potentially
51999         allocated pointers. Remove duplicate check for NULL pointer.
52000         Add space after cast.
52002         * malloc/tst-valloc.c: Add comments.
52003         (do_test): Add comments and call free on all potentially
52004         allocated pointers. Remove duplicate check for NULL pointer.
52005         Add space after cast.
52007 2013-10-04  Alan Modra  <amodra@gmail.com>
52009         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52010         Use stdint types in rather than __attribute__((mode())).
52011         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52013 2013-10-04  Alan Modra  <amodra@gmail.com>
52015         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52016         Correct handling of unaligned relocs for little-endian.
52017         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52019 2013-10-04  Alan Modra  <amodra@gmail.com>
52021         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
52022         * configure: Regenerate.
52023         * nptl/shlib-versions: Powerpc*le starts at 2.18.
52024         * shlib-versions: Likewise.
52026 2013-10-04  Alan Modra  <amodra@gmail.com>
52028         * string/tester.c (test_memrchr): Increment reported test cycle.
52030 2013-10-04  Alan Modra  <amodra@gmail.com>
52032         * string/test-memcpy.c (do_one_test): When reporting errors, print
52033         string address and don't overrun end of string.
52035 2013-10-04  Alan Modra  <amodra@gmail.com>
52037         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52038         insrdi.  Make better use of reg selection to speed exit slightly.
52039         Schedule entry path a little better.  Remove useless "are we done"
52040         checks on entry to main loop.  Handle wrapping around zero address.
52041         Correct main loop count.  Handle single left-over word from main
52042         loop inline rather than by using loop_small.  Remove extra word
52043         case in loop_small caused by wrong loop count.  Add little-endian
52044         support.
52045         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52046         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
52047         cache hint.
52048         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52049         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52050         support.  Avoid rlwimi.
52051         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52053 2013-10-04  Alan Modra  <amodra@gmail.com>
52055         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52056         insrdi.  Formatting.
52057         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52058         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52059         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52060         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52061         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52062         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52064 2013-10-04  Alan Modra  <amodra@gmail.com>
52066         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52067         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52068         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52069         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52070         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52071         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52072         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52073         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52074         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
52075         use of regs.  Use power7 mtocrf.  Tidy function tails.
52077 2013-10-04  Alan Modra  <amodra@gmail.com>
52079         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52080         Formatting.  Consistently use rXXX register defines or rN defines.
52081         Use early exit labels that avoid restoring unused non-volatile regs.
52082         Make cr field use more consistent with rWORDn compares.  Rename
52083         regs used as shift registers for unaligned loop, using rN defines
52084         for short lifetime/multiple use regs.
52085         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52086         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
52087         addi 1,1,64 to pop stack frame.  Simplify return value code.
52088         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52090 2013-10-04  Alan Modra  <amodra@gmail.com>
52092         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52093         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
52094         rather than rlwimi.
52095         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52096         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52097         little-endian support.  Correct typos.
52098         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
52099         rather than rlwimi.
52100         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
52101         in loop and entry code to keep "and." results.
52102         (strchr): Add little-endian support.  Comment.  Move cntlzd
52103         earlier in tail.
52104         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52106 2013-10-04  Alan Modra  <amodra@gmail.com>
52108         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52109         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52110         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52111         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52113 2013-10-04  Alan Modra  <amodra@gmail.com>
52115         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52116         (rTMP): Define as r11.
52117         (strcmp): Add little-endian support.  Optimise tail.
52118         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52119         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52120         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52121         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52122         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52123         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52124         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52126 2013-10-04  Alan Modra  <amodra@gmail.com>
52128         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52129         little-endian support.  Remove unnecessary "are we done" tests.
52130         Handle "s" wrapping around zero and extremely large "size".
52131         Correct main loop count.  Handle single left-over word from main
52132         loop inline rather than by using small_loop.  Correct comments.
52133         Delete "zero" tail, use "end_max" instead.
52134         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52136 2013-10-04  Alan Modra  <amodra@gmail.com>
52138         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52139         support.  Don't branch over align.
52140         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52141         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52142         support.  Rearrange tmp reg use to suit.  Comment.
52143         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52145 2013-10-04  Alan Modra  <amodra@gmail.com>
52147         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52149 2013-10-04  Alan Modra  <amodra@gmail.com>
52151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52152         conditional form of branch and link when obtaining pc.
52153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52155 2013-10-04  Alan Modra  <amodra@gmail.com>
52157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52158         HIWORD/LOWORD.
52159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52162 2013-10-04  Alan Modra  <amodra@gmail.com>
52164         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52165         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52166         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52167         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52168         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52169         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52170         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52171         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52172         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52173         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52175 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52176             Alistair Popple <alistair@ozlabs.au.ibm.com>
52177             Alan Modra <amodra@gmail.com>
52179         [BZ #15723]
52180         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52181         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52182         _dl_hwcap access for little-endian.
52183         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
52184         destroy vmx regs when saving unaligned.
52185         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52186         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
52187         destroy vmx regs when saving unaligned.
52189 2013-10-04  Alan Modra  <amodra@gmail.com>
52191         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52192         Don't use a union to pack hi/low value.
52194 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52196         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52197         for little-endian.
52198         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52199         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52200         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52201         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52202         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52204 2013-10-04  Alan Modra  <amodra@gmail.com>
52206         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52207         constants to usual value for .cst8 section, and remove redundant
52208         high address load.
52209         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52210         constant for 0x1p52.  Load little-endian words of double from
52211         correct stack offsets.
52213 2013-10-04  Alan Modra  <amodra@gmail.com>
52215         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52216         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52217         words of double from correct stack offsets.
52218         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52219         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52220         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52221         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52222         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52223         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52224         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52225         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52226         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52227         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52228         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52229         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52230         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52231         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52232         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52233         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52234         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52236 2013-10-04  Alan Modra  <amodra@gmail.com>
52238         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52239         64-bit int/double union.
52240         (_FPU_SETCW): Likewise.
52241         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52242         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52244 2013-10-04  Alan Modra  <amodra@gmail.com>
52246         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52247         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52249 2013-10-04  Alan Modra  <amodra@gmail.com>
52251         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52252         use vector int constants.
52253         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52255 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52257         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52258         array with long long.
52259         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52260         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52261         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52262         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52263         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52264         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52265         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52266         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52267         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52268         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52269         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52270         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52271         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52273 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52275         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52276         (__signbit): Likewise.  Correct for little-endian.
52277         (__signbitl): Call __signbit.
52278         (lrint): Correct for little-endian.
52279         (lrintf): Call lrint.
52281 2013-10-04  Alan Modra  <amodra@gmail.com>
52283         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52284         union 32-bit int array member with 64-bit int array.
52285         (t515, tm256): Double rather than long double.
52286         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52288 2013-10-04  Alan Modra  <amodra@gmail.com>
52290         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52291         Delete.
52292         (IEEE854_LONG_DOUBLE_BIAS): Delete.
52293         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52294         version of math_ldbl.h.
52296 2013-10-04  Alan Modra  <amodra@gmail.com>
52298         [BZ #15734], [BZ #15735]
52299         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52300         all uses of ieee875 long double macros and unions.  Simplify test
52301         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
52302         ldbl_extract_mantissa value for ix,iy exponents.  Properly
52303         normalize after ldbl_extract_mantissa, and don't add hidden bit
52304         already handled.  Don't treat low word of ieee854 mantissa like
52305         low word of IBM long double and mask off bit when testing for
52306         zero.
52307         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52308         all uses of ieee875 long double macros and unions.  Simplify tests
52309         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
52310         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
52311         two1022, instead use their values.  Recognise that tests for large
52312         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
52313         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52314         Rewrite all uses of ieee875 long double macros and unions.  Simplify
52315         test for 0.0L and nan.  Correct negation.
52316         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52317         ieee875 long double macros and unions.  Correct output for large
52318         magnitude x.  Correct absolute value calculation.
52319         (__erfcl): Likewise.
52320         * math/libm-test.inc: Add tests for errors discovered in IBM long
52321         double versions of fmodl, remainderl, erfl and erfcl.
52323 2013-10-04  Alan Modra  <amodra@gmail.com>
52325         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52326         all uses of ieee854 long double macros and unions.  Simplify tests
52327         for long doubles that are fully specified by the high double.
52328         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52329         Likewise.
52330         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52331         Remove dead code too.
52332         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52333         (__ieee754_ynl): Likewise.
52334         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52335         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52336         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52337         Remove dead code too.
52338         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52339         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52340         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52341         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52342         Simplify.
52343         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52344         Simplify.
52345         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52346         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52347         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52348         Comment on variable precision.
52349         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52350         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52351         Likewise.
52352         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52353         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52354         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52355         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52356         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52358 2013-10-04  Alan Modra  <amodra@gmail.com>
52360         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52361         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52362         all uses of ieee854 long double macros and unions.
52363         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52364         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52365         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52366         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52367         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52368         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52369         Likewise.
52370         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52371         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52372         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52373         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52374         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52375         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52376         Simplify sign and nan test too.
52377         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52378         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52379         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52380         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52381         Likewise.
52382         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52383         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52384         Likewise.
52385         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52386         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52387         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52388         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52389         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52390         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52392 2013-10-04  Alan Modra  <amodra@gmail.com>
52394         * stdio-common/printf_size.c (__printf_size): Don't use
52395         union ieee854_long_double in fpnum union.
52396         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
52397         signbit macro to retrieve sign from long double.
52398         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52399         retrieve sign from long double.
52400         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52401         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52402         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52403         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52404         * math/test-misc.c (main): Don't use union ieee854_long_double.
52406 2013-10-04  Alan Modra  <amodra@gmail.com>
52408         [BZ #15680]
52409         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52410         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52411         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52412         calculation.  Remove unnecessary test for denormal exponent.
52413         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52414         Correct handling of denormals.  Avoid undefined shift behaviour.
52415         Correct normalisation of low mantissa when low double is denormal.
52416         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52417         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
52418         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52419         Correct normalisation of low mantissa.  Test for overflow of high
52420         mantissa and normalise.
52421         (ldbl_nearbyint): Use more readable constant for two52.
52422         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52423         (__mpn_construct_long_double): Fix test for overflow of high
52424         mantissa and correct normalisation.  Avoid undefined shift.
52426 2013-10-04  Alan Modra  <amodra@gmail.com>
52428         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52429         (union ibm_extended_long_double): Define as an array of ieee754_double.
52430         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52431         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52432         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52433         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52434         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52435         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52436         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52437         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52438         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52439         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52440         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52442 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
52444         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52445         page size instead of calling getpagesize.
52447         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52448         (LOCFILE_ALIGN_MASK): Likewise.
52449         (LOCFILE_ALIGN_UP): Likewise.
52450         (LOCFILE_ALIGNED_P): Likewise.
52451         * locale/programs/ld-collate.c (collate_output): Use the new
52452         macros instead of __alignof__ (int32_t).
52453         * locale/weight.h (findidx): Likewise.
52455 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
52457         [BZ #431]
52458         * manual/string.texi: Fix strncat and wcsncat.
52460 2013-10-03  Brooks Moses  <bmoses@google.com>
52462         [BZ #15915]
52463         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52464         * Makerules: ...here, and adjust associated comments.
52466 2013-10-02  Will Newton  <will.newton@linaro.org>
52468         * malloc/Makefile: Add tst-pvalloc.
52469         * malloc/tst-pvalloc.c: New file.
52471 2013-10-02  Will Newton  <will.newton@linaro.org>
52473         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52474         improve test coverage.
52476 2013-10-02  Will Newton  <will.newton@linaro.org>
52478         * malloc/Makefile: Add tst-posix_memalign.
52479         * malloc/tst-posix_memalign.c: New file.
52481 2013-10-01  Eric Blake  <eblake@redhat.com>
52483         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52484         Use __THROWNL rather than __THROW on static functions.
52486 2013-09-30  Petr Machata  <pmachata@redhat.com>
52488         * elf/elf.h (R_AARCH64_ABS16): New macro.
52489         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52490         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52491         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52492         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52493         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52494         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52495         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52496         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52497         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52498         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52499         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52500         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52501         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52502         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52503         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52504         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52505         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52506         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52507         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52508         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52509         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52510         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52511         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52512         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52513         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52514         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52515         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52516         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52517         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52518         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52519         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52520         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52521         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52522         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52523         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52524         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52525         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52526         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52527         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52528         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52529         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52530         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52531         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52532         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52533         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52534         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52535         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52536         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52537         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52538         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52539         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52540         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
52541         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
52542         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
52543         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
52544         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
52545         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
52546         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
52547         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
52548         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
52549         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
52550         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
52551         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
52552         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
52553         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
52554         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
52555         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
52556         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
52557         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
52558         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
52559         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
52560         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
52561         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
52562         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
52563         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
52564         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
52565         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
52566         (R_AARCH64_TLSDESC_LDR): Likewise.
52567         (R_AARCH64_TLSDESC_ADD): Likewise.
52568         (R_AARCH64_TLSDESC_CALL): Likewise.
52570 2013-09-30  Andreas Schwab  <schwab@suse.de>
52572         [BZ #15048]
52573         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
52574         the nss database lookup.
52575         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52578 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
52580         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52582 2013-09-28  P. J. McDermott  <pj@pehjota.net>
52584         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52585         ${Bash-specific parameter/pattern/string} parameter expansion.
52586         * sysdeps/unix/make-syscalls.sh: Likewise.
52588 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52590         * sysdeps/sh/stackguard-macros.h: New file.
52592 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
52594         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52596         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52597         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52598         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52599         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52601 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52603         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52604         Fix thread ID register.
52606 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
52608         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52609         [POSIX || UNIX98]: Require rather than permitting all symbols from
52610         <time.h>.
52611         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52612         element of struct sched_param.
52613         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52614         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52615         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52616         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52617         constant.
52619 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
52621         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52622         argument calculation.
52624 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52626         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52627         Expect macro.
52628         [POSIX] (pthread_attr_t): Do not require type.
52629         [POSIX] (pthread_cond_t): Likewise.
52630         [POSIX] (pthread_condattr_t): Likewise.
52631         [POSIX] (pthread_key_t): Likewise.
52632         [POSIX] (pthread_mutex_t): Likewise.
52633         [POSIX] (pthread_mutexattr_t): Likewise.
52634         [POSIX] (pthread_once_t): Likewise.
52635         [POSIX] (pthread_t): Likewise.
52636         [POSIX-based standards] (pthread_atfork): Expect function.
52638 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52639             Richard Sandiford  <richard@codesourcery.com>
52641         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52642         (swap_endianness_p): New extern variable.
52643         (set_big_endian): New inline function.
52644         (maybe_swap_uint32): Likewise.
52645         (maybe_swap_uint32_array): Likewise.
52646         (maybe_swap_uint32_obstack): Likewise.
52647         * locale/programs/locfile.c: Include <stdbool.h>.
52648         (swap_endianness_p): New variable.
52649         (add_locale_uint32): Call maybe_swap_uint32.
52650         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52651         (write_locale_data): Call maybe_swap_uint32_array.
52652         * locale/programs/ld-collate.c (obstack_int32_grow): Call
52653         maybe_swap_uint32.
52654         (obstack_int32_grow_fast): Likewise.
52655         (output_weightwc): Call maybe_swap_uint32_obstack.
52656         (collate_output): Likewise.
52657         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52658         (OPT_LITTLE_ENDIAN): Likewise.
52659         (options): Add --little-endian and --big-endian options.
52660         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52661         * locale/programs/locarchive.c: Include "locfile.h".
52662         (GET): New macro.
52663         (SET): Likewise.
52664         (INC): Likewise.
52665         (create_archive): Use the new macros to access fields of
52666         structures directly mapped from or written to locale archives.
52667         (oldlocrecentcmp): Likewise.
52668         (enlarge_archive): Likewise.
52669         (insert_name): Likewise.
52670         (add_alias): Likewise.
52671         (add_locale): Likewise.
52672         (delete_locales_from_archive): Likewise.
52673         (show_archive_content): Likewise.
52674         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
52675         locale data.
52677 2013-09-24  Roland McGrath  <roland@hack.frob.com>
52679         * manual/freemanuals.texi: Updated from (newly) canonical copy at
52680         http://www.gnu.org/doc/freemanuals.texi.
52681         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52683 2013-09-24  Will Newton  <will.newton@linaro.org>
52685         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52686         macro.
52688 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
52690         * locale/hashval.h (compute_hashval): Interpret bytes of key as
52691         unsigned char.
52693 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
52695         * manual/threads.texi (POSIX Threads): Fix a typo.
52697 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52699         [BZ #14547]
52700         * string/tst-strcoll-overflow.c: New test case.
52701         * string/Makefile (xtests): Add tst-strcoll-overflow.
52702         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52703         cache if string sizes may cause integer overflow.
52705         [BZ #14547]
52706         * string/strcoll_l.c (coll_seq): New members rule, idx,
52707         save_idx and back_us.
52708         (get_next_seq_nocache): New function.
52709         (do_compare_nocache): New function.
52710         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52711         when malloc fails.
52713 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
52715         [BZ #15754]
52716         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52717         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52718         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52720         [BZ #15754]
52721         * elf/Makefile (tests): Add tst-ptrguard1.
52722         (tests-static): Add tst-ptrguard1-static.
52723         (tst-ptrguard1-ARGS): Define.
52724         (tst-ptrguard1-static-ARGS): Define.
52725         * elf/tst-ptrguard1.c: New file.
52726         * elf/tst-ptrguard1-static.c: New file.
52727         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52728         * sysdeps/i386/stackguard-macros.h: Likewise.
52729         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52730         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52731         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52732         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52733         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52734         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52736 2013-09-23  Hector Marco  <hecmargi@upv.es>
52737             Ismael Ripoll  <iripoll@disca.upv.es>
52738             Carlos O'Donell  <carlos@redhat.com>
52740         [BZ #15754]
52741         * sysdeps/generic/stackguard-macros.h: Define
52742         __pointer_chk_guard_local and POINTER_CHK_GUARD.
52743         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52744         Define __pointer_chk_guard_local.
52745         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52746         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52748 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
52750         [BZ #15859]
52751         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52753 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
52755         * include/string.h (__ffs): Declare as hidden.
52756         * string/ffs.c (__ffs): Define as hidden.
52757         * sysdeps/i386/ffs.c (__ffs): Likewise.
52758         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52759         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52760         * sysdeps/s390/ffs.c (__ffs): Likewise.
52761         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52763 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
52765         * NEWS: Mention malloc probes.
52767         * malloc/arena.c (new_heap): New memory_heap_new probe.
52768         (grow_heap): New memory_heap_more probe.
52769         (shrink_heap): New memory_heap_less probe.
52770         (heap_trim): New memory_heap_free probe.
52771         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52772         (systrim): New memory_sbrk_less probe.
52773         * manual/probes.texi: Document them.
52775         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52776         * manual/probes.texi: Document it.
52778         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52779         (__libc_realloc): Add memory_realloc_retry probe.
52780         (__libc_memalign): Add memory_memalign_retry probe.
52781         (__libc_valloc): Add memory_valloc_retry probe.
52782         (__libc_pvalloc): Add memory_pvalloc_retry probe.
52783         (__libc_calloc): Add memory_calloc_retry probe.
52784         * manual/probes.texi: Document them.
52786         * malloc/arena.c (get_free_list): Add probe
52787         memory_arena_reuse_free_list.
52788         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52789         and memory_arena_reuse.
52790         (arena_get2) [!PER_THREAD]: Likewise.
52791         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52792         memory_arena_reuse_realloc.
52793         * manual/probes.texi: Document them.
52795         * malloc/malloc.c (__libc_free): Add
52796         memory_mallopt_free_dyn_thresholds probe.
52797         (__libc_mallopt): Add multiple memory_mallopt probes.
52798         * manual/probes.texi: Document them.
52800         * malloc/malloc.c: Include stap-probe.h.
52801         (__libc_mallopt): Add memory_mallopt probe.
52802         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52803         * manual/probes.texi: New.
52804         * manual/Makefile (chapters): Add probes.
52805         * manual/threads.texi: Set next node.
52807 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
52809         [BZ #15963, #13985]
52810         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52811         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52812         Add `Chinese' to `nan' entry name.
52814 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52816         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52817         (POLYNOMIAL): Likewise.
52818         (TAYLOR_SINCOS): Likewise.
52819         (TAYLOR_SLOW): Likewise.
52820         (__sin): Use TAYLOR_SINCOS.
52821         (__cos): Likewise.
52822         (slow): Use TAYLOR_SLOW.
52823         (sloww): Likewise.
52824         (bsloww): Likewise.
52825         (csloww): Likewise.
52827 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52829         * stdlib/strtod_l.c: Fix buffer overrun.
52831 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52833         * benchtests/Makefile (bench): Add sincos.
52834         * benchtests/bench-sincos.c: New file.
52836         * math/libm-test.inc (cos_test_data): New test inputs.
52837         (sin_test_data): Likewise.
52839         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52840         macro.
52841         (__sin): Use it.
52842         (__cos): Likewise.
52843         (slow1): Likewise.
52844         (slow2): Likewise.
52845         (sloww1): Likewise.
52846         (sloww2): Likewise.
52847         (bsloww1): Likewise.
52848         (bsloww2): Likewise.
52849         (cslow2): Likewise.
52850         (csloww1): Likewise.
52851         (csloww2): Likewise.
52853         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52854         function.
52855         (__sin): Use it.
52856         (__cos): Likewise.
52858         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52859         gotos.
52860         (__cos): Likewise.
52862 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
52864         * config.h.in (HAVE_MIPS_NAN2008): New macro.
52865         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52866         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52867         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52868         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52869         * elf/cache.c (print_entry): Handle the new cache flags.
52871 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52872             Aldy Hernandez  <aldyh@redhat.com>
52874         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52875         Change condition to [_SOFT_FLOAT].
52876         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52877         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52880         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52883         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52884         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52886         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52887         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52888         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52889         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52890         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52891         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52892         declaration.
52894 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52896         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52897         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52898         (__longjmp): Use LOAD_GP to load saved GPRs.
52899         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52900         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52901         (__sigsetjmp): Use SAVE_GP to save GPRs.
52903         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52904         Do not append -msoft-float.
52905         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52907 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52909         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52911 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
52913         [BZ #15966]
52914         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52915         (_FPU_GETCW): Use initial "__" on variable and field names but not
52916         on macro parameter name.
52917         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
52918         parentheses around reference to macro parameter.
52920 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
52922         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52923         prototype.
52924         (ctype_startup): Use uint32_t in cast and sizeof for
52925         ctype->charnames.
52927 2013-09-11  Jia Liu  <proljc@gmail.com>
52929         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52930         __daddr_t_defined.
52931         [__FreeBSD__]: Likewise.
52933 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
52935         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52936         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52937         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52938         (strchr): Remove __strchr_sse42 ifunc selection.
52939         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52940         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52942 2013-09-11  Will Newton  <will.newton@linaro.org>
52944         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52945         parameter to RES. Remove hardcoded 1000 value.
52946         * benchtests/bench-skeleton.c (main): Pass RES parameter
52947         to TIMING_INIT and multiply result by 1000.
52949 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52953 2013-09-11  Andreas Schwab  <schwab@suse.de>
52955         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52956         if not defined.
52957         (O_TMPFILE) [__USE_GNU]: Define.
52958         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52959         Define.
52961 2013-09-11  Will Newton  <will.newton@linaro.org>
52963         [BZ #15857]
52964         * malloc/malloc.c (__libc_memalign): Check the value of bytes
52965         does not overflow.
52967 2013-09-11  Will Newton  <will.newton@linaro.org>
52969         [BZ #15856]
52970         * malloc/malloc.c (__libc_valloc): Check the value of bytes
52971         does not overflow.
52973 2013-09-11  Will Newton  <will.newton@linaro.org>
52975         [BZ #15855]
52976         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52977         does not overflow.
52979 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
52981         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52982         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52983         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52984         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52985         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52987 2013-09-10  Allan McRae  <allan@archlinux.org>
52989         [BZ #15748]
52990         * manual/arith.texi (Parsing of Floats): Clarify
52991         cross-reference.
52993         [BZ #15849]
52994         * manual/install.texi (Running make install): Mention
52995         --enable-pt-chown.
52996         * INSTALL: Regenerated.
52998 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
53000         * csu/init-first.c (_init): Remove the !SHARED condition around
53001         FPU control word initialization.
53002         * elf/dl-support.c (_dl_fpu_control): New variable.
53003         (_dl_aux_init) <AT_FPUCW>: Initialize it.
53004         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
53005         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
53006         * math/test-fpucw-static.c: New file.
53007         * math/test-fpucw-ieee.c: New file.
53008         * math/test-fpucw-ieee-static.c: New file.
53009         * math/Makefile (tests): Add `test-fpucw-ieee' and
53010         `$(tests-static)'.
53011         (tests-static): New variable.
53012         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
53013         dependency to...
53014         [($(build-shared),yes)]
53015         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
53016         ... this.
53017         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
53018         New dependency.
53020 2013-09-09  Allan McRae  <allan@archlinux.org>
53022         [BZ #15939]
53023         * manual/string.texi (Collation Functions): Fix typo in
53024         strcoll example.
53025         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
53027         [BZ #15893]
53028         * stdlib/isomac.c (get_null_defines): Fix memory leak.
53030         [BZ #15892]
53031         * libio/memstream.c (open_memstream): Fix memory leak.
53032         * libio/wmemstream.c (open_wmemstream): Likewise.
53034         [BZ #15895]
53035         * nscd/netgroupcache.c: Fix nesting of ifdefs.
53037 2013-09-09  Will Newton  <will.newton@linaro.org>
53039         * malloc/Makefile: Add tst-realloc to tests.
53040         * malloc/tst-realloc.c: New file.
53042 2013-09-09  Allan McRae  <allan@archlinux.org>
53044         [BZ #15844]
53045         * COPYING: Update from GNU website to fix FSF address.
53046         * COPYING.LIB: Likewise.
53048 2013-09-06  David S. Miller  <davem@davemloft.net>
53050         * po/zh_TW.po: Update Chinese (traditional) translation from
53051         translation project.
53053 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
53054             Joseph Myers  <joseph@codesourcery.com>
53056         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53057         "localeinfo.h".
53058         (obstack_chunk_alloc): New macro.
53059         (obstack_chunk_free): Likewise.
53060         (record_offset): New function.
53061         (init_locale_data): Likewise.
53062         (align_locale_data): Likewise.
53063         (add_locale_empty): Likewise.
53064         (add_locale_raw_data): Likewise.
53065         (add_locale_raw_obstack): Likewise.
53066         (add_locale_string): Likewise.
53067         (add_locale_wstring): Likewise.
53068         (add_locale_uint32): Likewise.
53069         (add_locale_uint32_array): Likewise.
53070         (add_locale_char): Likewise.
53071         (start_locale_structure): Likewise.
53072         (end_locale_structure): Likewise.
53073         (start_locale_prelude): Likewise.
53074         (end_locale_prelude): Likewise.
53075         (write_locale_data): Take locale_file structure rather than an
53076         iovec.
53077         * locale/programs/locfile.h: Include "obstack.h".
53078         (struct locale_file): Change to store locale file contents instead
53079         of header.
53080         (init_locale_data): New prototype.
53081         (align_locale_data): Likewise.
53082         (add_locale_empty): Likewise.
53083         (add_locale_raw_data): Likewise.
53084         (add_locale_raw_obstack): Likewise.
53085         (add_locale_string): Likewise.
53086         (add_locale_wstring): Likewise.
53087         (add_locale_uint32): Likewise.
53088         (add_locale_uint32_array): Likewise.
53089         (add_locale_char): Likewise.
53090         (start_locale_structure): Likewise.
53091         (end_locale_structure): Likewise.
53092         (start_locale_prelude): Likewise.
53093         (end_locale_prelude): Likewise.
53094         (write_locale_data): Update prototype.
53095         * locale/programs/3level.h (struct TABLE): Remove result field.
53096         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53097         Use new locale_file interface.
53098         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53099         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53100         * locale/programs/ld-address.c (address_output): Use new
53101         locale_file interface.
53102         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53103         NO_ADD_LOCALE.
53104         (collate_finish): Don't call collseq_table_finalize.
53105         (collate_output): Use new locale_file interface.
53106         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53107         in file.
53108         (NO_FINALIZE): Change to NO_ADD_LOCALE.
53109         (TABLE): Move defines earlier in file.
53110         (ELEMENT): Likewise.
53111         (DEFAULT): Likewise.
53112         (wctrans_table_add): Move macro and inline function earlier in
53113         file.
53114         (struct wctype_table): Move type earlier in file.
53115         (add_locale_wctype_table): New static prototype.
53116         (struct locale_ctype_t): Use logical types instead of struct iovec
53117         pointers for members.
53118         (ctype_output): Use new locale_file interface.
53119         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
53120         new locale_file interface.
53121         (allocate_arrays): Update for use of new locale_file interface.
53122         * locale/programs/ld-identification.c (identification_output): Use
53123         new locale_file interface.
53124         * locale/programs/ld-measurement.c (measurement_output): Likewise.
53125         * locale/programs/ld-messages.c (messages_output): Likewise.
53126         * locale/programs/ld-monetary.c (monetary_output): Likewise.
53127         * locale/programs/ld-name.c (name_output): Likewise.
53128         * locale/programs/ld-numeric.c (numeric_output): Likewise.
53129         * locale/programs/ld-paper.c (paper_output): Likewise.
53130         * locale/programs/ld-telephone.c (telephone_output): Likewise.
53131         * locale/programs/ld-time.c (time_output): Likewise.
53133 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53135         * benchtests/Makefile: Add memrchr benchmark.
53136         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53137         benchmark as memrchr.
53138         * benchtests/bench-memrchr-ifunc.c: New file.
53139         * benchtests/bench-memrchr.c: New file.
53141 2013-09-06   Will Newton  <will.newton@linaro.org>
53143         * benchtests/Makefile (string-bench): Add memcpy.
53145 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
53146             Cong Wang  <amwang@redhat.com>
53148         [BZ #15850]
53149         * sysdeps/unix/sysv/linux/bits/in.h
53150         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53151         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53152         before __USE_KERNEL_IPV6_DEFS uses.
53153         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53154         IPPROTO_BEETPH.
53155         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53156         sockaddr_in6, or ipv6_mreq.
53158 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53160         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53161         memory access for final bytes in some large inputs.
53162         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53164 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53166         * string/test-memrchr.c: New file.
53167         * string/test-memrchr-ifunc.c: New file.
53168         * string/Makefile: Add new memrchr testcase.
53170 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
53172         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53173         fanotify_init returns EPERM.
53175 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53177         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53178         errors.
53179         (top level): Treat second token from macro or constant entries for
53180         allowed headers as allowed.
53181         * include/complex.h: Condition internal declarations on
53182         [!_ISOMAC].
53183         * include/fenv.h: Condition include of <stdbool.h> and internal
53184         declarations on [!_ISOMAC].
53186 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
53188         [BZ #15923]
53189         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53191 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53193         * configure.in (--enable-versioning): Remove configure option.
53194         (libc_cv_asm_symver_directive): Remove configure test.
53195         (libc_cv_ld_version_script_option): Likewise.
53196         (VERSIONING): Remove variable and AC_SUBST.
53197         (DO_VERSIONING): Remove AC_DEFINE.
53198         * configure: Regenerated.
53199         * config.h.in (DO_VERSIONING): Remove macro.
53200         * Makerules [$(versioning) = yes]: Change conditionals to
53201         [$(build-shared) = yes].
53202         * config.make.in (versioning): Remove variable.
53203         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53204         [$(build-shared) = yes].
53205         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53206         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53207         * elf/Makefile [$(versioning) = yes]: Change conditionals to
53208         [$(build-shared) = yes].
53209         * extra-lib.mk [$(versioning) = yes]: Likewise.
53210         * hurd/Makefile [$(versioning) = yes]: Likewise.
53211         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53212         [SHARED].
53213         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53214         [SHARED].
53215         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53216         [SHARED && !NO_HIDDEN].
53217         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53218         [SHARED].
53219         [SHARED && DO_VERSIONING]: Likewise..
53220         * libio/Makefile [$(versioning) = yes]: Change conditionals to
53221         [$(build-shared) = yes].
53222         * manual/install.texi (--disable-versioning): Remove
53223         documentation.
53224         * INSTALL: Regenerated.
53225         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53226         to [SHARED].
53227         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53228         [$(build-shared) = yes].
53229         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53230         * sysdeps/i386/i686/multiarch/strstr-c.c
53231         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53232         [SHARED && !NO_HIDDEN].
53233         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53234         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53235         * sysdeps/powerpc/powerpc32/dl-machine.c
53236         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53237         * sysdeps/powerpc/powerpc32/sysdep.h
53238         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53239         to [SHARED && PIC && !NO_HIDDEN].
53240         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53241         conditional to [SHARED].
53243 2013-09-04   Will Newton  <will.newton@linaro.org>
53245         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53246         * benchtests/bench-string.h: Include bench-timing.h instead
53247         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53248         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53249         call to HP_TIMING_DIFF_INIT.
53250         * benchtests/bench-memccpy.c: Use bench-timing.h macros
53251         instead of hp-timing.h macros.
53252         * benchtests/bench-memchr.c: Likewise.
53253         * benchtests/bench-memcmp.c: Likewise.
53254         * benchtests/bench-memcpy.c: Likewise.
53255         * benchtests/bench-memmem.c: Likewise.
53256         * benchtests/bench-memmove.c: Likewise.
53257         * benchtests/bench-memset.c: Likewise.
53258         * benchtests/bench-rawmemchr.c: Likewise.
53259         * benchtests/bench-strcasecmp.c: Likewise.
53260         * benchtests/bench-strcasestr.c: Likewise.
53261         * benchtests/bench-strcat.c: Likewise.
53262         * benchtests/bench-strchr.c: Likewise.
53263         * benchtests/bench-strcmp.c: Likewise.
53264         * benchtests/bench-strcpy.c: Likewise.
53265         * benchtests/bench-strcpy_chk.c: Likewise.
53266         * benchtests/bench-strlen.c: Likewise.
53267         * benchtests/bench-strncasecmp.c: Likewise.
53268         * benchtests/bench-strncat.c: Likewise.
53269         * benchtests/bench-strncmp.c: Likewise.
53270         * benchtests/bench-strncpy.c: Likewise.
53271         * benchtests/bench-strnlen.c: Likewise.
53272         * benchtests/bench-strpbrk.c: Likewise.
53273         * benchtests/bench-strrchr.c: Likewise.
53274         * benchtests/bench-strspn.c: Likewise.
53275         * benchtests/bench-strstr.c: Likewise.
53277 2013-09-04  Will Newton  <will.newton@linaro.org>
53279         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53281 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
53283         [BZ #15427]
53284         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53285         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53286         * math/libm-test.inc (lgamma_test_data): Add more tests.
53287         * sysdeps/i386/fpu/libm-test-ulps: Update.
53288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53290 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
53292         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53293         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53294         Add ifunc.
53295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53296         Add strcmp-sse2-unaligned
53297         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53299 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53301         * Versions.def (libc): Add GLIBC_2.19.
53303 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53305         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53306         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53308 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
53310         [BZ #14155]
53311         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53312         intermediate calculations in recurrence.
53313         (__ieee754_ynf): Likewise.
53314         * math/libm-test.inc (jn_test_data): Do not allow spurious
53315         underflow exception.  Add more tests.
53316         (yn_test_data): Add more tests.
53317         * sysdeps/i386/fpu/libm-test-ulps: Update.
53318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53320 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
53322         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53324 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53326         * csu/init-first.c: Fix then/than typos.
53327         * locale/programs/ld-collate.c: Likewise.
53328         * locale/programs/linereader.h: Likewise.
53329         * manual/charset.texi: Likewise.
53330         * manual/filesys.texi: Likewise.
53331         * manual/stdio.texi: Likewise.
53332         * manual/string.texi: Likewise.
53333         * stdlib/fmtmsg.c: Likewise.
53334         * sysdeps/i386/stpncpy.S: Likewise.
53335         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53336         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53337         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53338         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53340 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53342         * elf/dl-open.c: Fix typos.
53343         * iconvdata/gbbig5.c: Likewise.
53344         * iconvdata/iso-2022-jp.c: Likewise.
53345         * iconv/gconv_int.h: Likewise.
53346         * iconv/loop.c: Likewise.
53347         * nis/rpcsvc/nis.h: Likewise.
53348         * resolv/ns_name.c: Likewise.
53349         * stdio-common/vfscanf.c: Likewise.
53350         * streams/stropts.h: Likewise.
53351         * sunrpc/rpc_thread.c: Likewise.
53352         * sysdeps/i386/strpbrk.S: Likewise.
53353         * sysdeps/ieee754/k_standard.c: Likewise.
53354         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53355         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53356         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53357         * sysdeps/mach/hurd/profil.c: Likewise.
53358         * sysdeps/s390/dl-procinfo.h: Likewise.
53359         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53360         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53361         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53362         * sysdeps/x86_64/dl-trampoline.S: Likewise.
53363         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53365 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
53367         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53370 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
53372         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53373         aix specific files.
53374         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53375         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53376         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53377         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53378         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53379         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53380         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53381         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53383 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53384             Roland McGrath  <roland@hack.frob.com>
53386         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53387         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53389 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53391         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53392         __executable_start symbol instead of _start.
53394 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53396         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53397         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53398         Move macros to...
53399         * sysdeps/gnu/ldsodefs.h: ... this new file.
53401         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53402         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53403         instead of ELFOSABI_LINUX.
53405         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53406         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53407         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53408         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53409         Likewise.
53410         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53411         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53412         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53413         Likewise.
53414         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53415         (ibm_extended_long_double): Add ieee_nan member.
53416         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53417         (do_test): New function.
53419         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53420         TEST_TRUNC.
53421         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53422         functions, renamed from truncdfsf_test, trunctfsf_test,
53423         trunctfdf_test.
53424         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53425         functions.
53426         (do_test): Run all these.
53428 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
53430         * argp/argp-help.c: Fix typos.
53431         * argp/argp-parse.c: Likewise.
53432         * debug/backtracesyms.c: Likewise.
53433         * elf/elf.h: Likewise.
53434         * malloc/malloc.c: Likewise.
53435         * nis/nis_print.c: Likewise.
53436         * resolv/res_comp.c: Likewise.
53437         * stdlib/stdlib.h: Likewise.
53438         * sunrpc/clnt_tcp.c: Likewise.
53439         * sunrpc/clnt_udp.c: Likewise.
53440         * sunrpc/clnt_unix.c: Likewise.
53441         * sysdeps/unix/bsd/ptsname.c: Likewise.
53442         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53443         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53445         Likewise.
53446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53447         Likewise.
53448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53449         Likewise.
53450         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53452 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53454         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53457 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
53459         [BZ #15897]
53460         * dlfcn/Makefile (tests): Add bug-dl-leaf.
53461         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53462         ($(objpfx)bug-dl-leaf): New rule.
53463         ($(objpfx)bug-dl-leaf.so): Likewise.
53464         ($(objpfx)bug-dl-leaf.out): Likewise.
53465         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53466         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53467         * dlfcn/bug-dl-leaf.c: New test.
53468         * dlfcn/bug-dl-leaf-lib.c: Likewise.
53469         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53470         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53471         (dlclose): Likewise.
53472         (dlmopen): Likewise.
53474 2013-08-27  Roland McGrath  <roland@hack.frob.com>
53476         * include/netdb.h [!_ISOMAC]:
53477         Don't include <tls.h>.
53478         (h_errno, __libc_h_errno): Move declaration and macros out of
53479         [_LIBC_REENTRANT].
53481         * include/resolv.h [_RESOLV_H_]:
53482         Don't include <tls.h>.
53483         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53484         * resolv/res_libc.c: Don't include <tls.h>.
53485         (_res): Use __attribute__ ((nocommon)) in place of
53486         __attribute__ ((section (".bss"))).
53488         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53489         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53491         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53493         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53494         only under [SIOCGIFCONF && SIOCGIFNETMASK].
53496         * resolv/res_mkquery.c: Include <sys/time.h>.
53498         * inet/ifreq.c: Moved to ...
53499         * sysdeps/unix/ifreq.c: ... here.
53500         * inet/ifreq.c: New file, true stub version.
53502         * socket/sa_len.c: New file.
53503         * socket/Makefile (aux): Add it.
53504         * sysdeps/unix/sysv/linux/Makefile
53505         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53506         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53507         and #include <socket/sa_len.c>.
53508         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53509         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53511         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53512         * bits/socket.h: ... here.
53514         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53515         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53516         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53518 2013-08-27  Andreas Schwab  <schwab@suse.de>
53520         [BZ #15736]
53521         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53522         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53523         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53524         * string/test-strcasecmp.c (test_main): Run tests in several
53525         locales.
53526         * string/test-strncasecmp.c (test_main): Likewise.
53528         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53529         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53530         to __strcasecmp_nonascii and __strncasecmp_nonascii.
53531         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53532         (__strncasecmp_ssse3) [PIC]: Likewise.
53534 2013-08-26  Roland McGrath  <roland@hack.frob.com>
53536         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53538         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53539         instead of explicitly declaring xdecrypt.
53540         * nis/nss_nis/nis-publickey.c: Likewise.
53542 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53544         [BZ #15890]
53545         * nscd/aicache.c: Include res_hconf.h.
53546         (addhstaiX): Initialize res_hconf.
53548 2013-08-26  Andreas Schwab  <schwab@suse.de>
53550         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
53551         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
53553 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53555         * nscd/aicache.c (addhstaiX): Fix indentation.
53557 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
53559         * configure.ac: Quote $build_pt_chown test.
53560         * configure: Regenerated.
53562 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
53564         [BZ #15532]
53565         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
53566         * math/s_cexpf.c (__cexpf): Likewise.
53567         * math/s_cexpl.c (__cexpl): Likewise.
53568         * math/libm-test.inc (cexp_test_data): Correct expected return
53569         value for NaN + i0.  Add another test.
53571 2013-08-22  David S. Miller  <davem@davemloft.net>
53573         * po/ca.po: Update Catalan translation from translation project.
53574         * po/uk.po: Add Ukrainian translations from translation project.
53576 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
53578         [BZ #15797]
53579         * math/s_fdim.c (__fdim): Check for infinite arguments if result
53580         is infinite, not alongside NaN test.
53581         * math/s_fdimf.c (__fdimf): Likewise.
53582         * math/s_fdiml.c (__fdiml): Likewise.
53583         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
53584         errno is unchanged.
53586 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
53588         * argp/argp-help.c: Fix typos.
53589         * crypt/speeds.c: Likewise.
53590         * csu/check_fds.c: Likewise.
53591         * elf/dl-load.c: Likewise.
53592         * elf/dl-open.c: Likewise.
53593         * elf/reldep3.c: Likewise.
53594         * elf/reldep.c: Likewise.
53595         * elf/sprof.c: Likewise.
53596         * iconv/iconv_charmap.c: Likewise.
53597         * iconv/skeleton.c: Likewise.
53598         * iconv/strtab.c: Likewise.
53599         * io/lockf64.c: Likewise.
53600         * libio/libioP.h: Likewise.
53601         * resolv/gai_notify.c: Likewise.
53602         * resolv/ns_name.c: Likewise.
53603         * resolv/ns_samedomain.c: Likewise.
53604         * resolv/res_send.c: Likewise.
53605         * stdlib/random.c: Likewise.
53606         * sunrpc/rpc/xdr.h: Likewise.
53607         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53608         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53609         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53610         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53611         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53612         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53613         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53614         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53615         * sysdeps/mach/hurd/check_fds.c: Likewise.
53616         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53617         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53618         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53619         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53620         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53621         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53622         * sysdeps/pthread/aio_notify.c: Likewise.
53623         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53624         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53625         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53626         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53627         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53629 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53631         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53632         version if bit_Slow_SSE4_2 is set.
53633         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53634         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53636 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53638         [BZ #15867]
53639         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53640         trampoline stack frame information.
53641         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53642         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53643         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53644         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53645         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53646         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53647         (_libc_vdso_platform_setup): Initialize the signal trampolines.
53648         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53649         sa_flags value.
53650         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53651         interrupting a syscall and set with option SA_SIGINFO.
53653 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53655         [BZ #15531]
53656         * math/s_cproj.c (__cproj): Only return an infinity if one part of
53657         argument is infinite.
53658         * math/s_cprojf.c (__cprojf): Likewise.
53659         * math/s_cprojl.c (__cprojl): Likewise.
53660         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53661         * math/libm-test.inc (cproj_test_data): Add more tests.
53663         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53665         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53666         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53667         size.  Use __ffs to determine corresponding shift.
53669 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53670             Roland McGrath  <roland@hack.frob.com>
53672         * Makefile (INSTALL): Remove trailing blank lines from output of
53673         makeinfo.
53675 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53677         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53678         Align 32 bit compat elf_greg to 8 bytes.
53680 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
53682         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53684 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53686         * string/strcoll_l.c (coll_seq): New structure.
53687         (get_next_seq_cached): New function.
53688         (get_next_seq): New function.
53689         (do_compare): New function.
53690         (STRCOLL): Use GNU style definition.  Simplify implementation
53691         by using get_next_seq, get_next_seq_cached and do_compare.
53693 2013-08-16  Florian Weimer  <fweimer@redhat.com>
53695         [BZ #14699]
53696         CVE-2013-4237
53697         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53698         member.
53699         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53700         member.
53701         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53702         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53703         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
53704         conditional.
53705         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53706         GETDENTS_64BIT_ALIGNED.
53707         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53708         * manual/filesys.texi (Reading/Closing Directory): Document
53709         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
53710         strongly.
53711         * manual/conf.texi (Limits for Files): Add portability note to
53712         NAME_MAX, PATH_MAX.
53713         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53715 2013-08-13  Andreas Schwab  <schwab@suse.de>
53717         [BZ #15749]
53718         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53719         of fabs.
53720         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53721         LDBL_MAX_EXP >= 16384]: Add tests for it.
53723 2013-08-12  David S. Miller  <davem@davemloft.net>
53725         * version.h (RELEASE): Set to "development".
53726         (VERSION): Set to "2.18.90".
53727         * NEWS: Add 2.19 section.
53729 2013-08-03  David S. Miller  <davem@davemloft.net>
53731         * po/ko.po: Update Korean translation from translation project.
53733 2013-08-01  David S. Miller  <davem@davemloft.net>
53735         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
53736         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53737         Bilka.
53739 2013-07-30  David S. Miller  <davem@davemloft.net>
53741         * po/fr.po: Update French translation from translation project.
53743 2013-07-28  David S. Miller  <davem@davemloft.net>
53745         * po/cs.po: Update Czech translation from translation project.
53747         * po/sv.po: Update Swedish translation from translation project.
53749 2013-07-27  David S. Miller  <davem@davemloft.net>
53751         * po/eo.po: Update Esperanto translation from translation project.
53753         * po/vi.po: Update Vietnamese translation from translation project.
53755         * po/de.po: Update German translation from translation project.
53757 2013-07-26  David S. Miller  <davem@davemloft.net>
53759         * po/bg.po: Update Bulgarian translation from translation project.
53761         * po/nl.po: Update Dutch translation from translation project.
53762         * po/pl.po: Update Polish translation from translation project.
53763         * po/ru.po: Update Russian translation from translation project.
53765 2013-07-24  David S. Miller  <davem@davemloft.net>
53767         * po/libc.pot: Update.
53769 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53771         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53772         variable page size.
53773         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53774         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53775         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53777 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53779         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53781 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53782             Andreas Schwab  <schwab@suse.de>
53783             Roland McGrath  <roland@hack.frob.com>
53784             Joseph Myers  <joseph@codesourcery.com>
53785             Carlos O'Donell  <carlos@redhat.com>
53787         [BZ #15755]
53788         * config.h.in: Define HAVE_PT_CHOWN.
53789         * config.make.in (build-pt-chown): New variable.
53790         * configure.in (--enable-pt_chown): New configure option.
53791         * configure: Regenerate.
53792         * login/Makefile: Include Makeconfig.  Build pt_chown only if
53793         build-pt-chown is enabled.
53794         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53795         pt_chown to fix pty ownership.
53796         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53797         CLOSE_ALL_FDS.
53798         * manual/install.texi (Configuring and compiling): Mention
53799         --enable-pt_chown. Add @findex for grantpt.
53800         * INSTALL: Regenerate.
53802 2013-07-20  David S. Miller  <davem@davemloft.net>
53804         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53805         difference between 32-bit and 64-bit.
53807 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
53809         [BZ #15711]
53810         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53811         Avoid system header dependency with -ffreestanding.
53812         ($(objpfx)bits/syscall%d): Likewise.
53814 2013-07-13  David S. Miller  <davem@davemloft.net>
53816         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53817         underflows from atanl/atan2l due to bug 15319.
53818         (casinh_test_data): Likewise.
53820 2013-07-07  David S. Miller  <davem@davemloft.net>
53822         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53824 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
53826         * sysdeps/i386/fpu/libm-test-ulps: Update.
53827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53829 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53831         * configure.in (--enable-lock-elision): Fix message text.
53832         * INSTALL: Regenerate.
53833         * configure: Regenerate.
53835 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53839 2013-07-03  Andreas Jaeger  <aj@suse.de>
53841         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53842         define.
53843         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53844         (ptrace_peeksiginfo_args): Add.
53845         (__ptrace_peeksiginfo_flags): Add.
53846         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53847         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53848         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53850 2013-07-03  Allan McRae  <allan@archlinux.org>
53852         * sysdeps/i386/fpu/libm-test-ulps: Update.
53854 2013-07-02  David S. Miller  <davem@davemloft.net>
53856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53858 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
53860         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53862 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53864         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53867 2013-07-02  Andi Kleen <ak@linux.intel.com>
53869         * config.h.in (ENABLE_LOCK_ELISION): Add.
53870         * configure.in (--enable-lock-elision): Add option.
53871         * manual/install.texi: Document --enable lock elision.
53872         * configure: Regenerate
53873         * INSTALL: Regenerate.
53875 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
53877         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53878         SSE4.2 strcasecmp for libc.a.
53879         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53881 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53883         [BZ #13304]
53884         * soft-fp/op-common.h (_FP_FMA): New macro.
53885         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53886         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
53887         (_FP_MUL_MEAT_1_imm): ... here.
53888         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
53889         (_FP_MUL_MEAT_1_wide): ... here.
53890         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
53891         (_FP_MUL_MEAT_1_hard): ... here.
53892         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53893         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
53894         (_FP_MUL_MEAT_2_wide): ... here.
53895         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
53896         (_FP_MUL_MEAT_2_wide_3mul): ... here.
53897         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
53898         (_FP_MUL_MEAT_2_gmp): ... here.
53899         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53900         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
53901         (_FP_MUL_MEAT_4_wide): ... here.
53902         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
53903         (_FP_MUL_MEAT_4_gmp): ... here.
53904         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53905         (_FP_WFRACBITS_DW_S): Likewise.
53906         (_FP_WFRACXBITS_DW_S): Likewise.
53907         (_FP_HIGHBIT_DW_S): Likewise.
53908         (FP_FMA_S): Likewise.
53909         (_FP_FRAC_HIGH_DW_S): Likewise.
53910         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53911         (_FP_WFRACBITS_DW_D): Likewise.
53912         (_FP_WFRACXBITS_DW_D): Likewise.
53913         (_FP_HIGHBIT_DW_D): Likewise.
53914         (FP_FMA_D): Likewise.
53915         (_FP_FRAC_HIGH_DW_D): Likewise.
53916         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53917         (_FP_WFRACBITS_DW_E): Likewise.
53918         (_FP_WFRACXBITS_DW_E): Likewise.
53919         (_FP_HIGHBIT_DW_E): Likewise.
53920         (FP_FMA_E): Likewise.
53921         (_FP_FRAC_HIGH_DW_E): Likewise.
53922         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53923         (_FP_WFRACBITS_DW_Q): Likewise.
53924         (_FP_WFRACXBITS_DW_Q): Likewise.
53925         (_FP_HIGHBIT_DW_Q): Likewise.
53926         (FP_FMA_Q): Likewise.
53927         (_FP_FRAC_HIGH_DW_Q): Likewise.
53928         * soft-fp/fmasf4.c: New file.
53929         * soft-fp/fmadf4.c: Likewise.
53930         * soft-fp/fmatf4.c: Likewise.
53932 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53935         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53936         Silvermont.
53937         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53938         macro.
53939         (index_Slow_SSE4_2): Likewise.
53940         (index_Prefer_PMINUB_for_stringop): Likewise.
53941         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53942         bit_Slow_SSE4_2 is set.
53943         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53944         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53946 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53948         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53949         rtld_global._dl_hwcap2.
53950         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53951         POWER8.
53952         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53953         POWER8 feature descriptions defined in _dl_hwcap2.
53954         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53955         string handling for POWER8 feature bits.
53956         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53957         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53958         _dl_powerpc_cap_flags.
53959         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53960         * sysdeps/powerpc/rtld-global-offsets.sym
53961         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53962         _dl_hwcap2 in the rtld_global_ro structure.
53964 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53966         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53967         hardware capabilities in support of AT_HWCAP2.
53968         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53969         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53970         GLRO(dl_hwcap2).
53971         (_dl_show_auxv): Add support for calling _dl_procinfo to display
53972         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
53973         explicitly the unknown a_type display mechanism is used.
53974         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53975         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53976         struct member.
53977         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53978         to macro prototype for AT_HWCAP2 support.
53979         * sysdeps/i386/dl-procinfo.h: Likewise.
53980         * sysdeps/s390/dl-procinfo.h: Likewise.
53981         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53982         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
53983         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
53984         return -1 for unknown a_type display fallback.
53985         * sysdeps/sparc/dl-procinfo.h: Likewise.
53986         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53987         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53989 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
53991         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53992         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53994 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
53996         [BZ #12492]
53997         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53998         mprotect making __stack_prot writable.
54000 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
54001             Joseph Myers  <joseph@codesourcery.com>
54003         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
54004         as being properly aligned.
54006 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
54008         * dlfcn/modstatic5.c: New file.
54009         * dlfcn/tststatic5.c: New file.
54010         * dlfcn/Makefile (tests): Add tststatic5.
54011         (tests-static): Likewise.
54012         (modules-names): Add modstatic5.
54013         (tststatic5-ENV): New variable.
54014         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
54016         [BZ #15022]
54017         * elf/dl-support.c (_dl_main_map): New variable.
54018         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
54019         (_dl_nns, _dl_load_adds): Set to 1.
54020         (_dl_initial_searchlist): Refer to _dl_main_map.
54021         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
54022         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
54023         call to _dl_get_origin.
54024         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
54025         around call_map.
54026         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54027         * dlfcn/modstatic3.c: New file.
54028         * dlfcn/tststatic3.c: New file.
54029         * dlfcn/tststatic4.c: New file.
54030         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54031         (tests-static): Likewise.
54032         (modules-names): Add modstatic3.
54033         (tststatic3-ENV, tststatic4-ENV): New variables.
54034         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54035         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54037 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
54039         * configure.in (CC): Require GCC version 4.4 or later.
54040         * configure: Regenerated.
54041         * manual/install.texi (Tools for Compilation): Update GCC version
54042         requirement.
54043         * INSTALL: Regenerated.
54045 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54047         [BZ #15674]
54048         * string/test-memcmp.c (check2): New.
54049         (main): Call check2.
54051         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54053 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
54055         [BZ #15022]
54056         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54057         over to...
54058         (dl_open_worker) [!SHARED]: ... here.
54060 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54062         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54064 2013-06-25  Richard Henderson  <rth@redhat.com>
54066         * locale/programs/locarchive.c: Include <libc-internal.h>
54068 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
54070         * manual/texinfo.tex: Update to version 2013-06-21.17, with
54071         trailing whitespace removed.
54073 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
54075         [BZ #10283]
54076         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54077         * locale/programs/locarchive.c: Include libc-mmap.h.
54078         (prepare_address_space): Take two new outputs (the mmap base and len).
54079         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
54080         values.
54081         (create_archive): Declare new mmap base and len values for
54082         prepare_address_space, and store the result in ah.
54083         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54084         (enlarge_archive): If ah->mmap_base is not NULL, use that and
54085         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54086         Declare new mmap base and len values for
54087         prepare_address_space, and store the result in new_ah.
54088         (open_archive): Declare new mmap base and len values for
54089         prepare_address_space, and store the result in ah.
54090         (close_archive): If ah->mmap_base is not NULL, use that and
54091         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54092         * sysdeps/generic/libc-mmap.h: New file.
54094 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
54096         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54097         (ALIGN_UP): Likewise.
54098         (PTR_ALIGN_DOWN): Likewise.
54099         (PTR_ALIGN_UP): Likewise.
54101 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54103         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54104         entry mapped to PPC_PLATFORM_POWER8.
54105         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54106         POWER8.
54107         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54108         (_dl_string_platform): Add case for exporting platform position for
54109         POWER8.
54110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54111         search path to sysdeps/powerpc/powerpc32/power8 directory.
54112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54113         search path to sysdeps/powerpc/powerpc64/power8 directory.
54114         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54115         power7 directories.
54116         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54117         power7 directories.
54119 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54121         * INSTALL: Regenerate.
54123         * nscd/connections.c (nscd_init): Fix comment.
54125 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
54127         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54129         [BZ #15667]
54130         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54131         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54133 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54135         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54136         DL_DST_REQ_STATIC.
54137         (DL_DST_REQ_STATIC): Remove macro.
54139 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
54141         [BZ #7006]
54142         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54143         with a shift of 0 bits.
54145 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54147         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54148         $(tststatic-ENV).
54150 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54152         [BZ #15655]
54153         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54155 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54157         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54158         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54159         accepts -fno-tree-loop-distribute-patterns.
54160         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54161         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54162         recursive call.
54163         * string/memset.c (memset): Likewise.
54164         * string/test-memmove.c (simple_memmove): Disable loop transformation
54165         to library calls.
54166         * string/test-memset.c (simple_memset): Likewise.
54167         * benchtests/bench-memmove.c (simple_memmove): Likewise.
54168         * benchtests/bench-memset.c (simple_memset): Likewise.
54169         * configure: Regenerated.
54171 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
54173         * math/test-misc.c (main): Ignore fesetround failure when failures
54174         of subsequent rounding tests would be ignored.
54176         [BZ #15654]
54177         * math/fedisblxcpt.c (fedisableexcept): Return 0.
54178         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54179         * math/fegetenv.c (__fegetenv): Return 0.
54180         * math/fegetexcept.c (fegetexcept): Return 0.
54181         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54182         FE_TONEAREST.
54183         * math/feholdexcpt.c (feholdexcept): Return 0.
54184         * math/fesetenv.c (__fesetenv): Return 0.
54185         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54186         argument FE_TONEAREST.
54187         * math/feupdateenv.c (__feupdateenv): Return 0.
54188         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54190 2013-06-18  Roland McGrath  <roland@hack.frob.com>
54192         * elf/rtld-Rules (rtld-compile-command.S): New variable.
54193         (rtld-compile-command.s, rtld-compile-command.c): New variables.
54194         ($(objpfx)rtld-%.os rules): Use them.
54196 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54198         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54199         fields.
54201 2013-06-17  Roland McGrath  <roland@hack.frob.com>
54203         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54204         length of target pattern, then descending length of dependency pattern.
54205         * configure.in (AWK): Require gawk 3.1.2 or newer.
54206         * manual/install.texi (Tools for Compilation): Say that we do.
54207         * configure: Regenerated.
54209         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54210         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54211         * scripts/sysd-rules.awk: ... this new script.
54212         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54213         than a glob-style pattern.
54215 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
54217         * math/test-misc.c (main): Do not treat incorrectly rounded
54218         conversions as failure unless ROUNDING_TESTS passes.
54220 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
54222         [BZ #15631]
54223         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54224         restore exception state around main square root computation, then
54225         check for inexactness explicitly.
54227         * math/libm-test.inc (fma_test_data): Add another test.
54229 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54231         * manual/threads.texi (Non-POSIX Extensions): New document
54232         node.  Document pthread_getattr_default_np and
54233         pthread_setattr_default_np.
54235         * Versions.def (libpthread): Add GLIBC_2.18.
54236         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54238         Likewise.
54239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54240         Likewise.
54241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54242         Likewise.
54243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54244         Likewise.
54245         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54246         Likewise.
54247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54248         Likewise.
54249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54250         Likewise.
54251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54252         Likewise.
54253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54254         Likewise.
54256 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54258         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54259         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54261 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54262             H.J. Lu  <hjl.tools@gmail.com>
54264         [BZ #15627]
54265         * sysdeps/x86_64/rtld-memset.c: Remove file.
54266         * sysdeps/x86_64/rtld-memset.S: New file.
54268 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
54270         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54271         (test_in_one_mode): Take arguments for whether the rounding mode
54272         is supported for each floating-point type.
54273         (do_test): Pass new arguments to test_in_one_mode using
54274         ROUNDING_TESTS.
54276 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54278         * posix/tst-waitid.c (do_test): Distinguish different instances of
54279         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
54280         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54281         before entering the kernel for waitpid.
54283 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54285         * NEWS: Fix note on clock function precision.  Text by Roland
54286         McGrath.
54288 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54290         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54291         it into place only when and if the sanity check passes.
54293 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
54295         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54296         output for whether conversion result is exact.  Take argument
54297         indicating whether type is IBM long double.
54298         (round_for_all): Change need_exact field to ibm_ld.
54299         * stdlib/tst-strtod-round.c (struct exactness): New type.
54300         (struct test): Change bool ld_ok field to struct exactness exact.
54301         (TEST): Update all definitions for change to field.
54302         (tests): Regenerate array contents.
54303         (test_in_one_mode): Take pointer to new field instead of old ld_ok
54304         field value.  Check for IBM long double here.
54305         (do_test): Update calls to test_in_one_mode.
54307 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54309         [BZ #12515]
54310         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54311         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54313 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54315         [BZ #15605]
54316         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54317         generated by the compiler on loop optimizations.
54318         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54319         general definitions.
54321 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
54323         * math/bug-nextafter.c: Include <math-tests.h>.
54324         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54325         the relevant type.
54326         * math/bug-nexttoward.c: Include <math-tests.h>.
54327         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54328         the relevant type.
54329         * math/test-misc.c: Include <math-tests.h>.
54330         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54331         the relevant type.
54333 2013-06-12  Andreas Jaeger  <aj@suse.de>
54335         * po/ia.po: Update Interlingua translation from translation
54336         project.
54338 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54340         * include/fenv.h: Include stdbool.h.
54341         (struct rm_ctx): New structure.
54342         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54343         Define macro.
54344         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54345         (SET_RESTORE_ROUNDF): Likewise.
54346         (SET_RESTORE_ROUNDL): Likewise.
54347         (SET_RESTORE_ROUND_NOEX): Likewise.
54348         (SET_RESTORE_ROUND_NOEXF): Likewise.
54349         (SET_RESTORE_ROUND_NOEXL): Likewise.
54350         (SET_RESTORE_ROUND_53BIT): Likewise.
54351         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54352         (libc_feresetround_noexf_ctx): Likewise.
54353         (libc_feresetround_noexl_ctx): Likewise.
54354         (libc_feholdsetround_53bit_ctx): Likewise.
54355         (libc_feresetround_53bit_ctx): Likewise.
54356         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54357         (libc_feholdexcept_setround_sse_ctx): New function.
54358         (libc_fesetenv_sse_ctx): Likewise.
54359         (libc_feupdateenv_sse_ctx): Likewise.
54360         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54361         (libc_feholdexcept_setround_387_ctx): Likewise.
54362         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54363         (libc_feholdsetround_387_prec_ctx): Likewise.
54364         (libc_feholdsetround_387_ctx): Likewise.
54365         (libc_feholdsetround_387_53bit_ctx): Likewise.
54366         (libc_feholdsetround_sse_ctx): Likewise.
54367         (libc_feresetround_sse_ctx): Likewise.
54368         (libc_feresetround_387_ctx): Likewise.
54369         (libc_feupdateenv_387_ctx): Likewise.
54370         (libc_feholdexcept_setroundf_ctx): Define macro.
54371         (libc_fesetenvf_ctx): Likewise.
54372         (libc_feupdateenvf_ctx): Likewise.
54373         (libc_feholdsetroundf_ctx): Likewise.
54374         (libc_feresetroundf_ctx): Likewise.
54375         (libc_feholdexcept_setround_ctx): Likewise.
54376         (libc_fesetenv_ctx): Likewise.
54377         (libc_feupdateenv_ctx): Likewise.
54378         (libc_feholdsetround_ctx): Likewise.
54379         (libc_feresetround_ctx): Likewise.
54380         (libc_feholdexcept_setroundl_ctx): Likewise.
54381         (libc_feupdateenvl_ctx): Likewise.
54382         (libc_feholdsetroundl_ctx): Likewise.
54383         (libc_feresetroundl_ctx): Likewise.
54384         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54385         (libc_feresetround_53bit_ctx): Likewise.
54387 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54389         * locale/iso-639.def: Convert to UTF-8.
54391 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
54393         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54394         (EXCEPTION_TESTS_double): Likewise.
54395         (EXCEPTION_TESTS_long_double): Likewise.
54396         (EXCEPTION_TESTS): Likewise.
54397         * math/libm-test.inc (test_exceptions): Only test exceptions if
54398         EXCEPTION_TESTS (FLOAT).
54400 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54402         * benchtests/Makefile (string-bench): Add strcpy_chk and
54403         stpcpy_chk.
54404         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54405         * benchtests/bench-stpcpy_chk.c: New file.
54406         * benchtests/bench-strcpy_chk-ifunc.c: New file.
54407         * benchtests/bench-strcpy_chk.c: New file.
54408         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54409         code.
54410         (do_test): Likewise.
54412 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54414         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54415         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54416         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54417         with tabs where appropriate.
54418         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54419         dl-procinfo.h.
54420         [PPC_PLATFORM_PPC440]: Likewise.
54421         [PPC_PLATFORM_PPC464]: Likewise.
54422         [PPC_PLATFORM_PPC476]: Likewise.
54423         (_dl_string_platform): Add support for detecting ppc405, ppc440,
54424         ppc464, and ppc476 platform strings merging from ports/
54425         dl-procinfo.h.
54427 2013-06-11  Andreas Schwab  <schwab@suse.de>
54429         [BZ #14991]
54430         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54431         (from_ucs4_idx): Regenerate.
54432         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54433         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54434         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54435         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54436         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54437         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54438         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54439         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54440         from FROM_LOOP and TO_LOOP specific macros.
54441         (BODY): Handle combining characters.
54442         * iconvdata/BIG5HKSCS.irreversible: Update.
54443         * iconvdata/BIG5HKSCS.precomposed: New file.
54444         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54445         characters.
54446         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54448 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54450         * include/sys/time.h: Fix indentation and add copyright header.
54452         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54453         (do_test): Likewise.
54454         * string/test-memchr.c (do_one_test): Likewise.
54455         (do_test): Likewise.
54456         * string/test-memcmp.c (do_one_test): Likewise.
54457         (do_test): Likewise.
54458         * string/test-memcpy.c (do_one_test): Likewise.
54459         (do_test): Likewise.
54460         * string/test-memmem.c (do_one_test): Likewise.
54461         (do_test): Likewise.
54462         (do_random_tests): Likewise.
54463         * string/test-memmove.c (do_one_test): Likewise.
54464         (do_test): Likewise.
54465         * string/test-memset.c (do_one_test): Likewise.
54466         (do_test): Likewise.
54467         * string/test-rawmemchr.c (do_one_test): Likewise.
54468         (do_test): Likewise.
54469         * string/test-strcasecmp.c (do_one_test): Likewise.
54470         (do_test): Likewise.
54471         * string/test-strcasestr.c (do_one_test): Likewise.
54472         (do_test): Likewise.
54473         * string/test-strcat.c (do_one_test): Likewise.
54474         (do_test): Likewise.
54475         * string/test-strchr.c (do_one_test): Likewise.
54476         (do_test): Likewise.
54477         * string/test-strcmp.c (do_one_test): Likewise.
54478         (do_test): Likewise.
54479         * string/test-strcpy.c (do_one_test): Likewise.
54480         (do_test): Likewise.
54481         * string/test-string.h: Likewise.
54482         (test_init): Likewise.
54483         * string/test-strlen.c (do_one_test): Likewise.
54484         (do_test): Likewise.
54485         * string/test-strncasecmp.c (do_one_test): Likewise.
54486         (do_test): Likewise.
54487         * string/test-strncat.c (do_one_test): Likewise.
54488         (do_test): Likewise.
54489         * string/test-strncmp.c (do_one_test): Likewise.
54490         (do_test_limit): Likewise.
54491         (do_test): Likewise.
54492         * string/test-strncpy.c (do_one_test): Likewise.
54493         (do_test): Likewise.
54494         * string/test-strnlen.c (do_one_test): Likewise.
54495         (do_test): Likewise.
54496         * string/test-strpbrk.c (do_one_test): Likewise.
54497         (do_test): Likewise.
54498         * string/test-strrchr.c (do_one_test): Likewise.
54499         (do_test): Likewise.
54500         * string/test-strspn.c (do_one_test): Likewise.
54501         (do_test): Likewise.
54502         * string/test-strstr.c (do_one_test): Likewise.
54503         (do_test): Likewise.
54505         * benchtests/Makefile (string-bench): Add string benchmarks.
54506         * benchtests/bench-bcopy-ifunc.c: New file.
54507         * benchtests/bench-bcopy.c: New file.
54508         * benchtests/bench-bzero-ifunc.c: New file.
54509         * benchtests/bench-bzero.c: New file.
54510         * benchtests/bench-memccpy-ifunc.c: New file.
54511         * benchtests/bench-memccpy.c: New file.
54512         * benchtests/bench-memchr-ifunc.c: New file.
54513         * benchtests/bench-memchr.c: New file.
54514         * benchtests/bench-memcmp-ifunc.c: New file.
54515         * benchtests/bench-memcmp.c: New file.
54516         * benchtests/bench-memmem-ifunc.c: New file.
54517         * benchtests/bench-memmem.c: New file.
54518         * benchtests/bench-memmove-ifunc.c: New file.
54519         * benchtests/bench-memmove.c: New file.
54520         * benchtests/bench-mempcpy-ifunc.c: New file.
54521         * benchtests/bench-mempcpy.c: New file.
54522         * benchtests/bench-memset-ifunc.c: New file.
54523         * benchtests/bench-memset.c: New file.
54524         * benchtests/bench-rawmemchr-ifunc.c: New file.
54525         * benchtests/bench-rawmemchr.c: New file.
54526         * benchtests/bench-stpcpy-ifunc.c: New file.
54527         * benchtests/bench-stpcpy.c: New file.
54528         * benchtests/bench-stpncpy-ifunc.c: New file.
54529         * benchtests/bench-stpncpy.c: New file.
54530         * benchtests/bench-strcasecmp-ifunc.c: New file.
54531         * benchtests/bench-strcasecmp.c: New file.
54532         * benchtests/bench-strcasestr-ifunc.c: New file.
54533         * benchtests/bench-strcasestr.c: New file.
54534         * benchtests/bench-strcat-ifunc.c: New file.
54535         * benchtests/bench-strcat.c: New file.
54536         * benchtests/bench-strchr-ifunc.c: New file.
54537         * benchtests/bench-strchr.c: New file.
54538         * benchtests/bench-strchrnul-ifunc.c: New file.
54539         * benchtests/bench-strchrnul.c: New file.
54540         * benchtests/bench-strcmp-ifunc.c: New file.
54541         * benchtests/bench-strcmp.c: New file.
54542         * benchtests/bench-strcpy-ifunc.c: New file.
54543         * benchtests/bench-strcpy.c: New file.
54544         * benchtests/bench-strcspn-ifunc.c: New file.
54545         * benchtests/bench-strcspn.c: New file.
54546         * benchtests/bench-strlen-ifunc.c: New file.
54547         * benchtests/bench-strlen.c: New file.
54548         * benchtests/bench-strncasecmp-ifunc.c: New file.
54549         * benchtests/bench-strncasecmp.c: New file.
54550         * benchtests/bench-strncat-ifunc.c: New file.
54551         * benchtests/bench-strncat.c: New file.
54552         * benchtests/bench-strncmp-ifunc.c: New file.
54553         * benchtests/bench-strncmp.c: New file.
54554         * benchtests/bench-strncpy-ifunc.c: New file.
54555         * benchtests/bench-strncpy.c: New file.
54556         * benchtests/bench-strnlen-ifunc.c: New file.
54557         * benchtests/bench-strnlen.c: New file.
54558         * benchtests/bench-strpbrk-ifunc.c: New file.
54559         * benchtests/bench-strpbrk.c: New file.
54560         * benchtests/bench-strrchr-ifunc.c: New file.
54561         * benchtests/bench-strrchr.c: New file.
54562         * benchtests/bench-strspn-ifunc.c: New file.
54563         * benchtests/bench-strspn.c: New file.
54564         * benchtests/bench-strstr-ifunc.c: New file.
54565         * benchtests/bench-strstr.c: New file.
54567         * benchtests/Makefile: Disable parallel execution of targets.
54568         (string-bench): Add memcpy.
54569         (benchset): New variable to store a list of benchmark sets.
54570         (bench-func): Renamed from bench.
54571         (bench-set): New target.
54572         (bench): Depend on bench-func and bench-set.
54573         * benchtests/README: Add section on benchmark sets.
54574         * benchtests/bench-memcpy-ifunc.c: New file.
54575         * benchtests/bench-memcpy.c: New file.
54576         * benchtests/bench-string.h: New file.
54578 2013-06-11  Andreas Schwab  <schwab@suse.de>
54580         [BZ #15577]
54581         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54582         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54583         values in the triple.
54584         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54585         terminator in the group key.
54587 2013-06-11  Andreas Jaeger  <aj@suse.de>
54589         * po/zh_TW.po: Update Chinese (traditional) translation from
54590         translation project.
54592 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54594         * include/time.h (__clock_gettime): Add libc_hidden_proto.
54595         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54596         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
54597         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54598         (clock_getcpuclockid): Likewise.
54599         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54600         Add weak_alias and libc_hidden_def.
54601         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54602         * rt/clock_gettime.c (clock_gettime): Rename to
54603         __clock_gettime.  Add weak_alias and libc_hidden_def.
54604         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54605         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54606         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
54607         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54608         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54609         Likewise.
54610         * rt/clock_settime.c (clock_settime): Rename to
54611         __clock_settime.  Add weak_alias and libc_hidden_def.
54612         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54614 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
54616         * mach/err_boot.sub: Remove trailing whitespace.
54617         * mach/err_ipc.sub: Likewise.
54618         * mach/err_mach.sub: Likewise.
54620         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54621         (ROUNDING_TESTS_double): Likewise.
54622         (ROUNDING_TESTS_long_double): Likewise.
54623         (ROUNDING_TESTS): Likewise.
54624         * math/libm-test.inc: Include <math-tests.h>.
54625         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54626         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54627         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54628         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54630 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54632         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54633         of assigning.
54635 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
54637         * sysdeps/gnu/errlist.awk: Do not generate space at end of
54638         otherwise empty TRANS lines.
54639         * sysdeps/gnu/errlist.c: Regenerated.
54641         * catgets/gencat.c (error_print): Use (void) in function
54642         definition.
54643         * crypt/crypt_util.c (__init_des): Likewise.
54644         * crypt/speeds.c (Stop): Likewise.
54645         (main): Likewise.
54646         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54647         * inet/ruserpass.c (token): Likewise.
54648         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54649         * intl/localealias.c (extend_alias_table): Likewise.
54650         * intl/plural-exp.c (init_germanic_plural): Likewise.
54651         * libio/fcloseall.c (__fcloseall): Likewise.
54652         * libio/genops.c (_IO_flush_all): Likewise.
54653         (_IO_flush_all_linebuffered): Likewise.
54654         (_IO_cleanup): Likewise.
54655         (_IO_iter_begin): Likewise.
54656         (_IO_iter_end): Likewise.
54657         (_IO_list_lock): Likewise.
54658         (_IO_list_unlock): Likewise.
54659         (_IO_list_resetlock): Likewise.
54660         * libio/getchar.c (getchar): Likewise.
54661         * libio/getchar_u.c (getchar_unlocked): Likewise.
54662         * libio/getwchar.c (getwchar): Likewise.
54663         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54664         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54665         * login/getpt.c (__getpt): Likewise.
54666         * login/tst-utmp.c (main): Likewise.
54667         * malloc/hooks.c (__malloc_check_init): Likewise.
54668         * malloc/malloc.c (__malloc_stats): Likewise.
54669         * malloc/mtrace.c (tr_break): Likewise.
54670         (mtrace): Likewise.
54671         (muntrace): Likewise.
54672         * misc/fstab.c (endfsent): Likewise.
54673         * misc/getclktck.c (__getclktck): Likewise.
54674         * misc/getdtsz.c (__getdtablesize): Likewise.
54675         * misc/gethostid.c (gethostid): Likewise.
54676         * misc/getpagesize.c (__getpagesize): Likewise.
54677         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54678         (__get_nprocs): Likewise.
54679         (__get_phys_pages): Likewise.
54680         (__get_avphys_pages): Likewise.
54681         * misc/getttyent.c (getttyent): Likewise.
54682         (setttyent): Likewise.
54683         (endttyent): Likewise.
54684         * misc/getusershell.c (getusershell): Likewise.
54685         (endusershell): Likewise.
54686         (setusershell): Likewise.
54687         (initshells): Likewise.
54688         * misc/hsearch.c (__hdestroy): Likewise.
54689         * misc/sync.c (sync): Likewise.
54690         * misc/syslog.c (closelog_internal): Likewise.
54691         (closelog): Likewise.
54692         * misc/ttyslot.c (ttyslot): Likewise.
54693         * misc/vhangup.c (vhangup): Likewise.
54694         * posix/fork.c (__fork): Likewise.
54695         * posix/getegid.c (__getegid): Likewise.
54696         * posix/geteuid.c (__geteuid): Likewise.
54697         * posix/getgid.c (__getgid): Likewise.
54698         * posix/getpid.c (__getpid): Likewise.
54699         * posix/getppid.c (__getppid): Likewise.
54700         * posix/getuid.c (__getuid): Likewise.
54701         * posix/pause.c (pause): Likewise.
54702         * posix/setpgrp.c (setpgrp): Likewise.
54703         * posix/setsid.c (__setsid): Likewise.
54704         * posix/test-vfork.c (noop): Likewise.
54705         * resolv/gethnamaddr.c (_endhtent): Likewise.
54706         (_gethtent): Likewise.
54707         (ht_endhostent): Likewise.
54708         (gethostent): Likewise.
54709         (dns_service): Likewise.
54710         * stdlib/drand48.c (drand48): Likewise.
54711         * stdlib/lrand48.c (lrand48): Likewise.
54712         * stdlib/mrand48.c (mrand48): Likewise.
54713         * stdlib/rand.c (rand): Likewise.
54714         * stdlib/random.c (__random): Likewise.
54715         * stdlib/setenv.c (clearenv): Likewise.
54716         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54717         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54718         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54719         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54720         (__get_nprocs): Likewise.
54721         (__get_phys_pages): Likewise.
54722         (__get_avphys_pages): Likewise.
54723         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54724         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54725         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54726         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54727         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54728         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54729         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54730         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54731         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54732         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54733         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54734         * sysdeps/mach/hurd/sync.c (sync): Likewise.
54735         * sysdeps/posix/clock.c (clock): Likewise.
54736         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54737         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54738         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54739         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54740         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54741         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54742         (__get_nprocs_conf): Likewise.
54743         (__get_phys_pages): Likewise.
54744         (__get_avphys_pages): Likewise.
54745         * time/clock.c (clock): Likewise.
54746         * time/tzset.c (__tzname_max): Likewise.
54748 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
54750         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54751         (__bswap_32): Do not use "register".
54752         * crypt/crypt.c (_ufc_doit_r): Likewise.
54753         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54754         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54755         * gmon/gmon.c (__monstartup): Likewise.
54756         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54757         * hurd/hurdmalloc.c (more_memory): Likewise.
54758         (malloc): Likewise.
54759         (free): Likewise.
54760         (realloc): Likewise.
54761         (malloc_fork_prepare): Likewise.
54762         (malloc_fork_parent): Likewise.
54763         (malloc_fork_child): Likewise.
54764         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54765         (_svcauth_des): Likewise.
54766         * inet/inet_lnaof.c (inet_lnaof): Likewise.
54767         * inet/inet_net.c (inet_network): Likewise.
54768         * inet/inet_netof.c (inet_netof): Likewise.
54769         * inet/rcmd.c (__validuser2_sa): Likewise.
54770         * io/fts.c (fts_open): Likewise.
54771         (fts_load): Likewise.
54772         (fts_close): Likewise.
54773         (fts_read): Likewise.
54774         (fts_children): Likewise.
54775         (fts_build): Likewise.
54776         (fts_stat): Likewise.
54777         (fts_sort): Likewise.
54778         (fts_alloc): Likewise.
54779         (fts_lfree): Likewise.
54780         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54781         (_IO_file_xsgetn): Likewise.
54782         (_IO_file_xsgetn_mmap): Likewise.
54783         * libio/iofopncook.c (_IO_cookie_read): Likewise.
54784         (_IO_cookie_write): Likewise.
54785         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54786         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54787         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54788         * malloc/obstack.c (_obstack_begin): Likewise.
54789         (_obstack_begin_1): Likewise.
54790         (_obstack_newchunk): Likewise.
54791         (_obstack_allocated_p): Likewise.
54792         (obstack_free): Likewise.
54793         (_obstack_memory_used): Likewise.
54794         * misc/getttyent.c (getttynam): Likewise.
54795         (getttyent): Likewise.
54796         (skip): Likewise.
54797         (value): Likewise.
54798         * misc/getusershell.c (initshells): Likewise.
54799         * misc/syslog.c (__vsyslog_chk): Likewise.
54800         * misc/ttyslot.c (ttyslot): Likewise.
54801         * nis/nis_hash.c (__nis_hash): Likewise.
54802         * posix/fnmatch_loop.c (FCT): Likewise.
54803         * posix/getconf.c (print_all): Likewise.
54804         (main): Likewise.
54805         * posix/getopt.c (exchange): Likewise.
54806         * posix/glob.c (globfree): Likewise.
54807         (prefix_array): Likewise.
54808         (__glob_pattern_type): Likewise.
54809         * resolv/arpa/nameser.h (NS_GET16): Likewise.
54810         (NS_GET32): Likewise.
54811         (NS_PUT16): Likewise.
54812         (NS_PUT32): Likewise.
54813         * resolv/gethnamaddr.c (getanswer): Likewise.
54814         (gethostbyname2): Likewise.
54815         (gethostbyaddr): Likewise.
54816         (_gethtent): Likewise.
54817         (_gethtbyname2): Likewise.
54818         (_gethtbyaddr): Likewise.
54819         * resolv/ns_print.c (dst_s_get_int16): Likewise.
54820         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54821         * resolv/res_init.c (__res_vinit): Likewise.
54822         (net_mask): Likewise.
54823         * resolv/res_mkquery.c (outchar): Likewise.
54824         (PRINT): Likewise.
54825         * stdio-common/printf_fp.c (outchar): Likewise.
54826         (PRINT): Likewise.
54827         * stdio-common/printf_fphex.c (outchar): Likewise.
54828         (PRINT): Likewise.
54829         * stdio-common/printf_size.c (outchar): Likewise.
54830         (PRINT): Likewise.
54831         * stdio-common/test_rdwr.c (main): Likewise.
54832         * stdio-common/tfformat.c (matches): Likewise.
54833         * stdio-common/vfprintf.c (outchar): Likewise.
54834         (printf_unknown): Likewise.
54835         (buffered_vfprintf): Likewise.
54836         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54837         * stdio-common/xbug.c (AppendToBuffer): Likewise.
54838         (ReadFile): Likewise.
54839         * stdlib/qsort.c (SWAP): Likewise.
54840         (_quicksort): Likewise.
54841         * stdlib/setenv.c (__add_to_environ): Likewise.
54842         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54843         * stdlib/strtol_l.c (__strtol_l): Likewise.
54844         * stdlib/tst-strtod.c (main): Likewise.
54845         * stdlib/tst-strtol.c (main): Likewise.
54846         * stdlib/tst-strtoll.c (main): Likewise.
54847         * string/bits/string2.h (__strcmp_cc): Likewise.
54848         (__strcmp_cg): Likewise.
54849         (__strcspn_c1): Likewise.
54850         (__strcspn_c2): Likewise.
54851         (__strcspn_c3): Likewise.
54852         (__strspn_c1): Likewise.
54853         (__strspn_c2): Likewise.
54854         (__strspn_c3): Likewise.
54855         (__strsep_1c): Likewise.
54856         (__strsep_2c): Likewise.
54857         (__strsep_3c): Likewise.
54858         * string/memccpy.c (__memccpy): Likewise.
54859         * string/stpcpy.c (__stpcpy): Likewise.
54860         * string/strcmp.c (strcmp): Likewise.
54861         * string/strrchr.c (strrchr): Likewise.
54862         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54863         Likewise.
54864         * sysdeps/mach/hurd/getcwd.c
54865         (_hurd_canonicalize_directory_name_internal): Likewise.
54866         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54867         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54868         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54869         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54870         Likewise, in both definitions.
54871         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54872         definitions.
54873         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54874         64] (__bswap_64): Likewise.
54875         * time/test_time.c (main): Likewise.
54876         * time/tzfile.c (__tzfile_read): Likewise.
54877         (__tzfile_compute): Likewise.
54878         * time/tzset.c (__tzset_parse_tz): Likewise.
54879         (tzset_internal): Likewise.
54880         (compute_change): Likewise.
54881         * wcsmbs/wcscat.c (__wcscat): Likewise.
54882         * wcsmbs/wcschr.c (wcschr): Likewise.
54883         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54884         * wcsmbs/wcscspn.c (wcscspn): Likewise.
54885         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54886         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54887         * wcsmbs/wcsspn.c (wcsspn): Likewise.
54888         * wcsmbs/wcsstr.c (wcsstr): Likewise.
54889         * wcsmbs/wmemchr.c (wmemchr): Likewise.
54890         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54891         * wcsmbs/wmemset.c (wmemset): Likewise.
54893 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
54895         * scripts/config.guess: Update to version 2013-05-16.
54896         * scripts/config.sub: Update to version 2013-04-24.
54897         * scripts/install-sh: Update to version 2011-11-20.07.
54898         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54899         * scripts/move-if-change: Update to version 2012-01-06 07:23.
54901 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
54903         * debug/fgetws_u_chk.c: Fix leading whitespaces.
54904         * elf/sln.c: Likewise.
54905         * hurd/hurd/ioctl.h: Likewise.
54906         * hurd/hurdmalloc.c: Likewise.
54907         * hurd/xattr.c: Likewise.
54908         * include/shlib-compat.h: Likewise.
54909         * inet/ruserpass.c: Likewise.
54910         * libio/iofgets_u.c: Likewise.
54911         * libio/iofgetws_u.c: Likewise.
54912         * locale/programs/ld-identification.c: Likewise.
54913         * locale/programs/ld-time.c: Likewise.
54914         * mach/msg-destroy.c: Likewise.
54915         * nss/nss_files/files-netgrp.c: Likewise.
54916         * resolv/res_data.c: Likewise.
54917         * soft-fp/op-1.h: Likewise.
54918         * soft-fp/op-2.h: Likewise.
54919         * soft-fp/op-4.h: Likewise.
54920         * soft-fp/op-common.h: Likewise.
54921         * stdio-common/printf_fphex.c: Likewise.
54922         * stdlib/strtod_l.c: Likewise.
54923         * sunrpc/rpc/clnt.h: Likewise.
54924         * sysdeps/generic/framestate.c: Likewise.
54925         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54926         * sysdeps/i386/bsd-setjmp.S: Likewise.
54927         * sysdeps/i386/__longjmp.S: Likewise.
54928         * sysdeps/i386/setjmp.S: Likewise.
54929         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54930         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54931         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54932         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54933         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54934         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54935         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54936         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54937         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54938         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54939         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54940         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54941         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54942         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54943         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54944         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54945         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54946         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54947         * sysdeps/ieee754/support.c: Likewise.
54948         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54949         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54950         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54951         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54952         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54953         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54954         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54955         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54956         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54957         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54958         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54959         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54960         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54961         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54962         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54963         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54964         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54967 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
54969         * posix/transbug.c: Remove executable mode.
54971 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
54973         * crypt/speeds.c: Remove trailing whitespace.
54974         * dlfcn/default.c: Likewise.
54975         * elf/ifuncdep2.c: Likewise.
54976         * elf/ifuncmain1.c: Likewise.
54977         * elf/ifuncmain1vis.c: Likewise.
54978         * elf/testobj.h: Likewise.
54979         * elf/tst-stackguard1.c: Likewise.
54980         * gmon/sys/gmon.h: Likewise.
54981         * hurd/hurdmsg.c: Likewise.
54982         * hurd/new-fd.c: Likewise.
54983         * hurd/ports-get.c: Likewise.
54984         * iconvdata/ibm1008_420.c: Likewise.
54985         * inet/tst-getni1.c: Likewise.
54986         * inet/tst-getni2.c: Likewise.
54987         * libio/ioungetc.c: Likewise.
54988         * libio/wfiledoalloc.c: Likewise.
54989         * manual/libm-err-tab.pl: Likewise.
54990         * math/w_dremf.c: Likewise.
54991         * misc/ftruncate.c: Likewise.
54992         * posix/bug-glob2.c: Likewise.
54993         * posix/tst-pcre.c: Likewise.
54994         * posix/wait4.c: Likewise.
54995         * resolv/README: Likewise.
54996         * resolv/res_debug.h: Likewise.
54997         * resolv/tst-inet_ntop.c: Likewise.
54998         * setjmp/bug269-setjmp.c: Likewise.
54999         * soft-fp/extended.h: Likewise.
55000         * soft-fp/op-1.h: Likewise.
55001         * soft-fp/op-2.h: Likewise.
55002         * soft-fp/op-4.h: Likewise.
55003         * soft-fp/op-8.h: Likewise.
55004         * soft-fp/testit.c: Likewise.
55005         * stdio-common/bug16.c: Likewise.
55006         * stdlib/random.c: Likewise.
55007         * sunrpc/rpcsvc/rquota.x: Likewise.
55008         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
55009         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55010         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55011         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55012         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55013         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55014         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55015         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55016         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55017         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55018         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55019         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55020         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55021         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55022         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55023         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55024         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55025         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55026         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55027         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55028         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55029         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55030         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55031         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55032         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55033         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55034         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55035         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55036         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55037         * sysdeps/ieee754/s_lib_version.c: Likewise.
55038         * sysdeps/mach/hurd/check_fds.c: Likewise.
55039         * sysdeps/mach/hurd/getsockname.c: Likewise.
55040         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55041         * sysdeps/mach/hurd/recvfrom.c: Likewise.
55042         * sysdeps/powerpc/bits/link.h: Likewise.
55043         * sysdeps/powerpc/dl-procinfo.c: Likewise.
55044         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55045         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55046         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55047         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55048         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55049         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55050         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55051         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55052         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55053         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55054         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55055         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55056         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55057         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55058         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55059         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55060         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55061         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55062         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55063         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55064         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55065         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55066         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55067         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55068         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55069         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55070         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55071         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55072         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55073         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55074         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55075         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55076         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55077         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55078         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55079         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55080         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55081         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55082         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55083         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55084         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55085         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55086         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55087         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55088         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55089         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55090         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55091         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55092         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55093         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55094         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55095         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55096         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55097         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55098         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55099         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55100         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55101         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55102         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55103         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55104         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55105         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55106         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55107         * sysdeps/powerpc/sysdep.h: Likewise.
55108         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55109         * sysdeps/s390/s390-64/sub_n.S: Likewise.
55110         * sysdeps/sh/dl-trampoline.S: Likewise.
55111         * sysdeps/sh/memset.S: Likewise.
55112         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55113         * sysdeps/sh/strlen.S: Likewise.
55114         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55115         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55116         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55117         * sysdeps/sparc/sparc32/rem.S: Likewise.
55118         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55119         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55120         * sysdeps/sparc/sparc32/strchr.S: Likewise.
55121         * sysdeps/sparc/sparc32/udiv.S: Likewise.
55122         * sysdeps/sparc/sparc32/urem.S: Likewise.
55123         * sysdeps/sparc/sparc64/add_n.S: Likewise.
55124         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55125         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55126         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55127         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55128         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55129         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55130         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55131         * sysdeps/unix/bsd/times.c: Likewise.
55132         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55133         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55137         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55138         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55139         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55140         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55141         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55142         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55143         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55144         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55145         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55146         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55147         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55148         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55149         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55150         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55151         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55152         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55153         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55154         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55155         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55156         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55157         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55158         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55159         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55160         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55161         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55162         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55163         * sysdeps/x86_64/strcspn.S: Likewise.
55165 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55167         * locale/C-translit.h: Revert #include <stdint.h> because this is a
55168         generated file.  Regenerate properly from gen-translit.pl.
55169         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
55170         locale/C-translit.h.
55172 2013-06-05  Andreas Schwab  <schwab@suse.de>
55174         [BZ #15100]
55175         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55176         week as 6 instead of -1.
55177         * time/tst-strptime.c (day_tests): Add test case.
55179 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55181         * sysdeps/generic/math_private.h
55182         (libc_feholdexcept_setround_53bit): Replace with
55183         libc_feholdsetround_53bit.
55184         (libc_feupdateenv_53bit): Replace with
55185         libc_feresetround_53bit.
55186         (SET_RESTORE_ROUND_53BIT): Adjust.
55188 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55190         * string/test-strchrnul.c: Add copyright header.
55192         * posix/tst-getaddrinfo4.c: Increase test timeout.
55194 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
55196         [BZ #15536]
55197         * math/libm-test.inc (MAX_EXP): Remove
55198         (MIN_EXP): Define.
55199         (ulp): Use MIN_EXP - MANT_DIG.
55200         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55202 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
55204         * po/be.po: Revert last change.
55205         * po/zh_CN.po: Likewise.
55206         * po/header.pot: Likewise.
55208 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
55210         * Makefile ($(common-objpfx)linkobj/libc.so): Define
55211         link-libc-deps to empty as target-specific variable.
55212         * Makerules (link-libc-args): New variable.
55213         (libc-for-link): Likewise.
55214         (link-libc-deps): Likewise.
55215         (lib%.so): Depend on $(link-libc-deps).  Link with
55216         $(link-libc-args).
55217         (build-module): Link with $(link-libc-args).
55218         (build-module-asneeded): Likewise.
55219         (build-module-helper-objlist): Filter out $(link-libc-deps) from
55220         list of objects.
55221         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55222         target-specific variable.
55223         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55224         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55225         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55226         libc.
55227         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55228         libc and ld.so.
55229         ($(objpfx)libpcprofile.so): Likewise.
55230         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55231         libc_nonshared.a.
55232         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55233         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55234         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55235         $(link-libc-deps).
55236         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55237         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55238         * login/Makefile ($(objpfx)libutil.so): Likewise.
55239         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55240         * math/Makefile ($(objpfx)libm.so): Likewise.
55241         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55242         $(objpfx)libnsl.so): Define libc-for-link as target-specific
55243         variable instead of depending directly on libc.
55244         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55245         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55246         $(link-libc-deps).
55247         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55248         libc.
55249         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55250         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55251         ($(objpfx)libanl.so): Likewise.
55252         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55253         ld.so.
55254         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55255         $(link-libc-deps).
55256         * sysdeps/i386/fpu/Makefile: Remove file.
55257         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55258         ($(objpfx)libm.so): Remove dependency on ld.so.
55260 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
55262         [BZ # 15553]
55263         * nis/yp_xdr.c (XDRMAXNAME): Define.
55264         (XDRMAXRECORD): Define.
55265         (xdr_domainname): Use XDRMAXNAME.
55266         (xdr_mapname): Likewise.
55267         (xdr_peername): Likewise.
55268         (xdr_keydat): Use XDRMAXRECORD.
55269         (xdr_valdat): Likewise.
55271 2013-05-30  Jeff Law  <law@redhat.com>
55273         [BZ #14256]
55274         * manual/errno.texi (ESTALE): Update to account for more than
55275         just NFS file systems.
55276         * sysdeps/gnu/errlist.c: Regenerated.
55278 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55280         [BZ #15465]
55281         * elf/Makefile (tests): Add tst-null-argv.
55282         (modules-names):  Add tst-null-argv-lib.
55283         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55284         (tst-null-argv-ENV): Set environment for tst-null-argv.
55285         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55286         (RTLD_PROGNAME): New macro.
55287         * elf/tst-null-argv.c: New test case.
55288         * elf/tst-null-argv-lib.c: Library for test case.
55289         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55290         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55291         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55292         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55293         * elf/dl-init.c (call_init): Likewise.
55294         (_dl_init): Likewise.
55295         * elf/dl-load.c (print_search_path): Likewise.
55296         (_dl_map_object): Likewise.
55297         * elf/dl-lookup.c (do_lookup_x): Likewise.
55298         (add_dependency): Likewise.
55299         (_dl_lookup_symbol_x): Likewise.
55300         (_dl_debug_bindings): Likewise.
55301         * elf/dl-open.c (_dl_show_scope): Likewise.
55302         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55303         * elf/dl-version.c (match_symbol): Likewise.
55304         (_dl_check_map_versions): Likewise.
55305         * elf/rtld.c (dl_main): Likewise.
55306         (print_unresolved): Use RTLD_PROGNAME.
55307         (print_missing_version): Likewise.
55308         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55309         (elf_machine_rela): Likewise.
55310         * sysdeps/powerpc/powerpc32/dl-machine.c
55311         (__process_machine_rela): Likewise.
55312         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55313         Likewise.
55314         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55315         Likewise.
55316         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55317         Likewise.
55318         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55319         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55320         Likewise.
55321         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55322         Likewise.
55323         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55325 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
55327         * po/be.po: Add descriptive title.
55328         * po/zh_CN.po: Likewise.
55329         * po/header.pot: Likewise.
55331 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
55333         * locale/programs/locarchive.c (create_archive): Inlucde fname in
55334         error message.
55335         (enlarge_archive): Likewise.
55337 2013-05-28  Ben North  <ben@redfrontdoor.org>
55339         * manual/arith.texi (frexp): It is the magnitude of the return
55340         value which lies in [0.5, 1), not the return value itself.
55342 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55346 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
55348         * stdio-common/bug26.c (main): Correct fscanf template.
55350         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55351         declare _dl_skip_args.
55353         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55354         Don't declare.
55356         * manual/platform.texi: Add missing @end deftypefun.
55358 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55360         [BZ #15529]
55361         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55362         bit of mantissa of 2^16382.
55363         * math/libm-test.inc (hypot_test_data): Add more tests.
55365         * math/libm-test.inc: Add drem and pow10 to list of tested
55366         functions.
55367         (pow10_test): New function.
55368         (drem_test): Likewise.
55369         (drem_test_tonearest): Likewise.
55370         (drem_test_towardzero): Likewise.
55371         (drem_test_downward): Likewise.
55372         (drem_test_upward): Likewise.
55373         (main): Call the new functions.
55375         * math/libm-test.inc (finite_test_data): Remove.
55376         (finite_test): Run tests from isfinite_test_data.
55377         (gamma_test_data): Remove.
55378         (gamma_test): Run tests from lgamma_test_data.
55379         * sysdeps/i386/fpu/libm-test-ulps: Update.
55380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55382 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55384         * manual/platform.texi: Add PowerPC PPR function set documentation.
55385         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55386         implementation.
55388 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
55390         * math/libm-test.inc (MAX_EXP): Define.
55391         (ULPDIFF): Define.
55392         (ulp): New function.
55393         (check_float_internal): Use ULPDIFF.
55394         (cpow_test): Disable failing test.
55395         (check_ulp): Test ulp() implementation.
55396         (main): Call check_ulp before starting tests.
55398 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55400         * math/gen-libm-test.pl (generate_testfile): Do not handle
55401         START_DATA and END_DATA.
55402         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55403         END_DATA.
55404         (acos_tonearest_test_data): Likewise.
55405         (acos_towardzero_test_data): Likewise.
55406         (acos_downward_test_data): Likewise.
55407         (acos_upward_test_data): Likewise.
55408         (acosh_test_data): Likewise.
55409         (asin_test_data): Likewise.
55410         (asin_tonearest_test_data): Likewise.
55411         (asin_towardzero_test_data): Likewise.
55412         (asin_downward_test_data): Likewise.
55413         (asin_upward_test_data): Likewise.
55414         (asinh_test_data): Likewise.
55415         (atan_test_data): Likewise.
55416         (atanh_test_data): Likewise.
55417         (atan2_test_data): Likewise.
55418         (cabs_test_data): Likewise.
55419         (cacos_test_data): Likewise.
55420         (cacosh_test_data): Likewise.
55421         (carg_test_data): Likewise.
55422         (casin_test_data): Likewise.
55423         (casinh_test_data): Likewise.
55424         (catan_test_data): Likewise.
55425         (catanh_test_data): Likewise.
55426         (cbrt_test_data): Likewise.
55427         (ccos_test_data): Likewise.
55428         (ccosh_test_data): Likewise.
55429         (ceil_test_data): Likewise.
55430         (cexp_test_data): Likewise.
55431         (cimag_test_data): Likewise.
55432         (clog_test_data): Likewise.
55433         (clog10_test_data): Likewise.
55434         (conj_test_data): Likewise.
55435         (copysign_test_data): Likewise.
55436         (cos_test_data): Likewise.
55437         (cos_tonearest_test_data): Likewise.
55438         (cos_towardzero_test_data): Likewise.
55439         (cos_downward_test_data): Likewise.
55440         (cos_upward_test_data): Likewise.
55441         (cosh_test_data): Likewise.
55442         (cosh_tonearest_test_data): Likewise.
55443         (cosh_towardzero_test_data): Likewise.
55444         (cosh_downward_test_data): Likewise.
55445         (cosh_upward_test_data): Likewise.
55446         (cpow_test_data): Likewise.
55447         (cproj_test_data): Likewise.
55448         (creal_test_data): Likewise.
55449         (csin_test_data): Likewise.
55450         (csinh_test_data): Likewise.
55451         (csqrt_test_data): Likewise.
55452         (ctan_test_data): Likewise.
55453         (ctan_tonearest_test_data): Likewise.
55454         (ctan_towardzero_test_data): Likewise.
55455         (ctan_downward_test_data): Likewise.
55456         (ctan_upward_test_data): Likewise.
55457         (ctanh_test_data): Likewise.
55458         (ctanh_tonearest_test_data): Likewise.
55459         (ctanh_towardzero_test_data): Likewise.
55460         (ctanh_downward_test_data): Likewise.
55461         (ctanh_upward_test_data): Likewise.
55462         (erf_test_data): Likewise.
55463         (erfc_test_data): Likewise.
55464         (exp_test_data): Likewise.
55465         (exp_tonearest_test_data): Likewise.
55466         (exp_towardzero_test_data): Likewise.
55467         (exp_downward_test_data): Likewise.
55468         (exp_upward_test_data): Likewise.
55469         (exp10_test_data): Likewise.
55470         (exp2_test_data): Likewise.
55471         (expm1_test_data): Likewise.
55472         (fabs_test_data): Likewise.
55473         (fdim_test_data): Likewise.
55474         (finite_test_data): Likewise.
55475         (floor_test_data): Likewise.
55476         (fma_test_data): Likewise.
55477         (fma_towardzero_test_data): Likewise.
55478         (fma_downward_test_data): Likewise.
55479         (fma_upward_test_data): Likewise.
55480         (fmax_test_data): Likewise.
55481         (fmin_test_data): Likewise.
55482         (fmod_test_data): Likewise.
55483         (fpclassify_test_data): Likewise.
55484         (frexp_test_data): Likewise.
55485         (gamma_test_data): Likewise.
55486         (hypot_test_data): Likewise.
55487         (ilogb_test_data): Likewise.
55488         (isfinite_test_data): Likewise.
55489         (isgreater_test_data): Likewise.
55490         (isgreaterequal_test_data): Likewise.
55491         (isinf_test_data): Likewise.
55492         (isless_test_data): Likewise.
55493         (islessequal_test_data): Likewise.
55494         (islessgreater_test_data): Likewise.
55495         (isnan_test_data): Likewise.
55496         (isnormal_test_data): Likewise.
55497         (issignaling_test_data): Likewise.
55498         (isunordered_test_data): Likewise.
55499         (j0_test_data): Likewise.
55500         (j1_test_data): Likewise.
55501         (jn_test_data): Likewise.
55502         (ldexp_test_data): Likewise.
55503         (lgamma_test_data): Likewise.
55504         (lrint_test_data): Likewise.
55505         (lrint_tonearest_test_data): Likewise.
55506         (lrint_towardzero_test_data): Likewise.
55507         (lrint_downward_test_data): Likewise.
55508         (lrint_upward_test_data): Likewise.
55509         (llrint_test_data): Likewise.
55510         (llrint_tonearest_test_data): Likewise.
55511         (llrint_towardzero_test_data): Likewise.
55512         (llrint_downward_test_data): Likewise.
55513         (llrint_upward_test_data): Likewise.
55514         (log_test_data): Likewise.
55515         (log10_test_data): Likewise.
55516         (log1p_test_data): Likewise.
55517         (log2_test_data): Likewise.
55518         (logb_test_data): Likewise.
55519         (logb_downward_test_data): Likewise.
55520         (lround_test_data): Likewise.
55521         (llround_test_data): Likewise.
55522         (modf_test_data): Likewise.
55523         (nearbyint_test_data): Likewise.
55524         (nextafter_test_data): Likewise.
55525         (nexttoward_test_data): Likewise.
55526         (pow_test_data): Likewise.
55527         (pow_tonearest_test_data): Likewise.
55528         (pow_towardzero_test_data): Likewise.
55529         (pow_downward_test_data): Likewise.
55530         (pow_upward_test_data): Likewise.
55531         (remainder_test_data): Likewise.
55532         (remainder_tonearest_test_data): Likewise.
55533         (remainder_towardzero_test_data): Likewise.
55534         (remainder_downward_test_data): Likewise.
55535         (remainder_upward_test_data): Likewise.
55536         (remquo_test_data): Likewise.
55537         (rint_test_data): Likewise.
55538         (rint_tonearest_test_data): Likewise.
55539         (rint_towardzero_test_data): Likewise.
55540         (rint_downward_test_data): Likewise.
55541         (rint_upward_test_data): Likewise.
55542         (round_test_data): Likewise.
55543         (scalb_test_data): Likewise.
55544         (scalbn_test_data): Likewise.
55545         (scalbln_test_data): Likewise.
55546         (signbit_test_data): Likewise.
55547         (sin_test_data): Likewise.
55548         (sin_tonearest_test_data): Likewise.
55549         (sin_towardzero_test_data): Likewise.
55550         (sin_downward_test_data): Likewise.
55551         (sin_upward_test_data): Likewise.
55552         (sincos_test_data): Likewise.
55553         (sinh_test_data): Likewise.
55554         (sinh_tonearest_test_data): Likewise.
55555         (sinh_towardzero_test_data): Likewise.
55556         (sinh_downward_test_data): Likewise.
55557         (sinh_upward_test_data): Likewise.
55558         (sqrt_test_data): Likewise.
55559         (tan_test_data): Likewise.
55560         (tan_tonearest_test_data): Likewise.
55561         (tan_towardzero_test_data): Likewise.
55562         (tan_downward_test_data): Likewise.
55563         (tan_upward_test_data): Likewise.
55564         (tanh_test_data): Likewise.
55565         (tgamma_test_data): Likewise.
55566         (trunc_test_data): Likewise.
55567         (y0_test_data): Likewise.
55568         (y1_test_data): Likewise.
55569         (yn_test_data): Likewise.
55570         (significand_test_data): Likewise.
55572         * math/gen-libm-test.pl (@functions): Remove variable.
55573         (generate_testfile): Don't handle START and END lines.
55574         * math/libm-test.inc (START): New macro.
55575         (END): Likewise.
55576         (END_COMPLEX): Likewise.
55577         (acos_test): Use END macro without arguments.
55578         (acos_test_tonearest): Likewise.
55579         (acos_test_towardzero): Likewise.
55580         (acos_test_downward): Likewise.
55581         (acos_test_upward): Likewise.
55582         (acosh_test): Likewise.
55583         (asin_test): Likewise.
55584         (asin_test_tonearest): Likewise.
55585         (asin_test_towardzero): Likewise.
55586         (asin_test_downward): Likewise.
55587         (asin_test_upward): Likewise.
55588         (asinh_test): Likewise.
55589         (atan_test): Likewise.
55590         (atanh_test): Likewise.
55591         (atan2_test): Likewise.
55592         (cabs_test): Likewise.
55593         (cacos_test): Use END_COMPLEX macro without arguments.
55594         (cacosh_test): Likewise.
55595         (carg_test): Use END macro without arguments.
55596         (casin_test): Use END_COMPLEX macro without arguments.
55597         (casinh_test): Likewise.
55598         (catan_test): Likewise.
55599         (catanh_test): Likewise.
55600         (cbrt_test): Use END macro without arguments.
55601         (ccos_test): Use END_COMPLEX macro without arguments.
55602         (ccosh_test): Likewise.
55603         (ceil_test): Use END macro without arguments.
55604         (cexp_test): Use END_COMPLEX macro without arguments.
55605         (cimag_test): Use END macro without arguments.
55606         (clog_test): Use END_COMPLEX macro without arguments.
55607         (clog10_test): Likewise.
55608         (conj_test): Likewise.
55609         (copysign_test): Use END macro without arguments.
55610         (cos_test): Likewise.
55611         (cos_test_tonearest): Likewise.
55612         (cos_test_towardzero): Likewise.
55613         (cos_test_downward): Likewise.
55614         (cos_test_upward): Likewise.
55615         (cosh_test): Likewise.
55616         (cosh_test_tonearest): Likewise.
55617         (cosh_test_towardzero): Likewise.
55618         (cosh_test_downward): Likewise.
55619         (cosh_test_upward): Likewise.
55620         (cpow_test): Use END_COMPLEX macro without arguments.
55621         (cproj_test): Likewise.
55622         (creal_test): Use END macro without arguments.
55623         (csin_test): Use END_COMPLEX macro without arguments.
55624         (csinh_test): Likewise.
55625         (csqrt_test): Likewise.
55626         (ctan_test): Likewise.
55627         (ctan_test_tonearest): Likewise.
55628         (ctan_test_towardzero): Likewise.
55629         (ctan_test_downward): Likewise.
55630         (ctan_test_upward): Likewise.
55631         (ctanh_test): Likewise.
55632         (ctanh_test_tonearest): Likewise.
55633         (ctanh_test_towardzero): Likewise.
55634         (ctanh_test_downward): Likewise.
55635         (ctanh_test_upward): Likewise.
55636         (erf_test): Use END macro without arguments.
55637         (erfc_test): Likewise.
55638         (exp_test): Likewise.
55639         (exp_test_tonearest): Likewise.
55640         (exp_test_towardzero): Likewise.
55641         (exp_test_downward): Likewise.
55642         (exp_test_upward): Likewise.
55643         (exp10_test): Likewise.
55644         (exp2_test): Likewise.
55645         (expm1_test): Likewise.
55646         (fabs_test): Likewise.
55647         (fdim_test): Likewise.
55648         (finite_test): Likewise.
55649         (floor_test): Likewise.
55650         (fma_test): Likewise.
55651         (fma_test_towardzero): Likewise.
55652         (fma_test_downward): Likewise.
55653         (fma_test_upward): Likewise.
55654         (fmax_test): Likewise.
55655         (fmin_test): Likewise.
55656         (fmod_test): Likewise.
55657         (fpclassify_test): Likewise.
55658         (frexp_test): Likewise.
55659         (gamma_test): Likewise.
55660         (hypot_test): Likewise.
55661         (ilogb_test): Likewise.
55662         (isfinite_test): Likewise.
55663         (isgreater_test): Likewise.
55664         (isgreaterequal_test): Likewise.
55665         (isinf_test): Likewise.
55666         (isless_test): Likewise.
55667         (islessequal_test): Likewise.
55668         (islessgreater_test): Likewise.
55669         (isnan_test): Likewise.
55670         (isnormal_test): Likewise.
55671         (issignaling_test): Likewise.
55672         (isunordered_test): Likewise.
55673         (j0_test): Likewise.
55674         (j1_test): Likewise.
55675         (jn_test): Likewise.
55676         (ldexp_test): Likewise.
55677         (lgamma_test): Likewise.
55678         (lrint_test): Likewise.
55679         (lrint_test_tonearest): Likewise.
55680         (lrint_test_towardzero): Likewise.
55681         (lrint_test_downward): Likewise.
55682         (lrint_test_upward): Likewise.
55683         (llrint_test): Likewise.
55684         (llrint_test_tonearest): Likewise.
55685         (llrint_test_towardzero): Likewise.
55686         (llrint_test_downward): Likewise.
55687         (llrint_test_upward): Likewise.
55688         (log_test): Likewise.
55689         (log10_test): Likewise.
55690         (log1p_test): Likewise.
55691         (log2_test): Likewise.
55692         (logb_test): Likewise.
55693         (logb_test_downward): Likewise.
55694         (lround_test): Likewise.
55695         (llround_test): Likewise.
55696         (modf_test): Likewise.
55697         (nearbyint_test): Likewise.
55698         (nextafter_test): Likewise.
55699         (nexttoward_test): Likewise.
55700         (pow_test): Likewise.
55701         (pow_test_tonearest): Likewise.
55702         (pow_test_towardzero): Likewise.
55703         (pow_test_downward): Likewise.
55704         (pow_test_upward): Likewise.
55705         (remainder_test): Likewise.
55706         (remainder_test_tonearest): Likewise.
55707         (remainder_test_towardzero): Likewise.
55708         (remainder_test_downward): Likewise.
55709         (remainder_test_upward): Likewise.
55710         (remquo_test): Likewise.
55711         (rint_test): Likewise.
55712         (rint_test_tonearest): Likewise.
55713         (rint_test_towardzero): Likewise.
55714         (rint_test_downward): Likewise.
55715         (rint_test_upward): Likewise.
55716         (round_test): Likewise.
55717         (scalb_test): Likewise.
55718         (scalbn_test): Likewise.
55719         (scalbln_test): Likewise.
55720         (signbit_test): Likewise.
55721         (sin_test): Likewise.
55722         (sin_test_tonearest): Likewise.
55723         (sin_test_towardzero): Likewise.
55724         (sin_test_downward): Likewise.
55725         (sin_test_upward): Likewise.
55726         (sincos_test): Likewise.
55727         (sinh_test): Likewise.
55728         (sinh_test_tonearest): Likewise.
55729         (sinh_test_towardzero): Likewise.
55730         (sinh_test_downward): Likewise.
55731         (sinh_test_upward): Likewise.
55732         (sqrt_test): Likewise.
55733         (tan_test): Likewise.
55734         (tan_test_tonearest): Likewise.
55735         (tan_test_towardzero): Likewise.
55736         (tan_test_downward): Likewise.
55737         (tan_test_upward): Likewise.
55738         (tanh_test): Likewise.
55739         (tgamma_test): Likewise.
55740         (trunc_test): Likewise.
55741         (y0_test): Likewise.
55742         (y1_test): Likewise.
55743         (yn_test): Likewise.
55744         (significand_test): Likewise.
55746 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
55748         [BZ #15381]
55749         * libio/genops.c (_IO_no_init): Initialize wide struct info.
55751 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55753         [BZ #14894]
55754         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55755         __ppc_mdoio and __ppc_mdoom.
55756         * manual/platform.texi: Document new functions __ppc_yield,
55757         __ppc_mdoio and __ppc_mdoom.
55759 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
55761         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55762         (main): Mention "tls" pseudo-hwcap is legacy.
55763         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55765 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55767         * math/gen-libm-test.pl (parse_args): Output only string of
55768         arguments as text for test name, not full call or descriptions of
55769         tests for extra outputs.
55770         (generate_testfile): Do not pass function name to parse_args.
55771         Generate this_func variable from START.
55772         * math/libm-test.inc (struct test_f_f_data): Rename test_name
55773         field to arg_str.
55774         (struct test_ff_f_data): Likewise.
55775         (test_ff_f_data_nexttoward): Likewise.
55776         (struct test_fi_f_data): Likewise.
55777         (struct test_fl_f_data): Likewise.
55778         (struct test_if_f_data): Likewise.
55779         (struct test_fff_f_data): Likewise.
55780         (struct test_c_f_data): Likewise.
55781         (struct test_f_f1_data): Likewise.  Remove field extra_name.
55782         (struct test_fF_f1_data): Likewise.
55783         (struct test_ffI_f1_data): Likewise.
55784         (struct test_c_c_data): Rename test_name field to arg_str.
55785         (struct test_cc_c_data): Likewise.
55786         (struct test_f_i_data): Likewise.
55787         (struct test_ff_i_data): Likewise.
55788         (struct test_f_l_data): Likewise.
55789         (struct test_f_L_data): Likewise.
55790         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
55791         and extra2_name.
55792         (COMMON_TEST_SETUP): New macro.
55793         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55794         (COMMON_TEST_CLEANUP): Likewise.
55795         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55796         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
55797         macros.
55798         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55799         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
55800         macros.
55801         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55802         (RUN_TEST_fff_f): Take argument string.  Call new setup and
55803         cleanup macros.
55804         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55805         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
55806         macros.
55807         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55808         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
55809         macros.
55810         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55811         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
55812         cleanup macros.
55813         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55814         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
55815         cleanup macros.
55816         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55817         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
55818         cleanup macros.
55819         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55820         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
55821         macros.
55822         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55823         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
55824         macros.
55825         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55826         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
55827         macros.
55828         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55829         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
55830         cleanup macros.
55831         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55832         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
55833         cleanup macros.
55834         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55835         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
55836         macros.
55837         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55838         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
55839         cleanup macros.
55840         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55841         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
55842         macros.
55843         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55844         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
55845         macros.
55846         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55847         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
55848         cleanup macros.
55849         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55851 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
55853         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55854         to _sifields.sigfault.
55855         (si_addr_lsb): Define new macro.
55856         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55857         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55858         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55860 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
55862         [BZ #15441]
55863         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55864         returns -1.
55865         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55866         null return -1.
55867         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55868         loading the domain.
55870 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55872         * math/gen-libm-test.pl (parse_args): Do not include expected
55873         result in test name.
55874         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55875         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55876         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55877         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55878         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55881 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55883         * benchtests/Makefile: Sort function entries.
55885         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55886         tanh, asinh, acosh, atanh.
55887         * benchtests/acos-inputs: New file.
55888         * benchtests/acosh-inputs: New file.
55889         * benchtests/asin-inputs: New file.
55890         * benchtests/asinh-inputs: New file.
55891         * benchtests/atanh-inputs: New file.
55892         * benchtests/cosh-inputs: New file.
55893         * benchtests/log-inputs: New file.
55894         * benchtests/sinh-inputs: New file.
55895         * benchtests/tanh-inputs: New file.
55897 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
55899         [BZ #15339]
55900         * posix/tst-getaddrinfo4.c: New test.
55901         * posix/Makefile (tests): Add it.
55903 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55905         [BZ #15339]
55906         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55907         when no services were used.
55908         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55909         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55911 2013-05-21  Andreas Schwab  <schwab@suse.de>
55913         [BZ #15014]
55914         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55915         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55916         successful.
55917         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55918         redundant variable declarations and reallocation of buffer when
55919         parsing as IPv6 address.  Always set NSS status when called from
55920         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
55921         buffer too small.  Correct computation of needed size.
55922         * nss/Makefile (tests): Add test-digits-dots.
55923         * nss/test-digits-dots.c: New test.
55925 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55927         * benchtests/Makefile: Remove instructions for adding
55928         benchmark tests.
55929         * benchtests/README: New file to explain how to execute and
55930         enhance the benchmark tests.
55932 2013-05-21  Andreas Schwab  <schwab@suse.de>
55934         [BZ #15493]
55935         * setjmp/Makefile (tests): Add tst-sigsetjmp.
55936         * setjmp/tst-sigsetjmp.c: New test.
55938 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55940         * sysdeps/x86_64/memset.S (memset): New implementation.
55941         (__bzero): Likewise.
55942         (__memset_tail): New function.
55944 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55946         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55947         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55948         __memcpy_sse2_unaligned ifunc selection.
55949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55950         Add memcpy-sse2-unaligned.S.
55951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55952         Add: __memcpy_sse2_unaligned.
55954 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
55956         [BZ #15490]
55957         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55958         math_force_eval before restoring floating-point envrionment.
55959         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55960         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55961         Likewise.
55962         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55963         <math_private.h>.
55964         (__nearbyintl): Use math_force_eval before restoring
55965         floating-point environment.
55966         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55968         * math/gen-libm-test.pl (special_functions): Remove.
55969         (parse_args): Don't handle TEST_extra.  Handle functions with no
55970         return value.
55971         * math/libm-test.inc (struct test_sincos_data): Replace with
55972         struct test_fFF_11_data.
55973         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55974         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55975         (sincos_test_data): Change element type to struct
55976         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
55977         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55978         RUN_TEST_LOOP_sincos.
55979         * math/README.libm-test: Don't mention special handling of
55980         individual functions.
55981         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55982         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55983         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55984         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55985         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55988         * math/gen-libm-test.pl (get_variable): Remove function.
55989         (parse_args): Don't show pointer parameters to call in test
55990         names.  Use "extra output N" in test names for extra outputs
55991         rather than naming variables.
55993 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
55995         [BZ #15488]
55996         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55997         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55998         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55999         double tests.
56000         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
56001         disable.
56002         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
56003         check_long_double.
56005         * math/gen-libm-test.pl (@tests): Remove variable.
56006         ($count): Likewise.
56007         (new_test): Remove function.
56008         (show_exceptions): New function.
56009         (special_functions): Use show_exceptions instead of new_test.
56010         (parse_args): Likewise.
56011         (generate_testfile): Pass only function name in generated call to
56012         print_max_error or print_complex_max_error.
56013         (get_ulps): Do not handle complex tests specially.
56014         (output_test): Rename to ...
56015         (get_all_ulps_for_test): ... this.  Return a string rather than
56016         printing to a file.  Require ulps to be present.
56017         (output_ulps): Generate arrays rather than #defines.
56018         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
56019         (struct ulp_data): New type.
56020         (BUILD_COMPLEX_ULP): Remove macro.
56021         (compare_ulp_data): New function.
56022         (find_ulps): Likewise.
56023         (find_test_ulps): Likewise.
56024         (find_function_ulps): Likewise.
56025         (find_complex_function_ulps): Likewise.
56026         (print_max_error): Determine allowed ulps using
56027         find_function_ulps.
56028         (print_complex_max_error): Determine allowed ulps using
56029         find_complex_function_ulps.
56030         (check_float_internal): Determine max ulps using find_test_ulps.
56031         (check_float): Do not take max_ulp parameter.  Update call to
56032         check_float_internal.
56033         (check_complex): Likewise.
56034         (check_int): Do not take max_ulp parameter.
56035         (check_long): Likewise.
56036         (check_bool): Likewise.
56037         (check_longlong): Likewise.
56038         (struct test_f_f_data): Remove max_ulp field.
56039         (struct test_ff_f_data): Likewise.
56040         (struct test_ff_f_data_nexttoward): Likewise.
56041         (struct test_fi_f_data): Likewise.
56042         (struct test_fl_f_data): Likewise.
56043         (struct test_if_f_data): Likewise.
56044         (struct test_fff_f_data): Likewise.
56045         (struct test_c_f_data): Likewise.
56046         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56047         (struct test_fF_f1_data): Likewise.
56048         (struct test_ffI_f1_data): Likewise.
56049         (struct test_c_c_data): Remove max_ulp field.
56050         (struct test_cc_c_data): Likewise.
56051         (struct test_f_i_data): Likewise.
56052         (struct test_ff_i_data): Likewise.
56053         (struct test_f_l_data): Likewise.
56054         (struct test_f_L_data): Likewise.
56055         (struct test_sincos_data): Likewise.
56056         (RUN_TEST_f_f): Do not handle ulps.
56057         (RUN_TEST_LOOP_f_f): Likewise.
56058         (RUN_TEST_2_f): Likewise.
56059         (RUN_TEST_LOOP_2_f): Likewise.
56060         (RUN_TEST_fff_f): Likewise.
56061         (RUN_TEST_LOOP_fff_f): Likewise.
56062         (RUN_TEST_c_f): Likewise.
56063         (RUN_TEST_LOOP_c_f): Likewise.
56064         (RUN_TEST_f_f1): Likewise.
56065         (RUN_TEST_LOOP_f_f1): Likewise.
56066         (RUN_TEST_fF_f1): Likewise.
56067         (RUN_TEST_LOOP_fF_f1): Likewise.
56068         (RUN_TEST_fI_f1): Likewise.
56069         (RUN_TEST_LOOP_fI_f1): Likewise.
56070         (RUN_TEST_ffI_f1): Likewise.
56071         (RUN_TEST_LOOP_ffI_f1): Likewise.
56072         (RUN_TEST_c_c): Likewise.
56073         (RUN_TEST_LOOP_c_c): Likewise.
56074         (RUN_TEST_cc_c): Likewise.
56075         (RUN_TEST_LOOP_cc_c): Likewise.
56076         (RUN_TEST_f_i): Likewise.
56077         (RUN_TEST_LOOP_f_i): Likewise.
56078         (RUN_TEST_f_i_tg): Likewise.
56079         (RUN_TEST_LOOP_f_i_tg): Likewise.
56080         (RUN_TEST_ff_i_tg): Likewise.
56081         (RUN_TEST_LOOP_ff_i_tg): Likewise.
56082         (RUN_TEST_f_b): Likewise.
56083         (RUN_TEST_LOOP_f_b): Likewise.
56084         (RUN_TEST_f_b_tg): Likewise.
56085         (RUN_TEST_LOOP_f_b_tg): Likewise.
56086         (RUN_TEST_f_l): Likewise.
56087         (RUN_TEST_LOOP_f_l): Likewise.
56088         (RUN_TEST_f_L): Likewise.
56089         (RUN_TEST_LOOP_f_L): Likewise.
56090         (RUN_TEST_sincos): Likewise.
56091         (RUN_TEST_LOOP_sincos): Likewise.
56093 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
56095         [BZ #15480]
56096         [BZ #15485]
56097         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56098         main case of finite arguments, set rounding mode to FE_TONEAREST
56099         and discard exceptions.
56100         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56101         exceptions.
56102         (remainder_tonearest_test_data): New variable.
56103         (remainder_test_tonearest): New function.
56104         (remainder_towardzero_test_data): New variable.
56105         (remainder_test_towardzero): New function.
56106         (remainder_downward_test_data): New variable.
56107         (remainder_test_downward): New function.
56108         (remainder_upward_test_data): New variable.
56109         (remainder_test_upward): New function.
56110         (main): Call the new test functions.
56112         * math/libm-test.inc (struct test_f_f1_data): Remove field
56113         extra_init.
56114         (struct test_fF_f1_data): Likewise.
56115         (struct test_ffI_f1_data): Likewise.
56116         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
56117         based on value of EXTRA_EXPECTED.
56118         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56119         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
56120         EXTRA_VAR based on value of EXTRA_EXPECTED.
56121         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56122         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
56123         EXTRA_VAR based on value of EXTRA_EXPECTED.
56124         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56125         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
56126         EXTRA_VAR based on value of EXTRA_EXPECTED.
56127         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56128         * math/gen-libm-test.pl (parse_args): Don't output initializers
56129         for extra output values.
56131         * math/libm-test.inc (check_int): Expect result to be exactly
56132         equal to expected value and do not handle ulps.
56133         (check_long): Likewise.
56134         (check_longlong): Likewise.
56136         * math/libm-test.inc (ceil_test_data): Test for "inexact"
56137         exceptions.
56138         (cimag_test_data): Likewise.
56139         (conj_test_data): Likewise.
56140         (copysign_test_data): Likewise.
56141         (cproj_test_data): Likewise.
56142         (creal_test_data): Likewise.
56143         (fabs_test_data): Likewise.
56144         (fdim_test_data): Likewise.
56145         (finite_test_data): Likewise.
56146         (floor_test_data): Likewise.
56147         (fmax_test_data): Likewise.
56148         (fmin_test_data): Likewise.
56149         (fmod_test_data): Likewise.
56150         (fpclassify_test_data): Likewise.
56151         (frexp_test_data): Likewise.
56152         (ilogb_test_data): Likewise.
56153         (isfinite_test_data): Likewise.
56154         (isgreater_test_data): Likewise.
56155         (isgreaterequal_test_data): Likewise.
56156         (isinf_test_data): Likewise.
56157         (isless_test_data): Likewise.
56158         (islessequal_test_data): Likewise.
56159         (islessgreater_test_data): Likewise.
56160         (isnan_test_data): Likewise.
56161         (isnormal_test_data): Likewise.
56162         (issignaling_test_data): Likewise.
56163         (isunordered_test_data): Likewise.
56164         (ldexp_test_data): Likewise.
56165         (lrint_test_data): Likewise.
56166         (lrint_test_data) [TEST_FLOAT]: Disable one test.
56167         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56168         (lrint_tonearest_test_data): Test for "inexact" exceptions.
56169         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56170         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56171         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56172         test input.
56173         (lrint_towardzero_test_data): Test for "inexact" exceptions.
56174         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56175         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56176         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56177         that test input.
56178         (lrint_downward_test_data): Test for "inexact" exceptions.
56179         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56180         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56181         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56182         test input.
56183         (lrint_upward_test_data): Test for "inexact" exceptions.
56184         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56185         test input.
56186         (llrint_test_data): Test for "inexact" exceptions.
56187         (llrint_test_data) [TEST_FLOAT]: Disable one test.
56188         (llrint_tonearest_test_data): Test for "inexact" exceptions.
56189         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56190         (llrint_towardzero_test_data): Test for "inexact" exceptions.
56191         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56192         (llrint_downward_test_data): Test for "inexact" exceptions.
56193         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56194         (llrint_upward_test_data): Test for "inexact" exceptions.
56195         (logb_test_data): Likewise.
56196         (logb_downward_test_data): Likewise.
56197         (nextafter_test_data): Likewise.
56198         (nexttoward_test_data): Likewise.
56199         (remainder_test_data): Likewise.
56200         (remquo_test_data): Likewise.
56201         (scalbn_test_data): Likewise.
56202         (scalbln_test_data): Likewise.
56203         (signbit_test_data): Likewise.
56204         (sqrt_test_data): Likewise.
56205         (significand_test_data): Likewise.
56207 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56209         [BZ #15424]
56210         * benchtests/bench-modf.c (struct args): Mark arg0 as
56211         volatile.
56212         * scripts/bench.pl: Mark members of struct args as volatile.
56214 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56216         [BZ # 15497]
56217         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56218         negative infinity on POWER6 or lower.
56219         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56221 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
56223         [BZ #15442]
56224         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56225         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56226         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56227         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56228         (_FP_SETQNAN): New macro.
56229         (_FP_SETQNAN_SEMIRAW): Likewise.
56230         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56231         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56232         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56233         (FP_EXTEND): Use _FP_FRAC_SNANP.
56234         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56235         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56236         into account.
56237         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56238         New macro.
56239         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56240         Likewise.
56242 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56244         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56245         with DIVIDE_BY_ZERO_EXCEPTION.
56246         (gamma_test_data): Likewise.
56247         (lgamma_test_data): Likewise.
56248         (log_test_data): Likewise.
56249         (log10_test_data): Likewise.
56250         (log2_test_data): Likewise.
56251         (tgamma_test_data): Likewise.
56253         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56254         (acos_test_tonearest): Likewise.
56255         (acos_test_towardzero): Likewise.
56256         (acos_test_downward): Likewise.
56257         (acos_test_upward): Likewise.
56258         (acosh_test): Likewise.
56259         (asin_test): Likewise.
56260         (asin_test_tonearest): Likewise.
56261         (asin_test_towardzero): Likewise.
56262         (asin_test_downward): Likewise.
56263         (asin_test_upward): Likewise.
56264         (asinh_test): Likewise.
56265         (atan_test): Likewise.
56266         (atanh_test): Likewise.
56267         (atan2_test): Likewise.
56268         (cabs_test): Likewise.
56269         (cacos_test): Likewise.
56270         (cacosh_test): Likewise.
56271         (casin_test): Likewise.
56272         (casinh_test): Likewise.
56273         (catan_test): Likewise.
56274         (catanh_test): Likewise.
56275         (cbrt_test): Likewise.
56276         (ccos_test): Likewise.
56277         (ccosh_test): Likewise.
56278         (cexp_test): Likewise.
56279         (clog_test): Likewise.
56280         (clog10_test): Likewise.
56281         (cos_test): Likewise.
56282         (cos_test_tonearest): Likewise.
56283         (cos_test_towardzero): Likewise.
56284         (cos_test_downward): Likewise.
56285         (cos_test_upward): Likewise.
56286         (cosh_test): Likewise.
56287         (cosh_test_tonearest): Likewise.
56288         (cosh_test_towardzero): Likewise.
56289         (cosh_test_downward): Likewise.
56290         (cosh_test_upward): Likewise.
56291         (cpow_test): Likewise.
56292         (csin_test): Likewise.
56293         (csinh_test): Likewise.
56294         (csqrt_test): Likewise.
56295         (ctan_test): Likewise.
56296         (ctan_test_tonearest): Likewise.
56297         (ctan_test_towardzero): Likewise.
56298         (ctan_test_downward): Likewise.
56299         (ctan_test_upward): Likewise.
56300         (ctanh_test): Likewise.
56301         (ctanh_test_tonearest): Likewise.
56302         (ctanh_test_towardzero): Likewise.
56303         (ctanh_test_downward): Likewise.
56304         (ctanh_test_upward): Likewise.
56305         (erf_test): Likewise.
56306         (erfc_test): Likewise.
56307         (exp_test): Likewise.
56308         (exp_test_tonearest): Likewise.
56309         (exp_test_towardzero): Likewise.
56310         (exp_test_downward): Likewise.
56311         (exp_test_upward): Likewise.
56312         (exp10_test): Likewise.
56313         (exp2_test): Likewise.
56314         (expm1_test): Likewise.
56315         (fmod_test): Likewise.
56316         (gamma_test): Likewise.
56317         (hypot_test): Likewise.
56318         (j0_test): Likewise.
56319         (j1_test): Likewise.
56320         (jn_test): Likewise.
56321         (lgamma_test): Likewise.
56322         (log_test): Likewise.
56323         (log10_test): Likewise.
56324         (log1p_test): Likewise.
56325         (log2_test): Likewise.
56326         (logb_test_downward): Likewise.
56327         (pow_test): Likewise.
56328         (pow_test_tonearest): Likewise.
56329         (pow_test_towardzero): Likewise.
56330         (pow_test_downward): Likewise.
56331         (pow_test_upward): Likewise.
56332         (remainder_test): Likewise.
56333         (remquo_test): Likewise.
56334         (sin_test): Likewise.
56335         (sin_test_tonearest): Likewise.
56336         (sin_test_towardzero): Likewise.
56337         (sin_test_downward): Likewise.
56338         (sin_test_upward): Likewise.
56339         (sincos_test): Likewise.
56340         (sinh_test): Likewise.
56341         (sinh_test_tonearest): Likewise.
56342         (sinh_test_towardzero): Likewise.
56343         (sinh_test_downward): Likewise.
56344         (sinh_test_upward): Likewise.
56345         (sqrt_test): Likewise.
56346         (tan_test): Likewise.
56347         (tan_test_tonearest): Likewise.
56348         (tan_test_towardzero): Likewise.
56349         (tan_test_downward): Likewise.
56350         (tan_test_upward): Likewise.
56351         (tanh_test): Likewise.
56352         (tgamma_test): Likewise.
56353         (y0_test): Likewise.
56354         (y1_test): Likewise.
56355         (yn_test): Likewise.
56357         * math/gen-libm-test.pl (adjust_arg): Remove function.
56358         (special_function): Remove argument $in_func.  Only handle
56359         generating output for tables of tests, not inside functions.
56360         (parse_args): Likewise.
56361         (generate_testfile): Remove variable $in_func.  Update call to
56362         parse_args.
56363         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56364         (MINUS_ZERO_INIT): Rename macro to minus_zero.
56365         (PLUS_INFTY_INIT): Rename macro to plus_infty.
56366         (MINUS_INFTY_INIT): Rename macro to minus_infty.
56367         (QNAN_VALUE_INIT): Rename macro to qnan_value.
56368         (MAX_VALUE_INIT): Rename macro to max_value.
56369         (MIN_VALUE_INIT): Rename macro to min_value.
56370         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56371         (plus_zero): Remove variable.
56372         (minus_zero): Likewise.
56373         (plus_infty): Likewise.
56374         (minus_infty): Likewise.
56375         (qnan_value): Likewise.
56376         (max_value): Likewise.
56377         (min_value): Likewise.
56378         (min_subnorm_value): Likewise.
56380 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56382         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56383         uint64_t or uint32_t usage.
56384         * crypt/sha256-block.c: Likewise.
56385         * crypt/sha256-crypt.c: Likewise.
56386         * crypt/sha256.c: Likewise.
56387         * crypt/sha512-block.c: Likewise.
56388         * crypt/sha512-crypt.c: Likewise.
56389         * crypt/sha512.c: Likewise.
56390         * debug/backtrace-tst.c: Likewise.
56391         * debug/pcprofiledump.c: Likewise.
56392         * elf/cache.c: Likewise.
56393         * elf/dl-cache.c: Likewise.
56394         * elf/dl-misc.c: Likewise.
56395         * elf/dl-profile.c: Likewise.
56396         * elf/dl-support.c: Likewise.
56397         * elf/ldconfig.c: Likewise.
56398         * elf/sprof.c: Likewise.
56399         * iconv/dummy-repertoire.c: Likewise.
56400         * iconv/iconv_charmap.c: Likewise.
56401         * iconv/skeleton.c: Likewise.
56402         * iconvdata/8bit-generic.c: Likewise.
56403         * iconvdata/cp737.h: Likewise.
56404         * iconvdata/cp775.h: Likewise.
56405         * iconvdata/ibm1008.h: Likewise.
56406         * iconvdata/ibm1025.h: Likewise.
56407         * iconvdata/ibm1046.h: Likewise.
56408         * iconvdata/ibm1097.h: Likewise.
56409         * iconvdata/ibm1112.h: Likewise.
56410         * iconvdata/ibm1122.h: Likewise.
56411         * iconvdata/ibm1123.h: Likewise.
56412         * iconvdata/ibm1124.h: Likewise.
56413         * iconvdata/ibm1129.h: Likewise.
56414         * iconvdata/ibm1130.h: Likewise.
56415         * iconvdata/ibm1132.h: Likewise.
56416         * iconvdata/ibm1133.h: Likewise.
56417         * iconvdata/ibm1137.h: Likewise.
56418         * iconvdata/ibm1140.h: Likewise.
56419         * iconvdata/ibm1141.h: Likewise.
56420         * iconvdata/ibm1142.h: Likewise.
56421         * iconvdata/ibm1143.h: Likewise.
56422         * iconvdata/ibm1144.h: Likewise.
56423         * iconvdata/ibm1145.h: Likewise.
56424         * iconvdata/ibm1146.h: Likewise.
56425         * iconvdata/ibm1147.h: Likewise.
56426         * iconvdata/ibm1148.h: Likewise.
56427         * iconvdata/ibm1149.h: Likewise.
56428         * iconvdata/ibm1153.h: Likewise.
56429         * iconvdata/ibm1154.h: Likewise.
56430         * iconvdata/ibm1155.h: Likewise.
56431         * iconvdata/ibm1156.h: Likewise.
56432         * iconvdata/ibm1157.h: Likewise.
56433         * iconvdata/ibm1158.h: Likewise.
56434         * iconvdata/ibm1160.h: Likewise.
56435         * iconvdata/ibm1161.h: Likewise.
56436         * iconvdata/ibm1162.h: Likewise.
56437         * iconvdata/ibm1163.h: Likewise.
56438         * iconvdata/ibm1164.h: Likewise.
56439         * iconvdata/ibm1166.h: Likewise.
56440         * iconvdata/ibm1167.h: Likewise.
56441         * iconvdata/ibm12712.h: Likewise.
56442         * iconvdata/ibm1390.h: Likewise.
56443         * iconvdata/ibm1399.h: Likewise.
56444         * iconvdata/ibm16804.h: Likewise.
56445         * iconvdata/ibm4517.h: Likewise.
56446         * iconvdata/ibm4899.h: Likewise.
56447         * iconvdata/ibm4909.h: Likewise.
56448         * iconvdata/ibm4971.h: Likewise.
56449         * iconvdata/ibm5347.h: Likewise.
56450         * iconvdata/ibm803.h: Likewise.
56451         * iconvdata/ibm856.h: Likewise.
56452         * iconvdata/ibm901.h: Likewise.
56453         * iconvdata/ibm902.h: Likewise.
56454         * iconvdata/ibm9030.h: Likewise.
56455         * iconvdata/ibm9066.h: Likewise.
56456         * iconvdata/ibm921.h: Likewise.
56457         * iconvdata/ibm922.h: Likewise.
56458         * iconvdata/ibm9448.h: Likewise.
56459         * iconvdata/isiri-3342.h: Likewise.
56460         * iconvdata/jis0201.h: Likewise.
56461         * include/link.h: Likewise.
56462         * include/netdb.h: Likewise.
56463         * inet/check_native.c: Likewise.
56464         * inet/check_pf.c: Likewise.
56465         * inet/getipv4sourcefilter.c: Likewise.
56466         * inet/getnameinfo.c: Likewise.
56467         * inet/getsourcefilter.c: Likewise.
56468         * inet/htonl.c: Likewise.
56469         * inet/setipv4sourcefilter.c: Likewise.
56470         * inet/setsourcefilter.c: Likewise.
56471         * inet/test-inet6_opt.c: Likewise.
56472         * inet/tst-network.c: Likewise.
56473         * locale/C-collate.c: Likewise.
56474         * locale/C-ctype.c: Likewise.
56475         * locale/C-time.c: Likewise.
56476         * locale/C-translit.h: Likewise.
56477         * locale/loadarchive.c: Likewise.
56478         * locale/programs/3level.h: Likewise.
56479         * locale/programs/charmap.c: Likewise.
56480         * locale/programs/charmap.h: Likewise.
56481         * locale/programs/ld-address.c: Likewise.
56482         * locale/programs/ld-collate.c: Likewise.
56483         * locale/programs/ld-ctype.c: Likewise.
56484         * locale/programs/ld-identification.c: Likewise.
56485         * locale/programs/ld-measurement.c: Likewise.
56486         * locale/programs/ld-messages.c: Likewise.
56487         * locale/programs/ld-monetary.c: Likewise.
56488         * locale/programs/ld-name.c: Likewise.
56489         * locale/programs/ld-numeric.c: Likewise.
56490         * locale/programs/ld-paper.c: Likewise.
56491         * locale/programs/ld-telephone.c: Likewise.
56492         * locale/programs/ld-time.c: Likewise.
56493         * locale/programs/linereader.c: Likewise.
56494         * locale/programs/locale.c: Likewise.
56495         * locale/programs/locarchive.c: Likewise.
56496         * locale/programs/locfile.h: Likewise.
56497         * locale/programs/repertoire.c: Likewise.
56498         * locale/programs/simple-hash.c: Likewise.
56499         * locale/programs/simple-hash.h: Likewise.
56500         * malloc/memusage.c: Likewise.
56501         * malloc/memusagestat.c: Likewise.
56502         * nis/nis_defaults.c: Likewise.
56503         * nis/nis_hash.c: Likewise.
56504         * nis/nis_print.c: Likewise.
56505         * nis/nis_xdr.c: Likewise.
56506         * nscd/connections.c: Likewise.
56507         * nscd/hstcache.c: Likewise.
56508         * nscd/nscd_gethst_r.c: Likewise.
56509         * nscd/nscd_getserv_r.c: Likewise.
56510         * nscd/nscd_helper.c: Likewise.
56511         * nscd/servicescache.c: Likewise.
56512         * nss/makedb.c: Likewise.
56513         * nss/nss_db/db-XXX.c: Likewise.
56514         * nss/nss_db/db-initgroups.c: Likewise.
56515         * nss/nss_db/db-netgrp.c: Likewise.
56516         * nss/nss_files/files-network.c: Likewise.
56517         * nss/nss_files/files-parse.c: Likewise.
56518         * posix/bug-regex5.c: Likewise.
56519         * posix/fnmatch_loop.c: Likewise.
56520         * posix/regcomp.c: Likewise.
56521         * posix/regexec.c: Likewise.
56522         * posix/tst-rfc3484-2.c: Likewise.
56523         * posix/tst-rfc3484-3.c: Likewise.
56524         * posix/tst-rfc3484.c: Likewise.
56525         * resolv/nss_dns/dns-canon.c: Likewise.
56526         * resolv/nss_dns/dns-network.c: Likewise.
56527         * resolv/res_init.c: Likewise.
56528         * resolv/res_mkquery.c: Likewise.
56529         * resolv/tst-aton.c: Likewise.
56530         * stdlib/cxa_atexit.c: Likewise.
56531         * stdlib/cxa_finalize.c: Likewise.
56532         * stdlib/gen-fpioconst.c: Likewise.
56533         * stdlib/strtol_l.c: Likewise.
56534         * string/tst-endian.c: Likewise.
56535         * sunrpc/auth_des.c: Likewise.
56536         * sunrpc/clnt_udp.c: Likewise.
56537         * sunrpc/rtime.c: Likewise.
56538         * sunrpc/svcauth_des.c: Likewise.
56539         * sunrpc/xdr.c: Likewise.
56540         * sunrpc/xdr_intXX_t.c: Likewise.
56541         * sunrpc/xdr_rec.c: Likewise.
56542         * sysdeps/generic/ldconfig.h: Likewise.
56543         * sysdeps/generic/ldsodefs.h: Likewise.
56544         * sysdeps/generic/memusage.h: Likewise.
56545         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56546         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
56547         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
56548         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56549         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56550         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56551         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56552         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56553         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56554         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56555         * sysdeps/posix/getaddrinfo.c: Likewise.
56556         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56557         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56558         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56559         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56560         * sysdeps/powerpc/test-gettimebase.c: Likewise.
56561         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
56562         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
56563         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
56564         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
56565         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
56566         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56567         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56568         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
56569         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
56570         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
56571         * sysdeps/x86_64/dl-tls.h: Likewise.
56572         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
56573         * time/alt_digit.c: Likewise.
56574         * time/era.c: Likewise.
56575         * wcsmbs/tst-c16c32-1.c: Likewise.
56577 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56579         * math/libm-test.inc (struct test_sincos_data): New type.
56580         (RUN_TEST_LOOP_sincos): New macro.
56581         (sincos_test_data): New variable.
56582         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56584 2013-05-16  Richard Henderson  <rth@redhat.com>
56586         * math/atest-exp2.c (LIMB64): New macro.
56587         (CONSTSZ): New macro.
56588         (mp_exp1, mp_exp_m1, mp_log2): New variables.
56589         (hexdig): Move ...
56590         (print_mpn_fp): ... to function scope.
56591         (read_mpn_hex): Remove.
56592         (get_log2): Remove.
56593         (exp2_mpn): Use mp_log2.
56594         (main): Use mp_exp1.
56596 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56598         * math/libm-test.inc: Remove comment about not testing "inexact"
56599         exceptions.
56600         (INEXACT_EXCEPTION): New macro.
56601         (NO_INEXACT_EXCEPTION): Likewise.
56602         (INVALID_EXCEPTION_OK): Update value.
56603         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56604         (OVERFLOW_EXCEPTION_OK): Likewise.
56605         (UNDERFLOW_EXCEPTION_OK): Likewise.
56606         (IGNORE_ZERO_INF_SIGN): Likewise.
56607         (ERRNO_UNCHANGED): Likewise.
56608         (ERRNO_EDOM): Likewise.
56609         (ERRNO_ERANGE): Likewise.
56610         (test_exceptions): Handle testing "inexact" exceptions.
56611         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56612         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56613         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56614         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56615         INEXACT_EXCEPTION.
56616         (rint_towardzero_test_data): Likewise.
56617         (rint_downward_test_data): Likewise.
56618         (rint_upward_test_data): Likewise.
56620         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56621         with OVERFLOW_EXCEPTION.
56622         (exp10_test_data): Likewise.
56623         (exp2_test_data): Likewise.
56624         (expm1_test_data): Likewise.
56625         (lgamma_test_data): Likewise.
56626         (pow_test_data): Likewise.
56627         (tgamma_test_data): Likewise.
56628         (yn_test_data): Remove duplicate test of overflow.
56630         * math/libm-test.inc (struct test_cc_c_data): New type.
56631         (RUN_TEST_LOOP_cc_c): New macro.
56632         (cpow_test_data): New variable.
56633         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56635         * math/libm-test.inc (struct test_f_L_data): New type.
56636         (RUN_TEST_LOOP_f_L): New macro.
56637         (llrint_test_data): New variable.
56638         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56639         (llrint_tonearest_test_data): New variable.
56640         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56641         (llrint_towardzero_test_data): New variable.
56642         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56643         (llrint_downward_test_data): New variable.
56644         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56645         (llrint_upward_test_data): New variable.
56646         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56647         (llround_test_data): New variable.
56648         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56650 2013-05-13  Peter Collingbourne  <pcc@google.com>
56652         * math/atest-exp2.c (get_log2): Remove const attribute.
56654 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56656         * math/libm-test.inc (struct test_f_l_data): New type.
56657         (RUN_TEST_LOOP_f_l): New macro.
56658         (lrint_test_data): New variable.
56659         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56660         (lrint_tonearest_test_data): New variable.
56661         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56662         (lrint_towardzero_test_data): New variable.
56663         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56664         (lrint_downward_test_data): New variable.
56665         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56666         (lrint_upward_test_data): New variable.
56667         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56668         (lround_test_data): New variable.
56669         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56671 2013-05-15  Peter Collingbourne  <pcc@google.com>
56673         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56674         (EXTRACT_WORDS64) Use where appropriate.
56675         (INSERT_WORDS64) Likewise.
56677         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56678         constraints with x constraints.
56679         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56681         * malloc/obstack.c (_obstack_compat): Add initializer.
56683 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
56685         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56686         si_trapno and add si_addr_lsb to _sifields.sigfault.
56687         (si_trapno): Remove macro.
56688         (si_addr_lsb): Define new macro.
56689         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56691 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56693         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56694         instead of TEST_f_l.
56695         (llrint_test_tonearest): Likewise.
56696         (llrint_test_towardzero): Likewise.
56697         (llrint_test_downward): Likewise.
56698         (llrint_test_upward): Likewise.
56699         (llround_test): Likewise.
56701         * math/libm-test.inc (struct test_f_i_data): Add comment.
56702         (RUN_TEST_LOOP_f_b): New macro.
56703         (RUN_TEST_LOOP_f_b_tg): Likewise.
56704         (finite_test_data): New variable.
56705         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56706         (isfinite_test_data): New variable.
56707         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56708         (isinf_test_data): New variable.
56709         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56710         (isnan_test_data): New variable.
56711         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56712         (isnormal_test_data): New variable.
56713         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56714         (issignaling_test_data): New variable.
56715         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56716         (signbit_test_data): New variable.
56717         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56719         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56720         with INVALID_EXCEPTION.
56721         (acosh_test_data): Likewise.
56722         (asin_test_data): Likewise.
56723         (atanh_test_data): Likewise.
56724         (fmod_test_data): Likewise.
56725         (log_test_data): Likewise.
56726         (log10_test_data): Likewise.
56727         (log2_test_data): Likewise.
56728         (pow_test_data): Likewise.
56729         (sqrt_test_data): Likewise.
56730         (y0_test_data): Likewise.
56731         (y1_test_data): Likewise.
56732         (yn_test_data): Likewise.
56734         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56735         function contents.
56737         * math/libm-test.inc (struct test_ff_i_data): New type.
56738         (RUN_TEST_LOOP_ff_i_tg): New macro.
56739         (isgreater_test_data): New variable.
56740         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56741         (isgreaterequal_test_data): New variable.
56742         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56743         (isless_test_data): New variable.
56744         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56745         (islessequal_test_data): New variable.
56746         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56747         (islessgreater_test_data): New variable.
56748         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56749         (isunordered_test_data): New variable.
56750         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56752 2013-05-14  David S. Miller  <davem@davemloft.net>
56754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56756 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
56758         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56760         * math/libm-test.inc (struct test_fF_f1_data): Change type of
56761         extra_test to int.
56762         (struct test_f_i_data): Change type of max_ulp to int.
56764         * math/libm-test.inc (test_ffI_f1_data): New type.
56765         (RUN_TEST_LOOP_ffI_f1): New macro.
56766         (remquo_test_data): New variable.
56767         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56769         * setjmp/tst-setjmp-fp.c: New file.
56770         * setjmp/Makefile (tests): Add tst-setjmp-fp.
56771         (link-libm): New variable.
56772         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56774         * math/libm-test.inc (struct test_f_i_data): New type.
56775         (RUN_TEST_LOOP_f_i): New macro.
56776         (RUN_TEST_LOOP_f_i_tg): Likewise.
56777         (fpclassify_test_data): New variable.
56778         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56779         (ilogb_test_data): New variable.
56780         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56782         * math/libm-test.inc (scalbln_test): Correct function name in END
56783         call.
56785         * math/libm-test.inc (struct test_f_f1_data): Add comment.
56786         (RUN_TEST_LOOP_fI_f1): New macro.
56787         (frexp_test_data): New variable.
56788         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56790         * math/libm-test.inc (struct test_fF_f1_data): New type.
56791         (RUN_TEST_LOOP_fF_f1): New macro.
56792         (modf_test_data): New variable.
56793         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56795         * math/libm-test.inc (struct test_f_f1_data): New type.
56796         (RUN_TEST_LOOP_f_f1): New macro.
56797         (gamma_test_data): New variable.
56798         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56799         (lgamma_test_data): New variable.
56800         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56802 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
56804         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56805         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56806         (main): Comment "tls" pseudo-hwcap.
56808 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
56810         * math/libm-test.inc (struct test_fl_f_data): New type.
56811         (RUN_TEST_LOOP_fl_f): New variable.
56812         (scalbln_test_data): New variable.
56813         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56815         * math/libm-test.inc (struct test_fi_f_data): New type.
56816         (RUN_TEST_LOOP_fi_f): New macro.
56817         (ldexp_test_data): New variable.
56818         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56819         (scalbn_test_data): New variable.
56820         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56822         * math/libm-test.inc (struct test_c_f_data): New type.
56823         (RUN_TEST_LOOP_c_f): New macro.
56824         (cabs_test_data): New variable.
56825         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56826         (carg_test_data): New variable.
56827         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56828         (cimag_test_data): New variable.
56829         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56830         (creal_test_data): New variable.
56831         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56833         * math/libm-test.inc (struct test_if_f_data): New type.
56834         (RUN_TEST_LOOP_if_f): New macro.
56835         (jn_test_data): New variable.
56836         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56837         (yn_test_data): New variable.
56838         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56840         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56842 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56844         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56845         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56847 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56849         * benchtests/Makefile (CPPFLAGS-nonlib): Add
56850         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56851         (bench-deps): Add bench-timing.h.
56852         * benchtests-bench-skeleton.c: Include bench-timing.h.
56853         (main): Use TIMING_* macros instead of clock_gettime.
56854         * benchtests/bench-timing.h: New file.
56856         [BZ #14582]
56857         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56858         Renamed from _LIB_VERSION.
56859         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56861 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
56863         * math/libm-test.inc (struct test_fff_f_data): New type.
56864         (RUN_TEST_LOOP_fff_f): New macro.
56865         (fma_test_data): New variable.
56866         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56867         (fma_towardzero_test_data): New variable.
56868         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56869         (fma_downward_test_data): New variable.
56870         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56871         (fma_upward_test_data): New variable.
56872         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56874         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56875         (struct test_c_c_data): New type.
56876         (RUN_TEST_LOOP_c_c): New macro.
56877         (cacos_test_data): New variable.
56878         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56879         (cacosh_test_data): New variable.
56880         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56881         (casin_test_data): New variable.
56882         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56883         (casinh_test_data): New variable.
56884         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56885         (catan_test_data): New variable.
56886         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56887         (catanh_test_data): New variable.
56888         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56889         (ccos_test_data): New variable.
56890         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56891         (ccosh_test_data): New variable.
56892         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56893         (cexp_test_data): New variable.
56894         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56895         (clog_test_data): New variable.
56896         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56897         (clog10_test_data): New variable.
56898         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56899         (conj_test_data): New variable.
56900         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56901         (cproj_test_data): New variable.
56902         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56903         (csin_test_data): New variable.
56904         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56905         (csinh_test_data): New variable.
56906         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56907         (csqrt_test_data): New variable.
56908         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56909         (ctan_test_data): New variable.
56910         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56911         (ctan_tonearest_test_data): New variable.
56912         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56913         (ctan_towardzero_test_data): New variable.
56914         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56915         (ctan_downward_test_data): New variable.
56916         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56917         (ctan_upward_test_data): New variable.
56918         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56919         (ctanh_test_data): New variable.
56920         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56921         (ctanh_tonearest_test_data): New variable.
56922         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56923         (ctanh_towardzero_test_data): New variable.
56924         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56925         (ctanh_downward_test_data): New variable.
56926         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56927         (ctanh_upward_test_data): New variable.
56928         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56929         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56930         of BUILD_COMPLEX.
56932         * math/libm-test.inc (struct test_ff_f_data): New type.
56933         (struct test_ff_f_data_nexttoward): Likewise.
56934         (RUN_TEST_LOOP_2_f): New macro.
56935         (RUN_TEST_LOOP_ff_f): Likewise.
56936         (atan2_test_data): New variable.
56937         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56938         (copysign_test_data): New variable.
56939         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56940         (fdim_test_data): New variable.
56941         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56942         (fmax_test_data): New variable.
56943         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56944         (fmin_test_data): New variable.
56945         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56946         (fmod_test_data): New variable.
56947         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56948         (hypot_test_data): New variable.
56949         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56950         (nextafter_test_data): New variable.
56951         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56952         (nexttoward_test_data): New variable.
56953         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56954         (pow_test_data): New variable.
56955         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56956         (pow_tonearest_test_data): New variable.
56957         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56958         (pow_towardzero_test_data): New variable.
56959         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56960         (pow_downward_test_data): New variable.
56961         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56962         (pow_upward_test_data): New variable.
56963         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56964         (remainder_test_data): New variable.
56965         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56966         (scalb_test_data): New variable.
56967         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56968         * sysdeps/i386/fpu/libm-test-ulps: Update.
56970 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
56972         * math/libm-test.inc (fma_test): Use max_value instead of local
56973         variable fltmax.
56974         (nextafter_test): Likewise.
56976         * math/libm-test.inc (acos_towardzero_test_data): New variable.
56977         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56978         (acos_downward_test_data): New variable.
56979         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56980         (acos_upward_test_data): New variable.
56981         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56982         (acosh_test_data): New variable.
56983         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56984         (asin_test_data): New variable.
56985         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56986         (asin_tonearest_test_data): New variable.
56987         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56988         (asin_towardzero_test_data): New variable.
56989         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56990         (asin_downward_test_data): New variable.
56991         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56992         (asin_upward_test_data): New variable.
56993         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56994         (asinh_test_data): New variable.
56995         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56996         (atan_test_data): New variable.
56997         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56998         (atanh_test_data): New variable.
56999         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
57000         (cbrt_test_data): New variable.
57001         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
57002         (ceil_test_data): New variable.
57003         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
57004         (cos_test_data): New variable.
57005         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
57006         (cos_tonearest_test_data): New variable.
57007         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57008         (cos_towardzero_test_data): New variable.
57009         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57010         (cos_downward_test_data): New variable.
57011         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57012         (cos_upward_test_data): New variable.
57013         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57014         (cosh_test_data): New variable.
57015         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
57016         (cosh_tonearest_test_data): New variable.
57017         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57018         (cosh_towardzero_test_data): New variable.
57019         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57020         (cosh_downward_test_data): New variable.
57021         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57022         (cosh_upward_test_data): New variable.
57023         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57024         (erf_test_data): New variable.
57025         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57026         (erfc_test_data): New variable.
57027         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57028         (exp_test_data): New variable.
57029         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57030         (exp_tonearest_test_data): New variable.
57031         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57032         (exp_towardzero_test_data): New variable.
57033         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57034         (exp_downward_test_data): New variable.
57035         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57036         (exp_upward_test_data): New variable.
57037         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57038         (exp10_test_data): New variable.
57039         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57040         (exp2_test_data): New variable.
57041         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57042         (expm1_test_data): New variable.
57043         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57044         (fabs_test_data): New variable.
57045         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57046         (floor_test_data): New variable.
57047         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57048         (j0_test_data): New variable.
57049         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57050         (j1_test_data): New variable.
57051         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57052         (log_test_data): New variable.
57053         (log_test): Run tests with RUN_TEST_LOOP_f_f.
57054         (log10_test_data): New variable.
57055         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57056         (log1p_test_data): New variable.
57057         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57058         (log2_test_data): New variable.
57059         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57060         (logb_test_data): New variable.
57061         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57062         (logb_downward_test_data): New variable.
57063         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57064         (nearbyint_test_data): New variable.
57065         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57066         (rint_test_data): New variable.
57067         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57068         (rint_tonearest_test_data): New variable.
57069         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57070         (rint_towardzero_test_data): New variable.
57071         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57072         (rint_downward_test_data): New variable.
57073         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57074         (rint_upward_test_data): New variable.
57075         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57076         (round_test_data): New variable.
57077         (round_test): Run tests with RUN_TEST_LOOP_f_f.
57078         (sin_test_data): New variable.
57079         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57080         (sin_tonearest_test_data): New variable.
57081         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57082         (sin_towardzero_test_data): New variable.
57083         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57084         (sin_downward_test_data): New variable.
57085         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57086         (sin_upward_test_data): New variable.
57087         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57088         (sinh_test_data): New variable.
57089         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57090         (sinh_tonearest_test_data): New variable.
57091         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57092         (sinh_towardzero_test_data): New variable.
57093         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57094         (sinh_downward_test_data): New variable.
57095         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57096         (sinh_upward_test_data): New variable.
57097         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57098         (sqrt_test_data): New variable.
57099         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57100         (tan_test_data): New variable.
57101         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57102         (tan_tonearest_test_data): New variable.
57103         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57104         (tan_towardzero_test_data): New variable.
57105         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57106         (tan_downward_test_data): New variable.
57107         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57108         (tan_upward_test_data): New variable.
57109         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57110         (tanh_test_data): New variable.
57111         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57112         (tgamma_test_data): New variable.
57113         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57114         (trunc_test_data): New variable.
57115         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57116         (y0_test_data): New variable.
57117         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57118         (y1_test_data): New variable.
57119         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57120         (significand_test_data): New variable.
57121         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57123 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
57125         [BZ #12387]
57126         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57128 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57130         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57132 2013-05-10  Andreas Jaeger  <aj@suse.de>
57134         [BZ #15448]
57135         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57136         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57138 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57140         * math/gen-libm-test.pl (adjust_arg): New function.
57141         (special_functions): Handle generating output in both functions
57142         and arrays.
57143         (parse_args): Likewise.
57144         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
57145         $in_func argument to parse_args.
57146         * math/libm-test.inc (struct test_f_f_data): New type.
57147         (IF_ROUND_INIT_): New macro.
57148         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57149         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57150         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57151         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57152         (ROUND_RESTORE_): Likewise.
57153         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57154         (ROUND_RESTORE_FE_TONEAREST): Likewise.
57155         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57156         (ROUND_RESTORE_FE_UPWARD): Likewise.
57157         (RUN_TEST_LOOP_f_f): New macro.
57158         (acos_test_data): New variable.
57159         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57160         (acos_tonearest_test_data): New variable.
57161         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57163 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57165         * benchtests/bench-skeleton.c (startup): Fix coding style.
57167 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57169         [BZ #6809]
57170         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57171         negative infinity argument.
57172         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57173         negative infinity argument.
57174         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57175         negative infinity argument.
57176         * math/libm-test.inc (tgamma_test): Expect errno to be set for
57177         domain errors.
57179 2013-05-10  Florian Weimer  <fweimer@redhat.com>
57181         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57182         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57183         * iconv/iconv_prog.c (main): Likewise.
57184         * locale/programs/charmap-dir.c (charmap_readdir)
57185         (fopen_uncompressed): Likewise.
57186         * locale/programs/locfile.c (siblings_uncached)
57187         (write_locale_data): Use lstat64 instead of lstat.
57188         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57189         stat.
57191 2013-05-10  Andreas Jaeger  <aj@suse.de>
57193         [BZ #15395]
57194         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57195         localization.
57196         Include <locale.h>.
57198 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
57200         * elf/dl-close.c (_dl_close_worker): Add comments.
57202 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
57204         [BZ #15359]
57205         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57206         high part of pi/2.
57207         (__ieee754_rem_pio2l): Update comments.
57209         [BZ #15429]
57210         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57211         high part of pi/2.
57212         (__ieee754_rem_pio2l): Update comments.
57214         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57215         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57217         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57218         M_PI_4l.
57220         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57221         (M_PI_34_LOG10El): Likewise.
57222         (M_PI2_LOG10El): Likewise.
57223         (M_PI4_LOG10El): Likewise.
57224         (M_PI_LOG10El): Likewise.
57226 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57230 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
57232         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57233         (MINUS_ZERO_INIT): Likewise.
57234         (PLUS_INFTY_INIT): Likewise.
57235         (MINUS_INFTY_INIT): Likewise.
57236         (QNAN_VALUE_INIT): Likewise.
57237         (MAX_VALUE_INIT): Likewise.
57238         (MIN_VALUE_INIT): Likewise.
57239         (MIN_SUBNORM_VALUE_INIT): Likewise.
57240         (plus_zero): Initialize with PLUS_ZERO_INIT.
57241         (minus_zero): Initialize with MINUS_ZERO_INIT.
57242         (plus_infty): Initialize with PLUS_INFTY_INIT.
57243         (minus_infty): Initialize with MINUS_INFTY_INIT.
57244         (qnan_value): Initialize with QNAN_VALUE_INIT.
57245         (max_value): Initialize with MAX_VALUE_INIT.
57246         (min_value): Initialize with MIN_VALUE_INIT.
57247         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57249         * math/libm-test.inc (RUN_TEST_if_f): New macro.
57250         (jn_test): Use TEST_if_f instead of TEST_ff_f.
57251         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57252         (yn_test): Use TEST_if_f instead of TEST_ff_f.
57254         * math/libm-test.inc (RUN_TEST_f_f): New macro.
57255         (RUN_TEST_2_f): Likewise.
57256         (RUN_TEST_ff_f): Likewise.
57257         (RUN_TEST_fi_f): Likewise.
57258         (RUN_TEST_fl_f): Likewise.
57259         (RUN_TEST_fff_f): Likewise.
57260         (RUN_TEST_c_f): Likewise.
57261         (RUN_TEST_f_f1): Likewise.
57262         (RUN_TEST_fF_f1): Likewise.
57263         (RUN_TEST_fI_f1): Likewise.
57264         (RUN_TEST_ffI_f1): Likewise.
57265         (RUN_TEST_c_c): Likewise.
57266         (RUN_TEST_cc_c): Likewise.
57267         (RUN_TEST_f_i): Likewise.
57268         (RUN_TEST_f_i_tg): Likewise.
57269         (RUN_TEST_ff_i_tg): Likewise.
57270         (RUN_TEST_f_b): Likewise.
57271         (RUN_TEST_f_b_tg): Likewise.
57272         (RUN_TEST_f_l): Likewise.
57273         (RUN_TEST_f_L): Likewise.
57274         (RUN_TEST_sincos): Likewise.
57275         * math/gen-libm-test.pl (new_test): Take new argument to indicate
57276         whether to show exceptions.  Do not include ");\n" in return
57277         value.
57278         (special_functions): Output call to RUN_TEST_sincos instead of
57279         check_float calls.  Update calls to new_test.
57280         (parse_args): Output call to single RUN_TEST_* macro instead of
57281         check_* calls and other assignments.  Update calls to new_test.
57283         [BZ #2546]
57284         [BZ #2560]
57285         [BZ #5159]
57286         [BZ #15426]
57287         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57288         input to result for tgamma overflow.
57289         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57290         (gamma_coeff): New variable.
57291         (NCOEFF): New macro.
57292         (gamma_positive): New function.
57293         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57294         underflow here.  Use gamma_positive instead of exp (lgamma) for
57295         other arguments.
57296         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57297         (gamma_coeff): New variable.
57298         (NCOEFF): New macro.
57299         (gammaf_positive): New function.
57300         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57301         underflow here.  Use gamma_positive instead of exp (lgamma) for
57302         other arguments.
57303         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57304         (gamma_coeff): New variable.
57305         (NCOEFF): New macro.
57306         (gammal_positive): New function.
57307         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57308         underflow here.  Use gamma_positive instead of exp (lgamma) for
57309         other arguments.
57310         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57311         (gamma_coeff): New variable.
57312         (NCOEFF): New macro.
57313         (gammal_positive): New function.
57314         (__ieee754_gammal_r): Handle positive infinity, overflow and
57315         underflow here.  Handle NaN the same as positive infinity.  Remove
57316         check x < 0xffffffff for negative integers.  Use gamma_positive
57317         instead of exp (lgamma) for other arguments.
57318         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57319         (gamma_coeff): New variable.
57320         (NCOEFF): New macro.
57321         (gammal_positive): New function.
57322         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57323         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57324         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57325         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57326         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57327         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57328         * sysdeps/generic/math_private.h (__gamma_productf): New
57329         prototype.
57330         (__gamma_product): Likewise.
57331         (__gamma_productl): Likewise.
57332         * math/Makefile (libm-calls): Add gamma_product.
57333         * math/libm-test.inc (tgamma_test): Add more tests.
57334         * sysdeps/i386/fpu/libm-test-ulps: Update.
57335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57337 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
57339         * benchtests/bench-skeleton.c (main): Preheat CPU.
57341 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
57343         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57345 2013-05-07  Roland McGrath  <roland@hack.frob.com>
57347         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57348         and _dl_skip_args_internal.
57350 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
57352         * manual/message.texi (Message Translation): Talk about users.
57353         Message to key mapping impacts design.
57355 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57357         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57359         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57361         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57362         * sysdeps/wordsize-64/glob64.c: ... here.
57364         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57365         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57366         New macros.
57368         * debug/getlogin_r_chk.c: Moved to ...
57369         * login/getlogin_r_chk.c: ... here.
57370         * debug/Makefile (routines): Move getlogin_r_chk to ...
57371         * login/Makefile (routines): ... here.
57372         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57373         * login/Versions (libc: GLIBC_2.4): ... here.
57375         * io/poll.c (__poll): Renamed from poll.
57376         Add libc_hidden_def.
57377         (poll): Define as weak alias.
57379         * debug/ptsname_r_chk.c: Moved to ...
57380         * login/ptsname_r_chk.c: ... here.
57381         * debug/Makefile (routines): Move ptsname_r_chk to ...
57382         * login/Makefile (routines): ... here.
57383         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57384         * login/Versions (libc: GLIBC_2.4): ... here.
57386         * posix/getlogin.c: Moved to ...
57387         * login/getlogin.c: ... here.
57388         * posix/getlogin_r.c: Moved to ...
57389         * login/getlogin_r.c: ... here.
57390         * posix/getlogin_r.c: Moved to ...
57391         * login/getlogin_r.c: ... here.
57392         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57393         * login/Makefile (routines): ... here.
57394         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57395         * login/Versions (libc: GLIBC_2.0): ... here.
57397         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57398         (setrlimit): Define as weak alias.
57400         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57401         Call __ names for open, ftruncate, and close.
57402         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57403         (truncate): Define as weak alias.
57405 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
57407         * math/gen-libm-test.pl (parse_args): Initialize x before each
57408         test of frexp, modf and remquo.
57410         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57411         test signgam value.
57413 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57415         [BZ #15418]
57416         [BZ #15419]
57417         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57418         internal tests.
57419         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57421 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57423         * elf/dl-writev.h: New file.
57424         * elf/dl-misc.c: Include it.
57425         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57426         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57428 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
57430         * math/libm-test.inc (noXFails): Remove variable.
57431         (noXPasses): Likewise.
57432         (BUILD_COMPLEX_INT): Remove macro.
57433         (print_screen): Remove xfail argument.
57434         (print_screen_max_error): Likewise.
57435         (update_stats): Likewise.
57436         (print_max_error): Likewise.  Update calls to other affected
57437         functions.
57438         (print_complex_max_error): Likewise.
57439         (test_single_exception): Update calls to print_screen.
57440         (test_single_errno): Likewise.
57441         (check_float_internal): Remove xfail argument.  Update calls to
57442         other affected functions.
57443         (check_float): Likewise.
57444         (check_complex): Likewise.
57445         (check_int): Likewise.
57446         (check_long): Likewise.
57447         (check_bool): Likewise.
57448         (check_longlong): Likewise.
57449         (main): Don't print noXFails and noXPasses.
57450         * math/gen-libm-test.pl (top level): Don't mention expected
57451         failure handling in comment.
57452         (new_test): Don't handle expected failures.
57453         (parse_args): Don't mention expected failure handling in comment.
57454         (generate_testfile): Don't handle expected failures.
57455         (parse_ulps): Likewise.
57456         (print_ulps_file): Likewise.
57457         (get_failure): Remove function.
57458         (output_test): Don't handle expected failures.
57459         * make/README.libm-test: Don't mention expected failure handling.
57461         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
57462         (minus_zero): Likewise.
57463         (plus_infty): Likewise.
57464         (minus_infty): Likewise.
57465         (qnan_value): Likewise.
57466         (max_value): Likewise.
57467         (min_value): Likewise.
57468         (min_subnorm_value): Likewise.
57469         (initialize): Do not initialize those variables dynamically.
57471 2013-05-03  Roland McGrath  <roland@hack.frob.com>
57473         * io/open.c (__open_2): Moved to ...
57474         * io/open_2.c: ... this new file.
57475         * io/open64.c (__open64_2): Moved to ...
57476         * io/open64_2.c: ... this new file.
57477         * io/openat.c (__openat_2): Moved to ...
57478         * io/openat_2.c: ... this new file.
57479         * io/openat64.c (__openat64_2): Moved to ...
57480         * io/openat64_2.c: ... this new file.
57481         * io/Makefile (routines): Add them.
57482         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57483         * sysdeps/unix/sysv/linux/open_2.c: File removed.
57484         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57485         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57486         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57487         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57488         (__openat64): Add hidden_ver.
57489         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57490         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57492         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57493         Separately conditionalize setting of GLRO(dl_sysinfo) so
57494         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57495         as well, but the actual setting is only under [NEED_DL_SYSINFO].
57497 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57499         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57500         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57501         definition.
57502         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57503         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57504         (_libc_vdso_platform_setup): Add __vdso_time initialization.
57505         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57506         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57508 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
57510         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57511         test signgam value.
57513         * math/libm-test.inc (hypot_test): Do not use
57514         IGNORE_ZERO_INF_SIGN.
57516 2013-05-03  Andreas Jaeger  <aj@suse.de>
57518         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57519         Linux 3.9.
57520         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57521         (PF_MAX): Adjust for VSOCK change.
57523 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57527 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
57529         [BZ #15264]
57530         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57531         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57532         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57534 2013-05-02  David S. Miller  <davem@davemloft.net>
57536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57538 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
57540         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
57542 2013-05-01  Roland McGrath  <roland@hack.frob.com>
57544         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
57546 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
57548         [BZ #14952]
57549         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
57550         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57551         Use __attribute__ ((__gnu_inline__)).
57552         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57553         Don't use __attribute__ ((__gnu_inline__)).
57555 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
57557         [BZ #15423]
57558         * math/s_catan.c (__catan): Handle small real or imaginary part of
57559         input specially to avoid spurious underflow.
57560         * math/s_catanf.c (__catanf): Likewise.
57561         * math/s_catanh.c (__catanh): Likewise.
57562         * math/s_catanhf.c (__catanhf): Likewise.
57563         * math/s_catanhl.c (__catanhl): Likewise.
57564         * math/s_catanl.c (__catanl): Likewise.
57565         * math/libm-test.inc (catan_test): Add more tests.
57566         (catanh_test): Likewise.
57567         * sysdeps/i386/fpu/libm-test-ulps: Update.
57568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57570 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57574 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
57576         [BZ #15416]
57577         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
57578         accurately for denominator in atan2.
57579         * math/s_catanf.c (__catanf): Likewise.
57580         * math/s_catanh.c (__catanh): Likewise.
57581         * math/s_catanhf.c (__catanhf): Likewise.
57582         * math/s_catanhl.c (__catanhl): Likewise.
57583         * math/s_catanl.c (__catanl): Likewise.
57584         * math/libm-test.inc (catan_test): Add more tests.
57585         (catanh_test): Likewise.
57586         * sysdeps/i386/fpu/libm-test-ulps: Update.
57587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57589 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57591         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57593         * benchtests/Makefile (bench): Remove slow benchmarks.
57594         * benchtests/atan-inputs: Add slow benchmark inputs.
57595         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57596         (BENCH_FUNC): Accept variant offset.
57597         (VARIANT): Define.
57598         * benchtests/bench-skeleton.c (main): Run benchmark for each
57599         variant.
57600         * benchtests/cos-inputs: Add slow benchmark inputs.
57601         * benchtests/exp-inputs: Likewise.
57602         * benchtests/pow-inputs: Likewise.
57603         * benchtests/sin-inputs: Likewise.
57604         * benchtests/slowatan-inputs: Remove.
57605         * benchtests/slowatan.c: Remove.
57606         * benchtests/slowcos-inputs: Remove.
57607         * benchtests/slowcos.c: Remove.
57608         * benchtests/slowexp-inputs: Remove.
57609         * benchtests/slowexp.c: Remove.
57610         * benchtests/slowpow-inputs: Remove.
57611         * benchtests/slowpow.c: Remove.
57612         * benchtests/slowsin-inputs: Remove.
57613         * benchtests/slowsin.c: Remove.
57614         * benchtests/slowtan-inputs: Remove.
57615         * benchtests/slowtan.c: Remove.
57616         * benchtests/tan-inputs: Add slow benchmark inputs.
57617         * scripts/bench.pl: Parse comments and directives.
57619         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
57620         in CPPFLAGS.
57621         ($(objpfx)bench-%.c): Remove *-ITER.
57622         * benchtests/bench-modf.c: Remove definition of ITER.
57623         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57624         (main): Loop for DURATION seconds instead of fixed number of
57625         iterations.
57626         * scripts/bench.pl: Don't expect iterations in parameters.
57628 2013-04-29  Roland McGrath  <roland@hack.frob.com>
57630         * io/fchdir.c (__fchdir): Renamed from fchdir.
57631         (fchdir): Define as weak alias.
57633 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57635         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57636         (ERRNO_EDOM): Likewise.
57637         (ERRNO_ERANGE): Likewise.
57638         (noErrnoTests): New variable.
57639         (init_max_error): Set errno to 0.
57640         (test_single_errno): New function.
57641         (test_errno): Likewise.
57642         (check_float_internal): Call test_errno.  Set errno to 0.
57643         (check_complex): Refer to errno tests in comment.
57644         (check_int): Call test_errno.  Set errno to 0.
57645         (check_long): Likewise.
57646         (check_bool): Likewise.
57647         (check_longlong): Likewise.
57648         (cos_test): Use ERRNO_* flags for errno tests instead of
57649         check_int.
57650         (expm1_test): Likewise.
57651         (fmod_test): Likewise.
57652         (ilogb_test): Likewise.
57653         (lgamma_test): Likewise.
57654         (pow_test): Likewise.
57655         (remainder_test): Likewise.
57656         (sin_test): Likewise.
57657         (tan_test): Likewise.
57658         (yn_test): Likewise.
57659         (initialize): Set errno to 0.
57660         (main): Print number of errno tests.
57661         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57663 2013-04-29  Andreas Jaeger  <aj@suse.de>
57665         [BZ #15084]
57666         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57667         and RES_USEVC.
57669         [BZ #15085]
57670         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57671         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57672         unimplemented.
57674         [BZ #15380]
57675         * stdlib/random.c (__initstate): Return NULL if
57676         __initstate fails.
57678         [BZ #15086]
57679         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57680         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57681         RES_SNGLKUPREOP.
57683 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57687 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57689         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57690         of individual tests.
57691         (casin_test): Likewise.
57692         (casinh_test): Likewise.
57694 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
57696         [BZ #15409]
57697         * math/s_catan.c (__catan): Handle arguments with large real or
57698         imaginary part separately without squaring.
57699         * math/s_catanf.c (__catanf): Likewise.
57700         * math/s_catanh.c (__catanh): Likewise.
57701         * math/s_catanhf.c (__catanhf): Likewise.
57702         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57703         and redefine.
57704         (__catanhl): Handle arguments with large real or imaginary part
57705         separately without squaring.
57706         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57707         and redefine.
57708         (__catanl): Handle arguments with large real or imaginary part
57709         separately without squaring.
57710         * math/libm-test.inc (catan_test): Add more tests.
57711         (catanh_test): Likewise.
57712         * sysdeps/i386/fpu/libm-test-ulps: Update.
57713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57715 2013-04-27  Andreas Jaeger  <aj@suse.de>
57717         [BZ #15007]
57718         * stdlib/stdlib.h: Update guards for qecvt.
57719         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57720         <stdlib.h>.
57722 2013-04-27  Allan McRae  <allan@archlinux.org>
57724         * sysdeps/i386/fpu/libm-test-ulps: Update.
57726 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
57728         [BZ #15406]
57729         * math/s_catan.c: Include <float.h>.
57730         (__catan): Ensure underflow exception occurs for underflowed
57731         result.
57732         * math/s_catanf.c: Include <float.h>.
57733         (__catanf): Ensure underflow exception occurs for underflowed
57734         result.
57735         * math/s_catanh.c: Include <float.h>.
57736         (__catanh): Ensure underflow exception occurs for underflowed
57737         result.
57738         * math/s_catanhf.c: Include <float.h>.
57739         (__catanhf): Ensure underflow exception occurs for underflowed
57740         result.
57741         * math/s_catanhl.c: Include <float.h>.
57742         (__catanhl): Ensure underflow exception occurs for underflowed
57743         result.
57744         * math/s_catanl.c: Include <float.h>.
57745         (__catanl): Ensure underflow exception occurs for underflowed
57746         result.
57747         * math/libm-test.inc (catan_test): Add more tests.
57748         (catanh_test): Likewise.
57750         [BZ #15405]
57751         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57752         underflowed result.
57753         * math/s_ccoshf.c (__ccoshf): Likewise.
57754         * math/s_ccoshl.c (__ccoshl): Likewise.
57755         * math/s_csin.c (__csin): Likewise.
57756         * math/s_csinf.c (__csinf): Likewise.
57757         * math/s_csinh.c (__csinh): Likewise.
57758         * math/s_csinhf.c (__csinhf): Likewise.
57759         * math/s_csinhl.c (__csinhl): Likewise.
57760         * math/s_csinl.c (__csinl): Likewise.
57761         * math/libm-test.inc (ccos_test): Add more tests.
57762         (ccosh_test): Likewise.
57763         (csin_test): Likewise.
57764         (csinh_test): Likewise.
57766 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57768         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57769         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57770         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57771         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57772         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57773         powerpc/power5+/fpu folders.
57774         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57777 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57781 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
57783         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57784         additions to variable.
57785         [$(config-machine) = x86_64] (modules-names): Likewise.
57786         ($(objpfx)tst-audit3): Remove dependency.
57787         ($(objpfx)tst-audit3.out): Likewise.
57788         ($(objpfx)tst-audit4): Likewise.
57789         ($(objpfx)tst-audit4.out): Likewise.
57790         ($(objpfx)tst-audit5): Likewise.
57791         ($(objpfx)tst-audit5.out): Likewise.
57792         ($(objpfx)tst-audit6): Likewise.
57793         ($(objpfx)tst-audit6.out): Likewise.
57794         ($(objpfx)tst-audit7): Likewise.
57795         ($(objpfx)tst-audit7.out): Likewise.
57796         (tst-audit3-ENV): Remove variable.
57797         (tst-audit4-ENV): Likewise.
57798         (tst-audit5-ENV): Likewise.
57799         (tst-audit6-ENV): Likewise.
57800         (tst-audit7-ENV): Likewise.
57801         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57802         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57803         addition to variable.
57804         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57805         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57806         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57807         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57808         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57809         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57810         tst-audit3, tst-audit4 and tst-audit5.
57811         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57812         tst-audit6 and tst-audit7.
57813         [$(subdir) = elf] (modules-names): Add audit modules for those
57814         tests.
57815         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57816         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57817         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57818         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57819         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57820         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57821         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57822         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57823         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57824         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57825         [$(subdir) = elf] (tst-audit3-ENV): New variable.
57826         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57827         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57828         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57829         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57830         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57831         Likewise.
57832         [$(subdir) = elf && $(config-cflags-avx) = yes]
57833         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57834         [$(subdir) = elf && $(config-cflags-avx) = yes]
57835         (CFLAGS-tst-auditmod4a.c): Likewise.
57836         [$(subdir) = elf && $(config-cflags-avx) = yes]
57837         (CFLAGS-tst-auditmod4b.c): Likewise.
57838         [$(subdir) = elf && $(config-cflags-avx) = yes]
57839         (CFLAGS-tst-auditmod6b.c): Likewise.
57840         [$(subdir) = elf && $(config-cflags-avx) = yes]
57841         (CFLAGS-tst-auditmod6c.c): Likewise.
57842         [$(subdir) = elf && $(config-cflags-avx) = yes]
57843         (CFLAGS-tst-auditmod7b.c): Likewise.
57844         * elf/tst-audit3.c: Move to ...
57845         * sysdeps/x86_64/tst-audit3.c: ... here.
57846         * elf/tst-audit4.c: Move to ...
57847         * sysdeps/x86_64/tst-audit4.c: ... here.
57848         * elf/tst-audit5.c: Move to ...
57849         * sysdeps/x86_64/tst-audit5.c: ... here.
57850         * elf/tst-audit6.c: Move to ...
57851         * sysdeps/x86_64/tst-audit6.c: ... here.
57852         * elf/tst-audit7.c: Move to ...
57853         * sysdeps/x86_64/tst-audit7.c: ... here.
57854         * elf/tst-auditmod3a.c: Move to ...
57855         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57856         * elf/tst-auditmod3b.c: Move to ...
57857         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57858         * elf/tst-auditmod4a.c: Move to ...
57859         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57860         * elf/tst-auditmod4b.c: Move to ...
57861         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57862         * elf/tst-auditmod5a.c: Move to ...
57863         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57864         * elf/tst-auditmod5b.c: Move to ...
57865         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57866         * elf/tst-auditmod6a.c: Move to ...
57867         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57868         * elf/tst-auditmod6b.c: Move to ...
57869         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57870         * elf/tst-auditmod6c.c: Move to ...
57871         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57872         * elf/tst-auditmod7a.c: Move to ...
57873         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57874         * elf/tst-auditmod7b.c: Move to ...
57875         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57877 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
57879         [BZ #15366]
57880         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57881         define unconditionally.
57882         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57883         define unconditionally.
57884         (INT8_C, INT16_C, etc.): Likewise.
57886 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
57888         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57889         __ehdr_start with hidden visibility.
57891         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57893 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
57895         * math/libm-test.inc (cos_test): Use accurate hex constants.
57896         (sincost_test): Likewise.
57898 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
57900         * math/libm-test.inc (catan_test): Add more tests.
57901         (catanh_test): Likewise.
57903         * math/s_catanf.c (__catanf): Use suffixed floating-point
57904         constants.
57905         * math/s_catanhf.c (__catanhf): Likewise.
57906         * math/s_catanhl.c (__catanhl): Likewise.
57907         * math/s_catanl.c (__catanl): Likewise.
57909         [BZ #15394]
57910         * math/s_catan.c (__catan): Calculate imaginary part of result
57911         with log1p not log unless computing log of number close to 0.
57912         * math/s_catanf.c (__catanf): Likewise.
57913         * math/s_catanl.c (__catanl): Likewise.
57914         * math/s_catanh.c (__catanh): Calculate real part of result with
57915         log1p not log unless computing log of number close to 0.
57916         * math/s_catanhf.c (__catanhf): Likewise.
57917         * math/s_catanhl.c (__catanhl): Likewise.
57918         * math/libm-test.inc (catan_test): Add more tests.
57919         (catanh_test): Likewise.
57920         * sysdeps/i386/fpu/libm-test-ulps: Update.
57921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57923 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57925         * benchtests/Makefile: Mention files in which fast and slow
57926         paths of math functions are implemented.
57928 2013-04-23  Roland McGrath  <roland@hack.frob.com>
57930         * sysdeps/posix/timespec_get.c: New file.
57932 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57934         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57935         POWER.
57936         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57937         for POWER.
57938         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57939         powerpc/power5/fpu folders.
57940         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57941         * benchtests/Makefile: Add modf testcase.
57942         * benchtests/bench-modf.c: New file: Benchmark test for mo
57944 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57946         [BZ #14888]
57947         * time/Makefile (tests): Add tst-strptime-whitespace.
57948         * time/strptime_l.c (get_number): Use ISSPACE.
57949         (__strptime_internal): Likewise.
57950         * time/tst-strptime-whitespace.c: New test case.
57952 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
57954         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57955         member.
57956         (_nss_files_init): Set it here.
57958 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
57960         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57961         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57962         unsigned.
57964 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
57966         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57968 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57970         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57971         size just once.
57973 2013-04-21  David S. Miller  <davem@davemloft.net>
57975         * po/ru.po: Update Russion translation from translation project.
57977 2013-04-17  Adam Conrad  <adconrad@0c3.net>
57979         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57980         and setfsgid.
57982 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
57984         * configure.in: Remove i386 configure warning. Remove i386 case.
57985         * configure: Regenerate.
57986         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57987         Add example to error message.
57988         * sysdeps/i386/configure: Regenerate.
57990 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57992         * benchtests/Makefile (bench): Add cos, tan, slowcos and
57993         slowtan.
57994         * benchtests/cos-inputs: New file.
57995         * benchtests/slowcos-inputs: New file.
57996         * benchtests/slowcos.c: New file.
57997         * benchtests/slowtan-inputs: New file.
57998         * benchtests/slowtan.c: New file.
57999         * benchtests/tan-inputs: New file.
58001 2013-04-16  Roland McGrath  <roland@hack.frob.com>
58003         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
58004         considered kosher.
58006 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58008         * benchtests/Makefile: Include cppflags-iterator.mk to add
58009         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
58011         * Makefile.in (bench-clean): New target.
58012         * benchtests/Makefile (bench-clean): Likewise.
58014 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
58016         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
58018 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
58020         * stdio-common/tstdiomisc.c: Fix coding-style violation.
58022 2013-04-15  Andreas Schwab  <schwab@suse.de>
58024         * nscd/grpcache.c (cache_addgr): Properly check for short write.
58025         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58026         * nscd/pwdcache.c (cache_addpw): Likewise.
58027         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
58028         more than recsize.
58030 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58032         * benchtests/Makefile (bench): Write all output to
58033         bench-out.tmp together.
58035 2013-04-15  Andreas Schwab  <schwab@suse.de>
58037         * nscd/nscd.c (main): Don't fork again after closing files.
58039 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58041         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58043         * benchtests/Rules (bench-deps): Collect dependencies into a
58044         single variable.  Add Makefile to dependencies.
58045         ($(objpfx)bench-%.c): Depend on bench-deps.
58047 2013-04-12  Roland McGrath  <roland@hack.frob.com>
58048             Xavier Roche  <roche+kml2@exalead.com>
58050         [BZ #15361]
58051         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58052         just that it's a file descriptor.
58053         * manual/llio.texi (Synchronizing AIO Operations): Update description
58054         for EBADF error from aio_fsync.
58056 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58058         * Rules (bench): Move target definition...
58059         * benchtests/Makefile: ... here.
58061 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
58063         * math/libm-test.inc (cos_test): Fix PI/2 test.
58064         (sincos_test): Likewise.
58065         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58066         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58068 2013-04-11  Andreas Schwab  <schwab@suse.de>
58070         [BZ #13988]
58071         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58072         accept exponent character only when digits were seen.
58073         * stdio-common/Makefile (tests): Add bug26.
58074         * stdio-common/bug26.c: New file.
58076         [BZ #14293]
58077         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58078         non-freeable.
58080 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58082         * Makeconfig (rtld-prefix): Define built linker prefix.
58083         * Rules (run-bench): Use it.
58084         * math/Makefile (run-regen-ulps): Likewise.
58086         * Rules (bench): Remove eval.
58088 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58089             Roland McGrath  <roland@hack.frob.com>
58090             Ondrej Bilka  <neleai@seznam.cz>
58092         [BZ #15346]
58093         * time/getdate.c: Include ctype.h and alloca.h.
58094         (__getdate_r): Trim leading and trailing spaces of input.
58095         * time/tst-getdate.c (tests): Add tests with leading and
58096         trailing spaces.
58098 2013-04-08  Roland McGrath  <roland@hack.frob.com>
58100         [BZ #14280]
58101         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58102         when computing value.
58104 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58106         * math/README.libm-test (How can I generate "libm-test-ulps"?):
58107         Use testrun.sh to run libm tests.
58109         [BZ #15309]
58110         * elf/dl-open.c (dl_open_worker): memset all of seen array.
58112 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
58114         [BZ #15264]
58115         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58117 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58119         * Makefile.in (regen-ulps): New target.
58120         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58121         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58122         [ifneq (no,$(PERL)] (regen-ulps): New target.
58123         [ifeq (no,$(PERL)] (regen-ulps): New target.
58124         * math/libm-test.inc (ulps_file_name): Define.
58125         (output_dir): New variable.
58126         (options): Add "output-dir" option.
58127         (parse_opt): Handle 'o' case.
58128         (main): If output_dir is non-NULL use it as a prefix
58129         otherwise use "".
58130         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58132 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58134         [BZ #10060, #10062]
58135         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58136         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58137         fail configure if __sync_val_compare_and_swap is not inlined.
58138         * sysdeps/i386/configure: Regenerate.
58139         * configure.in: Build for i686 when configured for i386.
58140         * configure: Regenerate.
58141         * README: Remove i386 reference.
58143 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58145         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58146         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58148 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
58150         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58151         (lmsnanval): New variables.
58152         (F): Add conversion tests.
58153         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58154         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58156         * stdio-common/tstdiomisc.c (F): Properly collect individual
58157         tests' results.
58159         [BZ #14686, #15336]
58160         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58161         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58162         Instead, use input NaN values or generate a qNaN by arithmetic
58163         operation.  Also fix bugs to comply with the standard.
58164         * math/libm-test.inc (remainder_test): Add more tests.
58166         [BZ #15335, #15342]
58167         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58168         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58169         input NaN values or generate a qNaN by arithmetic operation.
58171         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58172         unreachable code.
58174         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58175         definitions.
58177 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
58179         [BZ #14478]
58180         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58181         underflowed result.
58182         * math/s_cexpf.c (__cexpf): Likewise.
58183         * math/s_cexpl.c (__cexpl): Likewise.
58184         * math/libm-test.inc (cexp_test): Add more tests.
58186 2013-04-03  Andreas Schwab  <schwab@suse.de>
58188         [BZ #15330]
58189         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58190         order arrays from heap if bigger than alloca cutoff.
58192 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
58194         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58195         (SNAN_TESTS_double): Refer to GCC PR56831.
58196         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58197         GCC PR56828.
58199 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58201         * Rules (bench): Move bench.out after the run is complete.
58203         * Rules (bench): Echo currently running benchmark.
58205         * benchtests/Makefile (bench): Add atan and slowatan.
58206         * benchtests/atan-inputs: New file.
58207         * benchtests/slowatan-inputs: New file.
58208         * benchtests/slowatan.c: New file.
58210         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58211         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58212         its value.
58214         [BZ #15305]
58215         * sysdeps/unix/sysv/linux/kernel-features.h
58216         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58217         __ASSUME_XFS_RESTRICTED_CHOWN.
58218         * sysdeps/unix/sysv/linux/pathconf.c
58219         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58220         Save and restore errno.
58222 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
58224         [BZ #15327]
58225         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58226         arguments using __kernel_casinh.
58227         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58228         arguments using __kernel_casinhf.
58229         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58230         arguments using __kernel_casinhl.
58231         * math/libm-test.inc (cacosh_test): Add more tests.
58232         * sysdeps/i386/fpu/libm-test-ulps: Update.
58233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58235 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58237         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58238         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58240         * bench/Makefile (bench): Add sin and slowsin.
58241         * benchtests/sin-inputs: New file.
58242         * benchtests/slowsin-inputs: New file.
58243         * benchtests/slowsin.c: New file.
58245         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58246         (bench): Add slowexp and slowpow.
58247         (exp-ITER): Increase iterations.
58248         (pow-ITER): Likewise.
58249         * benchtests/exp-inputs: Change input.
58250         * benchtests/pow-inputs: Likewise.
58251         * benchtests/slowexp-inputs: New file.
58252         * benchtests/slowexp.c: New file.
58253         * benchtests/slowpow-inputs: New file.
58254         * benchtests/slowpow.c: New file.
58256 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58258         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58259         instructions.
58260         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58261         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58262         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58263         * benchtests/Makefile: Add rint benchtest.
58264         * benchtests/rint-inputs: Input for rint benchtest.
58266 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
58268         * Versions.def (libm): Add GLIBC_2.18.
58269         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58270         hidden libm prototypes.
58271         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58272         * math/Makefile (libm-calls): Add s_issignaling.
58273         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58274         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
58275         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58276         declaration.
58277         * math/math.h [__USE_GNU] (issignaling): New macro.
58278         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58279         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58280         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58281         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58282         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58283         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58284         * manual/arith.texi (issignaling): New section.
58285         * manual/libm-err-tab.pl (@all_functions): Update comment.
58286         * math/gen-libm-test.pl (parse_args): Apply special handling for
58287         issignaling.
58288         * math/libm-test.inc (print_float, issignaling_test): New
58289         functions.
58290         (check_float_internal): Add issignaling checks.
58291         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58292         default definition.
58293         * sysdeps/powerpc/math-tests.h: New file.
58294         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58295         tests.
58296         * math/test-snan.c (TEST_FUNC): Likewise.
58298 2013-03-30  David S. Miller  <davem@davemloft.net>
58300         * po/de.po: Update from translation team.
58302 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
58304         [BZ #10357]
58305         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58306         imaginary part less than 1.0 and real part less than 0.5
58307         specially.
58308         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58309         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58310         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58311         (cacos_test): Add more tests.
58312         (casin_test): Likewise.
58313         (casinh_test): Likewise.
58314         * sysdeps/i386/fpu/libm-test-ulps: Update.
58315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58317 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58319         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58320         ONE with its value.
58322         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58323         (__pow_mp): Replace ONE and MONE with their values.
58324         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58325         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58326         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58327         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58328         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58329         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58331         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58333         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58334         (__pow_mp): Replace ZERO and MZERO with their values.
58335         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58336         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58337         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58338         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58339         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58340         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58341         (__sqr): Likewise.
58343         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58345         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58347 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58349         * include/stdlib.h [!SHARED] (__call_tls_dtors):
58350         Declare with __attribute__ ((weak)).
58351         * stdlib/exit.c (__libc_atexit) [!SHARED]:
58352         Call __call_tls_dtors only if it's not NULL.
58354 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58356         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58357         didn't do it already, then set _dl_phdr and _dl_phnum based on the
58358         magic __ehdr_start linker symbol if it's defined.
58359         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58360         them up here if it was already done.
58362         * elf/dl-support.c (_dl_phdr): Make pointer to const.
58363         (_dl_aux_init): Use const in cast when setting it.
58364         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58365         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58366         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58368         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58369         Declare them here.
58370         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58371         * csu/libc-tls.c: Nor here.
58372         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58374         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58375         (__libc_message): Never call vsyslog.
58377 2013-03-28  Alan Modra  <amodra@gmail.com>
58379         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58380         Define as empty.
58381         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58382         Likewise.
58384 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58386         [BZ #15214]
58387         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58388         underflow.
58389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58391 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58393         [BZ #15304]
58394         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58395         Don't add gid passed as argument.
58397         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58399 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
58401         [BZ #15307]
58402         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58403         imaginary part between 1.0 and 1.5 and real part less than 0.5
58404         specially.
58405         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58406         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58407         * math/libm-test.inc (cacos_test): Add more tests.
58408         (casin_test): Likewise.
58409         (casinh_test): Likewise.
58410         * sysdeps/i386/fpu/libm-test-ulps: Update.
58411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58413 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58415         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58416         constants.
58417         (norm): Likewise.
58418         (denorm): Likewise.
58419         (__dbl_mp): Likewise.
58420         (add_magnitudes): Likewise.
58421         (sub_magnitudes): Likewise.
58422         (__add): Likewise.
58423         (__sub): Likewise.
58424         (__mul): Likewise.
58425         (__sqr): Likewise.
58426         (__inv): Likewise.
58427         (__dvd): Likewise.
58429         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58430         commented code.
58431         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58432         (__dubcos): Likewise.
58433         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58434         (__ieee754_acos): Likewise.
58435         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58436         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58437         (__exp1): Likewise.
58438         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58439         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58440         (log1): Likewise.
58441         (my_log2): Likewise.
58442         (checkint): Likewise.
58443         * sysdeps/ieee754/dbl-64/e_remainder.c
58444         (__ieee754_remainder): Likewise.
58445         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58446         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58447         (bsloww): Likewise.
58448         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58450         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58451         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58452         MANTISSA_STORE_T to store computations on mantissa.  Use
58453         macros for rounding and division.
58454         (denorm): Likewise.
58455         (__dbl_mp): Likewise.
58456         (add_magnitudes): Likewise.
58457         (sub_magnitudes): Likewise.
58458         (__mul): Likewise.
58459         (__sqr): Likewise.
58460         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58461         powers of two in terms of TWOPOW macro.
58462         (mp_no): Make type of mantissa as MANTISSA_T.
58463         [!RADIXI]: Define RADIXI.
58464         [!TWO52]: Define TWO52.
58465         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58467 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58469         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58470         llroundl symbol when building for PPC32.
58472 2013-03-24  Mark H Weaver  <mhw@netris.org>
58474         * manual/arith.texi (Normalization Functions): Fix prototypes for
58475         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58477 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58479         [BZ #13889]
58480         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58481         high value to check if expl overflow.
58482         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58483         to check for underflow and overflow.
58484         * math/libm-test.inc: Add exp test.
58486 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
58488         [BZ #11120]
58489         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58490         with NOT_IN_libc.
58492 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58494         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58495         symbol.
58497 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58499         * math/gen-libm-test.pl (parse_args, special_functions): Properly
58500         wrap blocks consisting of several statements.
58502         * sysdeps/generic/math-tests.h: New file.
58503         * sysdeps/i386/fpu/math-tests.h: Likewise.
58504         * math/test-snan.c: Include it.
58505         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58507 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
58509         [BZ #15285]
58510         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58511         (__ieee754_j0l): Do not improve calculations using cos of twice
58512         input for inputs above LDBL_MAX / 2.0L.
58513         (__ieee754_y0l): Likewise.
58514         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58515         (__ieee754_j1l): Do not improve calculations using cos of twice
58516         input for inputs above LDBL_MAX / 2.0L.
58517         (__ieee754_y1l): Likewise.
58518         * math/libm-test.inc (j0_test): Add another test.
58519         (j1_test): Likewise.
58520         (y0_test): Likewise.
58521         (y1_test): Likewise.
58522         * sysdeps/i386/fpu/libm-test-ulps: Update.
58524 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58526         * Rules ($(objpfx)bench-%.c): Include code from a C source
58527         file.
58529 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
58531         [BZ #15287]
58532         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58533         imaginary part 1.0 and real part less than 0.5 specially.
58534         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58535         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58536         * math/libm-test.inc (cacos_test): Add more tests.
58537         (casin_test): Likewise.
58538         (casinh_test): Likewise.
58539         * sysdeps/i386/fpu/libm-test-ulps: Update.
58540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58542 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58544         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
58545         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
58547 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
58549         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
58550         * config.make.in (config-cflags-sse4): Remove variable.
58551         (config-cflags-avx): Likewise.
58552         (config-cflags-sse2avx): Likewise.
58553         (config-cflags-novzeroupper): Likewise.
58554         (config-asflags-i686): Likewise.
58555         (have-mfma4): Likewise.
58556         (have-as-vis3): Likewise.
58557         (MIG): Likewise.
58558         * configure.in (MIG): Do not AC_SUBST.
58559         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
58560         (libc_cv_cc_sse4): Do not AC_SUBST.
58561         (libc_cv_cc_avx): Likewise.
58562         (libc_cv_cc_sse2avx): Likewise.
58563         (libc_cv_cc_novzeroupper): Likewise.
58564         (libc_cv_cc_fma4): Likewise.
58565         (libc_cv_as_i686): Likewise.
58566         (libc_cv_sparc_as_vis3): Likewise.
58567         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
58568         LIBC_CONFIG_VAR.
58569         (config-asflags-i686): Likewise.
58570         (config-cflags-avx): Likewise.
58571         (config-cflags-sse2avx): Likewise.
58572         (have-mfma4): Likewise.
58573         (config-cflags-novzeroupper): Likewise.
58574         * sysdeps/mach/configure.in (MIG): Likewise.
58575         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
58576         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
58577         LIBC_CONFIG_VAR.
58578         (config-cflags-avx): Likewise.
58579         (config-cflags-sse2avx): Likewise.
58580         (have-mfma4): Likewise.
58581         (config-cflags-novzeroupper): Likewise.
58582         * configure: Regenerated.
58583         * sysdeps/i386/configure: Likewise.
58584         * sysdeps/mach/configure: Likewise.
58585         * sysdeps/sparc/configure: Likewise.
58586         * sysdeps/x86_64/configure: Likewise.
58588 2013-03-20  Roland McGrath  <roland@hack.frob.com>
58590         [BZ #14812]
58591         * locale/programs/localedef.c (options): Put N_ translation marker
58592         on argument names, not just descriptions.
58594 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58596         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58598 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
58600         [BZ #14176]
58601         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58603 2013-03-19  Roland McGrath  <roland@hack.frob.com>
58605         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58606         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58607         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58608         [!BEFORE_ABORT] (before_abort): New function.
58609         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58610         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58611         (writev_for_fatal): New function.
58612         (WRITEV_FOR_FATAL): New macro; call that.
58613         (backtrace_and_maps): New function.
58614         (BEFORE_ABORT): New macro; call that.
58615         (struct str_list): Type removed.
58616         (__libc_message, __libc_fatal): Functions removed.
58617         Include <sysdeps/posix/libc_fatal.c> instead.
58619 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
58621         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58622         constants.
58623         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58624         double constants.
58626 2013-03-19  Andreas Schwab  <schwab@suse.de>
58628         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58629         * sysdeps/gnu/configure: Regenerate.
58631         * configure.in: Substitute libc_cv_rtlddir.
58632         * configure: Regenerate.
58633         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58634         * Makeconfig (rtlddir, inst_rtlddir): New variables.
58635         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58636         * elf/Makefile (install-others, CFLAGS-interp.c)
58637         (ldso_install, common-ldd-rewrite): Likewise.
58638         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58639         $(inst_slibdir)/$(rtld-installed-name).
58640         * scripts/rellns-sh: Add -p option.
58641         * Makerules (make-shlib-link): Use rellns-sh to get relative name
58642         for source.
58644 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58646         * manual/nptl.texi: Renamed to ...
58647         * manual/threads.texi: ... this.
58648         * manual/Makefile (chapters): Update.
58650 2013-03-18  Roland McGrath  <roland@hack.frob.com>
58652         [BZ #14812]
58653         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58654         on argument names, not just descriptions.
58655         * malloc/memusagestat.c (options): Likewise.
58656         * nss/getent.c (options): Likewise.
58658 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
58660         [BZ #14812]
58661         * iconv/iconv_prog.c (options): Put N_ translation marker
58662         on argument names, not just descriptions.
58663         * iconv/iconvconfig.c (options): Likewise.
58665 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
58667         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58668         implementation which is faster on all x86_64 architectures.
58669         Tested on AMD, Intel Nehalem, SNB, IVB.
58670         * sysdeps/x86_64/strnlen.S: Likewise.
58672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58673         Remove all multiarch strlen and strnlen versions.
58674         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58675         Remove strlen and strnlen related parts.
58677         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58678         Inline strlen part.
58679         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58681         * sysdeps/x86_64/multiarch/strlen.S: Remove.
58682         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58683         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58684         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58685         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58686         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58688 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
58690         * manual/memory.texi (Malloc Tunable Parameters):
58691         Sort parameters alphabetically. Add comments for missing entries.
58693 2013-03-17  David S. Miller  <davem@davemloft.net>
58695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58697 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
58699         [BZ #15283]
58700         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58701         for arguments at most half maximum finite value.
58702         * math/libm-test.inc (j0_test): Add more tests.
58703         (j1_test): Likewise.
58704         (y0_test): Likewise.
58705         (y1_test): Likewise.
58706         * sysdeps/i386/fpu/libm-test-ulps: Update.
58707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58709         [BZ #14155]
58710         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58711         1 / x and functions P and Q for arguments above 0x1p256L.
58712         (__ieee754_y0l): Likewise.
58713         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58714         (__ieee754_y1l): Likewise.
58715         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58716         (j1_test): Likewise.
58717         (y0_test): Likewise.
58718         (y1_test): Likewise.
58720 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
58722         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58723         variable.
58725 2013-03-15  Roland McGrath  <roland@hack.frob.com>
58727         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58728         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58729         zero since it's initialized to EXEC_PAGESIZE.
58731         * sysdeps/unix/sysv/linux/ldsodefs.h
58732         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58733         * sysdeps/generic/ldsodefs.h: ... here.
58735 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
58737         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58739         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58740         math/test-snan.c.
58741         * math/test-snan.c: Renamed from
58742         sysdeps/powerpc/fpu/test-powerpc-snan.c.
58743         * math/Makefile (tests): Add test-snan.
58744         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58745         test-powerpc-snan.
58747         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58748         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
58749         functions.
58750         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
58751         __builtin_nan family of functions.
58752         * math/libm-test.inc (initialize): Initialize qnan_value with
58753         __builtin_nan family of functions.
58754         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58755         Remove variables.
58756         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58757         Remove functions.
58758         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
58759         storage class.  Initialize qNaN_var and sNaN_var with
58760         __builtin_nan and __builtin_nans families of functions,
58761         respectively.
58763         * math/libm-test.inc (acosh_test): Also test with qNaN input.
58764         (sqrt_test): Remove duplicate test with qNaN input.
58765         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58766         (round_test, signbit_test, significand_test): Note missing +/-Inf
58767         as well as qNaN tests.
58769         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58770         qNaN_var.  Fix a few strings, too.
58771         * math/libm-test.inc (nan_value): Rename to qnan_value.
58772         * math/gen-libm-test.pl (%beautify): Adjust to that.
58773         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58774         * math/test-misc.c (main): Likewise.
58775         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58776         to __qnan_bytes, and __qnan_union, respectively.
58777         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58778         Likewise.
58779         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58780         and lqnanval, respectively.
58781         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58782         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58783         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58784         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58786         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58787         * math/test-misc.c (main) [__x86_64__]: Enable test for long
58788         doubles.
58790         * math/test-misc.c (main): Fix copy'n'pastos.
58791         * misc/tst-efgcvt.c (special): Likewise.
58793         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58794         Remove declarations.
58796 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58798         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58799         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58800         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58801         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58803 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58805         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58806         macro to return vdso values correctly in IFUNC implementations.
58807         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58808         Optimization by using IFUNC.
58810 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58811             Richard Henderson  <rth@redhat.com>
58812             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58814         * Makefile.in (bench): New target.
58815         * NEWS: Mention the benchmark framework.
58816         * Rules (bench): Likewise.
58817         (binaries-bench): Generate binaries for functions to
58818         benchmark.
58819         * benchtests/Makefile: New makefile for benchmark tests.
58820         * benchtests/bench-skeleton.c: New skeleton file for benchmark
58821         programs.
58822         * benchtests/exp-inputs: New input file for EXP function.
58823         * benchtests/pow-inputs: New input file for POW function.
58824         * scripts/bench.pl: New script to generate source files for
58825         benchmark programs.
58827 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58829         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58830         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58831         computations on mantissa.  Use macros for rounding and
58832         division.
58833         (denorm): Likewise.
58834         (__dbl_mp): Likewise.
58835         (add_magnitudes): Likewise.
58836         (sub_magnitudes): Likewise.
58837         (__mul): Likewise.
58838         (__sqr): Likewise.
58839         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58840         powers of two in terms of TWOPOW macro.
58841         (mp_no): Make type of mantissa as MANTISSA_T.
58842         [!RADIXI]: Define RADIXI.
58843         [!TWO52]: Define TWO52.
58844         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58846         * manual/nptl.texi (cindex): Modify threads to pthreads.
58848 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
58850         * sysdeps/x86_64/preconfigure: Regenerated.
58852 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
58854         [BZ #14155]
58855         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58856         0x1p28 and above.
58857         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58858         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58859         0x1p28 and above.
58860         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58861         * math/libm-test.inc (j0_test): Do not allow one spurious
58862         underflow exception.
58863         (y1_test): Likewise.
58865 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58867         * manual/Makefile (chapters): Add nptl.
58868         * manual/debug.texi (Debugging Support): Add link to Threads
58869         chapter.
58870         * manual/nptl.texi: New file.
58872         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58874 2013-03-14  Petr Baudis  <pasky@ucw.cz>
58876         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58877         for non-NULL pointer before the memory validity test. Pointed
58878         out by Holger Brunck <holger.brunck@keymile.com>.
58880 2013-03-13  Andreas Schwab  <schwab@suse.de>
58882         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58883         instead of .os.
58885 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
58887         * timezone/zic.c: Update from tzcode 2013b.
58889 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
58891         * manual/install.texi (Configuring and compiling):
58892         Mention i686 and i586.
58893         * INSTALL: Regenerate.
58895 2013-03-12  Roland McGrath  <roland@hack.frob.com>
58897         * sysdeps/init_array/elf-init.c: New file.
58898         * csu/elf-init.c
58899         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58900         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58902         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58903         __gmon_start__ as global, but as static with a .preinit_array pointer.
58904         * sysdeps/init_array/gmon-start.c: New file.  Use that.
58905         * sysdeps/init_array/crti.S: New file, empty except for comments.
58906         * sysdeps/init_array/crtn.S: Likewise.
58908 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
58910         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58911         definining bcopy.
58912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58913         Remove Prefer_SSE_for_memop.
58914         * sysdeps/x86_64/multiarch/init-arch.h: Remove
58915         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58916         HAS_PREFER_SSE_FOR_MEMOP.
58917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58918         memset-x86-64.
58919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58920         Remove bzero, memset ifunc support.
58921         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58922         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58923         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58924         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58926 2013-03-11  Andreas Schwab  <schwab@suse.de>
58928         [BZ #15234]
58929         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58930         by SHLIB_COMPAT.
58931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58932         (GLIBC_2.16): Remove pthread_atfork.
58934 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
58936         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58937         (ptestcases.h): Likewise.
58939 2013-03-08  Roland McGrath  <roland@hack.frob.com>
58941         * Makeconfig ($(common-objpfx)config.status): Depend on
58942         sysdeps/*/preconfigure{,.in} too.
58944 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
58946         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58947         (__free_hook): Use void * instead of __malloc_ptr_t.
58948         (__malloc_hook): Likewise.
58949         (__realloc_hook): Likewise.
58950         (__memalign_hook): Likewise.
58951         (__after_morecore_hook): Likewise.
58952         * malloc/arena.c (save_malloc_hook): Likewise.
58953         (save_free_hook): Likewise.
58954         * malloc/hooks.c (malloc_hook_ini): Likewise.
58955         (realloc_hook_ini): Likewise.
58956         (memalign_hook_ini): Likewise.
58957         * malloc/malloc.c (malloc_hook_ini): Likewise.
58958         (realloc_hook_ini): Likewise.
58959         (memalign_hook_ini): Likewise.
58960         (__free_hook): Likewise.
58961         (__malloc_hook): Likewise.
58962         (__realloc_hook): Likewise.
58963         (__memalign_hook): Likewise.
58964         (__libc_malloc): Likewise.
58965         (__libc_free): Likewise.
58966         (__libc_realloc): Likewise.
58967         (__libc_memalign): Likewise.
58968         (__libc_valloc): Likewise.
58969         (__libc_pvalloc): Likewise.
58970         (__libc_calloc): Likewise.
58971         (__posix_memalign): Likewise.
58972         * malloc/morecore.c (__sbrk): Likewise.
58973         (__default_morecore): Likewise.
58975         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58977         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58978         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58979         __malloc_ptrdiff_t.
58981         * malloc/malloc.h (__malloc_size_t): Remove macro.
58982         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58983         __malloc_size_t.
58984         (old_memalign_hook): Likewise.
58985         (old_realloc_hook): Likewise.
58986         (struct hdr): Likewise.
58987         (flood): Likewise.
58988         (mallochook): Likewise.
58989         (memalignhook): Likewise.
58990         (reallochook): Likewise.
58991         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58992         (tr_old_realloc_hook): Likewise.
58993         (tr_old_memalign_hook): Likewise.
58994         (tr_mallochook): Likewise.
58995         (tr_reallochook): Likewise.
58996         (tr_memalignhook): Likewise.
58998 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59000         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
59001         default_ldbl_pack and using as default implementation.
59002         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
59003         implementation.
59004         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
59005         redundant definition.
59006         (ldbl_insert_mantissa): Likewise.
59007         (ldbl_canonicalize): Likewise.
59008         (ldbl_nearbyint): Likewise.
59009         (ldbl_pack): Rename to ldbl_pack_ppc.
59010         (ldbl_unpack): Rename to ldbl_unpack_ppc.
59011         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59012         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
59014 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
59017         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
59018         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
59019         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
59020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
59021         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
59022         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
59023         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
59025 2013-03-07  Andreas Jaeger  <aj@suse.de>
59027         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59028         bits/mman-linux.h.
59030 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59032         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59033         Include mpa.h and declare __MPEXP.
59034         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59035         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59036         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59037         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59038         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59039         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59040         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59042         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59043         (__slowpow): Use long double EXPL and LOGL functions to
59044         compute POW.
59045         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59046         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59047         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59048         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59049         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59050         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59052         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59053         intermediate variable to calculate exponent.
59054         (__sqr): Likewise.
59055         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59056         Likewise.
59057         (__sqr): Likewise.
59059         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59060         [!NO__SQR]: Define __sqr.
59061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59062         and NO__SQR.  Remove all code except __mul and __sqr.  Include
59063         sysdeps/ieee754/dbl-64/mpa.c.
59064         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59066         [BZ #12723]
59067         * posix/Makefile (tests): Add tst-pathconf.
59068         * posix/tst-pathconf.c: New test case.
59069         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59070         _PC_PIPE_BUF.
59071         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59073 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
59075         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59077 2013-03-06  Andreas Jaeger  <aj@suse.de>
59079         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59080         definition via __MAP_ANONYMOUS.
59082         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59083         it's not part of Linux headers.
59085         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59086         (MAP_HUGE_MASK): Define.
59088         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59089         Define.
59090         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59091         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59092         Define.
59093         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59094         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59095         Define.
59096         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59097         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59098         Define.
59099         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59101         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59102         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59103         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59104         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59105         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59106         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59108         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59109         Handle f2fs.
59111         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59112         Handle f2fs and efivarfs.
59114         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59115         f2fs.
59117         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59118         (EFIVARFS_MAGIC): Add.
59119         (F2FS_LINK_MAX): Add.
59121 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59123         * stdio-common/vfprintf.c: Replace __builtin_expect with
59124         __glibc_unlikely.
59126 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
59128         [BZ #13550]
59129         * sysdeps/generic/bp-sym.h: Remove file.
59130         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59131         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59132         <bp-sym.h> and <bp-asm.h>.
59133         (__longjmp): Don't use BP_SYM.
59134         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59135         and <bp-asm.h>.
59136         (memcpy): Don't use BP_SYM.
59137         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59138         <bp-sym.h> and <bp-asm.h>.
59139         (memcpy): Don't use BP_SYM.
59140         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59141         <bp-asm.h>.
59142         (memcpy): Don't use BP_SYM.
59143         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59144         <bp-asm.h>.
59145         (memset): Don't use BP_SYM.
59146         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59147         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59148         (__bzero): Don't use BP_SYM.
59149         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59150         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59151         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59152         <bp-sym.h> and <bp-asm.h>.
59153         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59154         pointers.
59155         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59156         <bp-sym.h> and <bp-asm.h>.
59157         (memcpy): Don't use BP_SYM.
59158         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59159         <bp-sym.h> and <bp-asm.h>.
59160         (memset): Don't use BP_SYM.
59161         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59162         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59163         (__bzero): Don't use BP_SYM.
59164         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59165         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59166         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59167         <bp-sym.h> and <bp-asm.h>.
59168         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59169         pointers.
59170         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59171         <bp-sym.h> and <bp-asm.h>.
59172         (memcpy): Don't use BP_SYM.
59173         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59174         <bp-sym.h> and <bp-asm.h>.
59175         (memset): Don't use BP_SYM.
59176         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59177         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59178         (__bzero): Don't use BP_SYM.
59179         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59180         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59181         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59182         <bp-sym.h> and <bp-asm.h>.
59183         (__memchr): Don't use BP_SYM.
59184         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59185         <bp-sym.h> and <bp-asm.h>.
59186         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59187         pointers.
59188         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59189         <bp-sym.h> and <bp-asm.h>.
59190         (memcpy): Don't use BP_SYM.
59191         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59192         <bp-sym.h> and <bp-asm.h>.
59193         (__mempcpy): Don't use BP_SYM.
59194         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59195         <bp-sym.h> and <bp-asm.h>.
59196         (__memrchr): Don't use BP_SYM.
59197         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59198         <bp-sym.h> and <bp-asm.h>.
59199         (memset): Don't use BP_SYM.
59200         (__bzero): Likewise.
59201         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59202         <bp-sym.h> and <bp-asm.h>.
59203         (__rawmemchr): Don't use BP_SYM.
59204         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59205         <bp-sym.h> and <bp-asm.h>.
59206         (__STRCMP): Don't use BP_SYM.
59207         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59208         <bp-sym.h> and <bp-asm.h>.
59209         (strchr): Don't use BP_SYM.
59210         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59211         <bp-sym.h> and <bp-asm.h>.
59212         (__strchrnul): Don't use BP_SYM.
59213         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59214         <bp-sym.h> and <bp-asm.h>.
59215         (strlen): Don't use BP_SYM.
59216         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59217         <bp-sym.h> and <bp-asm.h>.
59218         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59219         pointers.
59220         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59221         <bp-sym.h> and <bp-asm.h>.
59222         (__strnlen): Don't use BP_SYM.
59223         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59224         <bp-sym.h> and <bp-asm.h>.
59225         (__GI__setjmp): Don't use BP_SYM.
59226         (_setjmp): Likewise.
59227         (__sigsetjmp): Likewise.
59228         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59229         (L(start_addresses)): Don't use BP_SYM.
59230         (_start): Likewise.
59231         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59232         <bp-asm.h>.
59233         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59234         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59235         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59236         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59237         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59238         <bp-asm.h>.
59239         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59240         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
59241         about bounded pointers.
59242         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59243         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59244         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59245         <bp-asm.h>.
59246         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59247         about bounded pointers.  Remove GKM FIXME comments.
59248         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59249         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59250         <bp-asm.h>.
59251         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59252         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
59253         Remove GKM FIXME comments.
59254         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59255         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59256         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59257         <bp-asm.h>.
59258         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59259         about bounded pointers.  Remove GKM FIXME comment.
59260         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59261         and <bp-asm.h>.
59262         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59263         pointers.
59264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59265         <bp-sym.h> and <bp-asm.h>.
59266         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59268         <bp-sym.h> and <bp-asm.h>.
59269         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59270         comment.
59272 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59274         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59275         call free(NULL).
59277 2013-03-05  David S. Miller  <davem@davemloft.net>
59279         * po/es.po: Update from translation team.
59281 2013-03-05  Andreas Jaeger  <aj@suse.de>
59283         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59284         <bits/mman-linux.h>.
59285         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59286         is fine.
59287         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59288         <bits/mman-linux.h> to end of file.
59289         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59290         is fine.
59291         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59292         <bits/mman-linux.h> to end of file.
59293         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59294         is fine.
59295         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59296         <bits/mman-linux.h> to end of file.
59298         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59299         (MCL_CURRENT, MCL_FUTURE): Define here.
59301 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59303         [BZ #15232]
59304         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59305         attribute_hidden.
59306         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59308 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59310         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59311         fourth parameter needed for rt_sigprocmask syscall.
59312         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59313         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59314         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59315         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59316         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59317         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59319 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
59321         [BZ #13550]
59322         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59323         comment about bounded pointers.
59324         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59325         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59327 2013-03-04  Andreas Jaeger  <aj@suse.de>
59329         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59330         common definitions.
59332         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59333         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59334         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59335         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59336         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59337         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59339 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59341         [BZ #15055]
59342         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59343         __ieee754_sqrl instead of __sqrl.
59345 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
59347         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59348         * sysdeps/powerpc/fpu_control.h: ... here.
59349         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59350         * sysdeps/powerpc/bits/fenvinline.h: ... here.
59351         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59352         * sysdeps/powerpc/bits/mathinline.h: ... here.
59354 2013-03-01  Roland McGrath  <roland@hack.frob.com>
59356         * elf/dl-hwcaps.c (_dl_important_hwcaps):
59357         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59358         to just [NEED_DL_SYSINFO_DSO].
59359         * elf/dl-support.c: Likewise.
59360         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59361         * elf/rtld.c (dl_main): Likewise.
59362         * elf/setup-vdso.h (setup_vdso): Likewise.
59363         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59364         * sysdeps/unix/sysv/linux/dl-sysdep.c
59365         (_dl_discover_osversion): Likewise.
59367 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
59369         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59370         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59372 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
59374         * NEWS: Mention libm performance improvements and non-x86 PI
59375         futex support.
59377         * csu/libc-start.c (__pthread_initialize_minimal): Change
59378         function arguments.
59379         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59381 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
59383         [BZ #13550]
59384         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59385         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59386         <bp-sym.h> and <bp-asm.h>.
59387         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59388         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59389         and <bp-asm.h>.
59390         (memcpy): Don't use BP_SYM.
59391         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59392         <bp-asm.h>.
59393         (__mpn_add_n): Don't use BP_SYM.
59394         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59395         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59396         and <bp-asm.h>.
59397         (__mpn_addmul_1): Don't use BP_SYM.
59398         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59399         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59400         <bp-sym.h>.
59401         (_setjmp): Don't use BP_SYM.
59402         (__novmx_setjmp): Likewise.
59403         (__GI__setjmp): Likewise.
59404         (__vmx_setjmp): Likewise.
59405         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59406         <bp-sym.h>.
59407         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59408         (__bzero): Don't use BP_SYM.
59409         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59410         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59411         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59412         <bp-sym.h> and <bp-asm.h>.
59413         (memcpy): Don't use BP_SYM.
59414         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59415         <bp-sym.h> and <bp-asm.h>.
59416         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59417         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59418         <bp-sym.h> and <bp-asm.h>.
59419         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59420         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59421         <bp-asm.h>.
59422         (__mpn_lshift): Don't use BP_SYM.
59423         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59424         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59425         <bp-asm.h>.
59426         (memset): Don't use BP_SYM.
59427         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59428         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59429         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59430         <bp-asm.h>.
59431         (__mpn_mul_1): Don't use BP_SYM.
59432         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59433         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59434         <bp-sym.h> and <bp-asm.h>.
59435         (memcmp): Don't use BP_SYM.
59436         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59437         <bp-sym.h> and <bp-asm.h>.
59438         (memcpy): Don't use BP_SYM.
59439         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59440         <bp-sym.h> and <bp-asm.h>.
59441         (memset): Don't use BP_SYM.
59442         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59443         <bp-sym.h> and <bp-asm.h>.
59444         (strncmp): Don't use BP_SYM.
59445         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59446         <bp-sym.h> and <bp-asm.h>.
59447         (memcpy): Don't use BP_SYM.
59448         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59449         <bp-sym.h> and <bp-asm.h>.
59450         (memset): Don't use BP_SYM.
59451         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59452         <bp-sym.h> and <bp-asm.h>.
59453         (__memchr): Don't use BP_SYM.
59454         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59455         <bp-sym.h> and <bp-asm.h>.
59456         (memcmp): Don't use BP_SYM.
59457         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59458         <bp-sym.h> and <bp-asm.h>.
59459         (memcpy): Don't use BP_SYM.
59460         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59461         <bp-sym.h> and <bp-asm.h>.
59462         (__mempcpy): Don't use BP_SYM.
59463         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59464         <bp-sym.h> and <bp-asm.h>.
59465         (__memrchr): Don't use BP_SYM.
59466         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59467         <bp-sym.h> and <bp-asm.h>.
59468         (memset): Don't use BP_SYM.
59469         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59470         <bp-sym.h> and <bp-asm.h>.
59471         (__rawmemchr): Don't use BP_SYM.
59472         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59473         <bp-sym.h> and <bp-asm.h>.
59474         (__STRCMP): Don't use BP_SYM.
59475         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59476         <bp-sym.h> and <bp-asm.h>.
59477         (strchr): Don't use BP_SYM.
59478         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59479         <bp-sym.h> and <bp-asm.h>.
59480         (__strchrnul): Don't use BP_SYM.
59481         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59482         <bp-sym.h> and <bp-asm.h>.
59483         (strlen): Don't use BP_SYM.
59484         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59485         <bp-sym.h> and <bp-asm.h>.
59486         (strncmp): Don't use BP_SYM.
59487         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59488         <bp-sym.h> and <bp-asm.h>.
59489         (__strnlen): Don't use BP_SYM.
59490         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59491         <bp-asm.h>.
59492         (__mpn_rshift): Don't use BP_SYM.
59493         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59494         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59495         <bp-sym.h> and <bp-asm.h>.
59496         (__sigsetjmp): Don't use BP_SYM.
59497         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59498         (L(start_addresses)): Don't use BP_SYM.
59499         (_start): Likewise.
59500         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59501         <bp-asm.h>.
59502         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59503         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59504         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59505         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59506         <bp-asm.h>.
59507         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59508         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59509         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59510         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59511         <bp-asm.h>.
59512         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
59513         comments.
59514         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59515         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59516         <bp-asm.h>.
59517         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
59518         FIXME comments.
59519         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59520         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59521         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59522         <bp-asm.h>.
59523         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
59524         comment.
59525         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59526         and <bp-asm.h>.
59527         (strncmp): Don't use BP_SYM,
59528         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59529         <bp-asm.h>.
59530         (__mpn_sub_n): Don't use BP_SYM.
59531         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59532         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59533         and <bp-asm.h>.
59534         (__mpn_submul_1): Don't use BP_SYM.
59535         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59537         <bp-sym.h> and <bp-asm.h>.
59538         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59540         <bp-sym.h> and <bp-asm.h>.
59541         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59542         comment.
59544 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59546         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
59547         Use ZK to minimize writes to Z.
59548         (sub_magnitudes): Simplify code a bit.
59549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
59550         Use ZK to minimize writes to Z.
59551         (sub_magnitudes): Simplify code a bit.
59553 2013-02-27  Roland McGrath  <roland@hack.frob.com>
59555         * csu/gmon-start.c: Add special exception to license text.
59557 2013-02-27  Richard Henderson  <rth@redhat.com>
59559         * scripts/config.guess: Update from config.git.
59560         * scripts/config.sub: Likewise.
59562 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59564         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
59566         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
59568         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
59570         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
59572         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
59574 2013-02-26  Roland McGrath  <roland@hack.frob.com>
59576         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
59577         [$(build-shared = yes].
59579 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59581         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59582         (__mul): Reduce iterations for calculating mantissa.
59584         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59585         MPTWO.
59586         (__mpranred): Likewise.
59588         [BZ #15160]
59589         * malloc/memusagestat.c (main): Draw graphs for heap and stack
59590         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59592 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
59594         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59595         Define __attribute__.
59597 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59599         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59600         unused.
59601         * posix/regex_internal.h (__attribute): Remove.
59602         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59603         (re_string_context_at): Likewise.
59604         (bitset_not): Use __attribute__ and mark function as possibly
59605         unused.
59606         (bitset_merge): Likewise.
59607         (bitset_mask): Likewise.
59608         (re_string_char_size_at): Likewise.
59609         (re_string_wchar_at): Likewise.
59610         (re_string_elem_size_at): Likewise.
59612 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59614         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59615         code.
59616         (cc32): Likewise.
59618         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59619         (__acr): Likewise.
59620         (__cpy): Likewise.
59621         (norm): Likewise.
59622         (denorm): Likewise.
59623         (__dbl_mp): Likewise.
59624         (add_magnitudes): Likewise.
59625         (sub_magnitudes): Likewise.
59626         (__mul): Likewise.
59627         (__inv): Likewise.
59629         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59630         style.
59632         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59633         style.
59635         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59636         code.
59638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59639         up changes with default code.
59640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59641         Likewise.
59643 2013-02-24  Allan McRae  <allan@archlinux.org>
59645         * manual/socket.texi (The Internet Namespace): Order menu items
59646         to match that in the file.
59648         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59649         node listing of the info page menu.
59651 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
59653         [BZ #13550]
59654         * sysdeps/i386/bp-asm.h: Remove file.
59655         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59656         (PARMS): Do not use macros from bp-asm.h.
59657         (S1): Likewise.
59658         (S2): Likewise.
59659         (SIZE): Likewise.
59660         (__mpn_add_n): Do not use BP_SYM
59661         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59662         "bp-asm.h".
59663         (PARMS): Do not use macros from bp-asm.h.
59664         (S1): Likewise.
59665         (SIZE): Likewise.
59666         (__mpn_addmul_1): Do not use BP_SYM
59667         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59668         "bp-asm.h".
59669         (PARMS): Do not use macros from bp-asm.h.
59670         (SIGMSK): Likewise.
59671         (_setjmp): Likewise.  Do not use BP_SYM.
59672         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59673         "bp-asm.h".
59674         (PARMS): Do not use macros from bp-asm.h.
59675         (SIGMSK): Likewise.
59676         (setjmp): Likewise.  Do not use BP_SYM.
59677         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59678         "bp-asm.h".
59679         (PARMS): Do not use macros from bp-asm.h.
59680         (__frexp): Do not use BP_SYM.
59681         (frexp): Likewise.
59682         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59683         "bp-asm.h".
59684         (PARMS): Do not use macros from bp-asm.h.
59685         (__frexpf): Do not use BP_SYM.
59686         (frexpf): Likewise.
59687         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59688         "bp-asm.h".
59689         (PARMS): Do not use macros from bp-asm.h.
59690         (__frexpl): Do not use BP_SYM.
59691         (frexpl): Likewise.
59692         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59693         "bp-asm.h".
59694         (PARMS): Do not use macros from bp-asm.h.
59695         (__remquo): Do not use BP_SYM.
59696         (remquo): Likewise.
59697         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59698         "bp-asm.h".
59699         (PARMS): Do not use macros from bp-asm.h.
59700         (__remquof): Do not use BP_SYM.
59701         (remquof): Likewise.
59702         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59703         "bp-asm.h".
59704         (PARMS): Do not use macros from bp-asm.h.
59705         (__remquol): Do not use BP_SYM.
59706         (remquol): Likewise.
59707         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59708         "bp-asm.h".
59709         (PARMS): Do not use macros from bp-asm.h.
59710         (DEST): Likewise.
59711         (SRC): Likewise.
59712         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
59713         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59714         "bp-asm.h".
59715         (PARMS): Do not use macros from bp-asm.h.
59716         (strlen): Do not use BP_SYM.
59717         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59718         "bp-asm.h".
59719         (PARMS): Do not use macros from bp-asm.h.
59720         (S1): Likewise.
59721         (S2): Likewise.
59722         (SIZE): Likewise.
59723         (__mpn_add_n): Do not use BP_SYM.
59724         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59725         "bp-asm.h".
59726         (PARMS): Do not use macros from bp-asm.h.
59727         (S1): Likewise.
59728         (SIZE): Likewise.
59729         (__mpn_addmul_1): Do not use BP_SYM.
59730         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59731         weak_alias.
59732         (bzero): Likewise.
59733         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59734         "bp-asm.h".
59735         (PARMS): Do not use macros from bp-asm.h.
59736         (S): Likewise.
59737         (SIZE): Likewise.
59738         (__mpn_lshift): Do not use BP_SYM.
59739         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59740         "bp-asm.h".
59741         (PARMS): Do not use macros from bp-asm.h.
59742         (DEST): Likewise.
59743         (SRC): Likewise.
59744         (LEN): Likewise.
59745         (memcpy): Likewise.  Do not use BP_SYM.
59746         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59747         libc_hidden_def and weak_alias.
59748         (mempcpy): Do not use BP_SYM in weak_alias.
59749         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59750         "bp-asm.h".
59751         (PARMS): Do not use macros from bp-asm.h.
59752         (DEST): Likewise.
59753         (LEN): Likewise.
59754         [!BZERO_P] (CHR): Likewise.
59755         (memset): Likewise.  Do not use BP_SYM.
59756         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59757         "bp-asm.h".
59758         (PARMS): Do not use macros from bp-asm.h.
59759         (S1): Likewise.
59760         (SIZE): Likewise.
59761         (__mpn_mul_1): Do not use BP_SYM.
59762         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59763         "bp-asm.h".
59764         (PARMS): Do not use macros from bp-asm.h.
59765         (S): Likewise.
59766         (SIZE): Likewise.
59767         (__mpn_rshift): Do not use BP_SYM.
59768         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59769         "bp-asm.h".
59770         (PARMS): Do not use macros from bp-asm.h.
59771         (STR): Likewise.
59772         (CHR): Likewise.
59773         (strchr): Likewise.  Do not use BP_SYM.
59774         (index): Do not use BP_SYM in weak_alias.
59775         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59776         "bp-asm.h".
59777         (PARMS): Do not use macros from bp-asm.h.
59778         (DEST): Likewise.
59779         (SRC): Likewise.
59780         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
59781         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59782         "bp-asm.h".
59783         (PARMS): Do not use macros from bp-asm.h.
59784         (strlen): Do not use BP_SYM.
59785         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59786         "bp-asm.h".
59787         (PARMS): Do not use macros from bp-asm.h.
59788         (S1): Likewise.
59789         (S2): Likewise.
59790         (SIZE): Likewise.
59791         (__mpn_sub_n): Do not use BP_SYM.
59792         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59793         "bp-asm.h".
59794         (PARMS): Do not use macros from bp-asm.h.
59795         (S1): Likewise.
59796         (SIZE): Likewise.
59797         (__mpn_submul_1): Do not use BP_SYM.
59798         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59799         "bp-asm.h".
59800         (PARMS): Do not use macros from bp-asm.h.
59801         (S1): Likewise.
59802         (S2): Likewise.
59803         (SIZE): Likewise.
59804         (__mpn_add_n): Do not use BP_SYM.
59805         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59806         weak_alias.
59807         (bzero): Likewise.
59808         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59809         "bp-asm.h".
59810         (PARMS): Do not use macros from bp-asm.h.
59811         (BLK2): Likewise.
59812         (LEN): Likewise.
59813         (memcmp): Do not use BP_SYM.
59814         (bcmp): Do not use BP_SYM in weak_alias.
59815         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59816         "bp-asm.h".
59817         (PARMS): Do not use macros from bp-asm.h.
59818         (DEST): Likewise.
59819         (SRC): Likewise.
59820         (LEN): Likewise.
59821         (memcpy): Likewise.  Do not use BP_SYM.
59822         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59823         "bp-asm.h".
59824         (PARMS): Do not use macros from bp-asm.h.
59825         (DEST): Likewise.
59826         (SRC): Likewise.
59827         (LEN): Likewise.
59828         (memmove): Likewise.  Do not use BP_SYM.
59829         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59830         "bp-asm.h".
59831         (PARMS): Do not use macros from bp-asm.h.
59832         (DEST): Likewise.
59833         (SRC): Likewise.
59834         (LEN): Likewise.
59835         (__mempcpy): Likewise.  Do not use BP_SYM.
59836         (mempcpy): Do not use BP_SYM in weak_alias.
59837         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59838         "bp-asm.h".
59839         (PARMS): Do not use macros from bp-asm.h.
59840         (DEST): Likewise.
59841         (LEN): Likewise.
59842         [!BZERO_P] (CHR): Likewise.
59843         (memset): Likewise.  Do not use BP_SYM.
59844         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59845         "bp-asm.h".
59846         (PARMS): Do not use macros from bp-asm.h.
59847         (STR2): Likewise.
59848         (strcmp): Do not use BP_SYM.
59849         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59850         "bp-asm.h".
59851         (PARMS): Do not use macros from bp-asm.h.
59852         (STR): Likewise.
59853         (DELIM): Likewise.
59854         [USE_AS_STRTOK_R] (SAVE): Likewise.
59855         (FUNCTION): Likewise.  Do not use BP_SYM.
59856         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59857         aliases.
59858         (strtok_r): Likewise.
59859         (__GI___strtok_r): Likewise.
59860         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59861         (PARMS): Do not use macros from bp-asm.h.
59862         (S): Likewise.
59863         (SIZE): Likewise.
59864         (__mpn_lshift): Do not use BP_SYM.
59865         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59866         (PARMS): Do not use macros from bp-asm.h.
59867         (STR): Likewise.
59868         (CHR): Likewise.
59869         (__memchr): Do not use BP_SYM.
59870         (memchr): Do not use BP_SYM in weak_alias.
59871         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59872         (PARMS): Do not use macros from bp-asm.h.
59873         (BLK2): Likewise.
59874         (LEN): Likewise.
59875         (memcmp): Do not use BP_SYM.
59876         (bcmp): Do not use BP_SYM in weak_alias.
59877         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59878         (PARMS): Do not use macros from bp-asm.h.
59879         (S1): Likewise.
59880         (SIZE): Likewise.
59881         (__mpn_mul_1): Do not use BP_SYM.
59882         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59883         "bp-asm.h".
59884         (PARMS): Do not use macros from bp-asm.h.
59885         (STR): Likewise.
59886         (CHR): Likewise.
59887         (__rawmemchr): Do not use BP_SYM.
59888         (rawmemchr): Do not use BP_SYM in weak_alias.
59889         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59890         (PARMS): Do not use macros from bp-asm.h.
59891         (S): Likewise.
59892         (SIZE): Likewise.
59893         (__mpn_rshift): Do not use BP_SYM.
59894         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59895         (PARMS): Do not use macros from bp-asm.h.
59896         (SIGMSK): Likewise.
59897         (__sigsetjmp): Likewise.  Do not use BP_SYM.
59898         * sysdeps/i386/start.S: Do not include "bp-sym.h".
59899         (_start): Do not use BP_SYM.
59900         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59901         (PARMS): Do not use macros from bp-asm.h.
59902         (DEST): Likewise.
59903         (SRC): Likewise.
59904         (__stpcpy): Likewise.  Do not use BP_SYM.
59905         (stpcpy): Do not use BP_SYM in weak_alias.
59906         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59907         "bp-asm.h".
59908         (PARMS): Do not use macros from bp-asm.h.
59909         (DEST): Likewise.
59910         (SRC): Likewise.
59911         (LEN): Likewise.
59912         (__stpncpy): Likewise.  Do not use BP_SYM.
59913         (stpncpy): Do not use BP_SYM in weak_alias.
59914         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59915         (PARMS): Do not use macros from bp-asm.h.
59916         (STR): Likewise.
59917         (CHR): Likewise.
59918         (strchr): Likewise.  Do not use BP_SYM.
59919         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59920         "bp-asm.h".
59921         (PARMS): Do not use macros from bp-asm.h.
59922         (STR): Likewise.
59923         (CHR): Likewise.
59924         (__strchrnul): Likewise.  Do not use BP_SYM.
59925         (strchrnul): Do not use BP_SYM in weak_alias.
59926         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59927         "bp-asm.h".
59928         (PARMS): Do not use macros from bp-asm.h.
59929         (STOP): Likewise.
59930         (strcspn): Do not use BP_SYM.
59931         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59932         "bp-asm.h".
59933         (PARMS): Do not use macros from bp-asm.h.
59934         (STR): Likewise.
59935         (STOP): Likewise.
59936         (strpbrk): Likewise.  Do not use BP_SYM.
59937         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59938         "bp-asm.h".
59939         (PARMS): Do not use macros from bp-asm.h.
59940         (STR): Likewise.
59941         (CHR): Likewise.
59942         (strrchr): Likewise.  Do not use BP_SYM.
59943         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59944         (PARMS): Do not use macros from bp-asm.h.
59945         (SKIP): Likewise.
59946         (strspn): Do not use BP_SYM.
59947         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59948         (PARMS): Do not use macros from bp-asm.h.
59949         (STR): Likewise.
59950         (DELIM): Likewise.
59951         (SAVE): Likewise.
59952         (FUNCTION): Likewise.  Do not use BP_SYM.
59953         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59954         aliases.
59955         (strtok_r): Likewise.
59956         (__GI___strtok_r): Likewise.
59957         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59958         (PARMS): Do not use macros from bp-asm.h.
59959         (S1): Likewise.
59960         (S2): Likewise.
59961         (SIZE): Likewise.
59962         (__mpn_sub_n): Do not use BP_SYM.
59963         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59964         "bp-asm.h".
59965         (PARMS): Do not use macros from bp-asm.h.
59966         (S1): Likewise.
59967         (SIZE): Likewise.
59968         (__mpn_submul_1): Do not use BP_SYM.
59969         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59970         <bp-sym.h>.
59971         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59972         and <bp-asm.h>.
59973         (PARMS): Do not use macros from bp-asm.h.
59974         (FLAGS): Likewise.
59975         (PTID): Likewise.
59976         (TLS): Likewise.
59977         (CTID): Likewise.
59978         (__clone): Do not use BP_SYM.
59979         (clone): Do not use BP_SYM in weak_alias.
59980         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59981         and <bp-asm.h>.
59982         (PARMS): Do not use macros from bp-asm.h.
59983         (LEN): Likewise.
59984         (__mmap64): Do not use BP_SYM.
59985         (mmap64): Do not use BP_SYM in weak_alias.
59986         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59987         <bp-sym.h> and <bp-asm.h>.
59988         (PARMS): Do not use macros from bp-asm.h.
59989         (__posix_fadvise64_l64): Do not use BP_SYM.
59990         * sysdeps/unix/sysv/linux/i386/semtimedop.S
59991         (PARMS): Do not use macros from bp-asm.h.
59992         (NSOPS): Likewise.
59993         (semtimedop): Do not use BP_SYM.
59994         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59995         and <bp-asm.h>.
59997 2013-02-21  Allan McRae  <allan@archlinux.org>
59999         * manual/message.texi (Charset conversion in gettext):
60000         Move @end statement to beginning of line.
60002 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
60005         static.
60006         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60007         Likewise.
60009         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
60010         (denorm): Likewise.
60011         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
60012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
60014 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60016         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
60017         tail-call to the resolved function if pltexit isn't needed.
60019 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
60022         or Y being zero as being unlikely.
60023         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60024         Likewise.
60026 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
60028         * manual/nss.texi (System Databases and Name Service Switch):
60029         Remove frobnicate @pxref.
60031 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
60033         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60034         __attribute__ ((unused)) to __attribute__ ((__unused__)).
60036 2013-02-20  Petr Machata  <pmachata@redhat.com>
60038         * elf/elf.h (R_ARM_TARGET1): New macro.
60039         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60040         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60041         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60042         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60043         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60044         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60045         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60046         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60047         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60048         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60049         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60050         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60051         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60052         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60053         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60054         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60055         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60056         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60057         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60058         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60059         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60060         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60061         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60062         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60063         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60064         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60065         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60066         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60067         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60068         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60069         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60070         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60071         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60072         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60073         (R_ARM_THM_GOT_BREL12): Likewise.
60074         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60075         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60076         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60077         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60078         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60079         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60080         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60081         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60082         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60084 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
60086         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60087         __attribute_used__ to __attribute__ ((unused)).
60089 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60091         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60092         powerpc mpa.c.
60093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60094         comment formatting.
60095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60097 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
60099         [BZ #13550]
60100         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60101         Remove macro.
60102         (ENTER): Remove both macro definitions.
60103         (LEAVE): Likewise.
60104         (CHECK_BOUNDS_LOW): Likewise.
60105         (CHECK_BOUNDS_HIGH): Likewise.
60106         (CHECK_BOUNDS_BOTH): Likewise.
60107         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60108         (RETURN_BOUNDED_POINTER): Likewise.
60109         (RETURN_NULL_BOUNDED_POINTER): Likewise.
60110         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60111         (POP_ERRNO_LOCATION_RETURN): Likewise.
60112         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60113         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60114         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60115         macros.
60116         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60117         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60118         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60119         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60120         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60121         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60122         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60123         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60124         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60125         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60126         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60127         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60128         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60129         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60130         removed macros.
60131         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60132         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60133         macros.
60134         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60135         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60136         * sysdeps/i386/i586/memset.S (memset): Likewise.
60137         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60138         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60139         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60140         macros.
60141         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60142         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60143         Change uses of L(2) to L(out).
60144         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60145         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60146         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60147         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60148         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60149         removed macros.
60150         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60151         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60152         macros.
60153         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60154         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60155         (RETURN): Do not use macro LEAVE.
60156         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60157         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60158         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60159         * sysdeps/i386/i686/memset.S (memset): Likewise.
60160         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60161         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60162         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60163         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60164         Likewise.
60165         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60166         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
60167         L(1_2) and L(1_3) into L(1).
60168         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60169         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60170         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60171         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60172         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60173         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60174         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60175         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60176         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60177         macros.
60178         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60179         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60180         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60181         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60182         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60183         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60184         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60185         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60186         * sysdeps/i386/strcspn.S (strcspn): Likewise.
60187         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60188         * sysdeps/i386/strrchr.S (strrchr): Likewise.
60189         * sysdeps/i386/strspn.S (strspn): Likewise.
60190         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60191         conditional code.
60192         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60193         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60194         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60195         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
60196         L(1_3) into L(1_1).
60197         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60198         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60199         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60200         macros.
60201         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60203 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
60205         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60206         macro.
60208 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60210         * math/atest-exp.c (exp_mpn): Remove ROUND.
60211         * math/atest-exp2.c (exp_mpn): Likewise.
60212         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60214         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60215         * stdlib/tst-tls-atexit-lib.c: Likewise.
60216         * stdlib/tst-tls-atexit.c: Likewise.
60218 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60220         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60221         and __attribute_alloc_size__.
60223 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60225         * include/programs/xmalloc.h: Change __attribute_alloc_size to
60226         __attribute_alloc_size__.
60227         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60228         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60230 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60232         * include/programs/xmalloc.h: New file.
60233         * catgets/gencat.c: Include it.
60234         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60235         * elf/pldd.c: Likewise.
60236         * iconv/iconv_charmap.c: Likewise.
60237         * iconv/iconvconfig.c: Likewise.
60238         * iconv/strtab.c: Likewise.
60239         * locale/programs/locale.c: Likewise.
60240         * locale/programs/localedef.h: Likewise.
60241         * locale/programs/simple-hash.c: Likewise.
60242         * nscd/nscd.h: Likewise.
60243         * nss/makedb.c: Likewise.
60244         * sysdeps/generic/ldconfig.h: Likewise.
60246 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60248         * Versions.def: Add GLIBC_2.18.
60249         * include/link.h (struct link_map): New member l_tls_dtor_count.
60250         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60251         (__call_tls_dtors): Likewise.
60252         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60253         __cxa_thread_atexit_impl.
60254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60255         Likewise.
60256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60257         Likewise.
60258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60259         Likewise.
60260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60261         Likewise.
60262         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60264         Likewise.
60265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60266         Likewise.
60267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60269         Likewise.
60270         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60271         (tests): Add test case tst-tls-atexit.
60272         (modules-names): Add shared library for tst-tls-atexit.
60273         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60274         (GLIBC_PRIVATE): Add __call_tls_dtors.
60275         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60276         for libstdc++.
60277         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60278         * stdlib/tst-tls-atexit.c: New test case.
60279         * stdlib/tst-tls-atexit-lib.c: New test case.
60281         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60283         * elf/Versions (ld): Add _dl_find_dso_for_object.
60284         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60285         * elf/dl-open.c (_dl_find_dso_for_object): New function.
60286         (dl_open_worker): Use _dl_find_dso_for_object.
60287         * elf/dl-sym.c (do_sym): Likewise.
60288         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60290 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60292         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60293         Syntactic changes only.
60294         (_dl_runtime_profile): Do a tail-call to the resolved function.
60296 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
60298         [BZ #13550]
60299         * sysdeps/x86_64/bp-asm.h: Remove file.
60300         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60301         <bp-sym.h> and <bp-asm.h>.
60302         (__clone): Do not use BP_SYM.
60303         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60304         <bp-sym.h> and <bp-asm.h>.
60305         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60306         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60307         "bp-asm.h".
60308         (_setjmp): Do not use BP_SYM.
60309         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60310         "bp-asm.h".
60311         (setjmp): Do not use BP_SYM.
60312         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60313         libc_hidden_def.
60314         (mempcpy): Do not use BP_SYM in weak_alias.
60315         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60316         "bp-asm.h".
60317         (strchr): Do not use BP_SYM.
60318         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60319         "bp-asm.h".
60320         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60321         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60322         (_start): Do not use BP_SYM.
60323         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60324         "bp-asm.h".
60325         (strcat): Do not use BP_SYM.
60326         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60327         "bp-asm.h".
60328         (STRCMP): Do not use BP_SYM.
60329         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60330         "bp-asm.h".
60331         (STRCPY): Do not use BP_SYM.
60332         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60333         "bp-asm.h".
60334         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60335         "bp-asm.h".
60336         (FUNCTION): Do not use BP_SYM.
60337         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60338         weak_alias.
60339         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60341 2013-02-17  Andreas Jaeger  <aj@suse.de>
60343         * time/Versions: Sort entries.
60344         * string/Versions: Likewise.
60345         * resolv/Versions: Likewise.
60346         * posix/Versions: Likewise.
60347         * iconv/Versions: Likewise.
60348         * elf/Versions: Likewise.
60349         * wcsmbs/Versions: Likewise.
60351 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60353         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60354         loop termination condition.
60356         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60357         variable to calculate EZ.
60358         (__sqr): Likewise.
60360         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60361         the lower precision input.
60363 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
60365         [BZ #13550]
60366         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60367         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60368         (run-via-rtld-prefix): Do not handle %-bp tests.
60369         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60370         (all-object-suffixes): Remove .ob.
60371         (bppfx): Remove variable.
60372         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60373         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60374         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60375         [$(build-bounded) = yes] (libtype.ob): Likewise.
60376         * Makerules (elide-routines.ob): Remove variable.
60377         (do-tests-clean): Do not handle *-bp.out.
60378         (common-mostlyclean): Do not handle *-bp and *-bp.out.
60379         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60380         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60381         (tests): Do not include $(tests-bp.out).
60382         (xtests): Do not include $(xtests-bp.out).
60383         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60384         [$(build-bounded) = yes] ($(addprefix
60385         $(objpfx),$(binaries-bounded))): Remove rule.
60386         ($(objpfx)%-bp.out): Remove rule.
60387         * config.make.in (build-bounded): Remove variable.
60388         * crypt/Makefile [$(build-bounded) = yes]
60389         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60390         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60391         append to variable.
60392         [$(build-bounded) = yes] (install-lib): Likewise.
60393         [$(build-bounded) = yes] (generated): Likewise.
60394         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60395         Remove rule.
60396         * intl/Makefile [$(build-bounded) = yes]
60397         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60398         * math/Makefile [$(build-bounded) = yes]
60399         ($(tests:%=$(objpfx)%-bp): Likewise.
60400         * misc/Makefile [$(build-bounded) = yes]
60401         ($(objpfx)tst-tsearch-bp): Likewise.
60402         * nptl/Makeconfig (bounded-thread-library): Remove variable.
60403         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60404         Remove dependency.
60405         * string/Makefile (o-objects.ob): Remove variable.
60406         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60407         (CFLAGS-.ob): Remove variable.
60408         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60409         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60410         both definitions of variable.
60411         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60412         (ASFLAGS-.ob): Remove variable.
60414 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
60416         [BZ #13550]
60417         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60418         Remove __BOUNDED_POINTERS__ from condition.
60419         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60420         * string/bits/string2.h [!__NO_STRING_INLINES &&
60421         !__BOUNDED_POINTERS__]: Likewise.
60422         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60423         Likewise.
60424         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60425         Remove conditional code.
60426         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60427         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60428         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60429         condition.
60431         [BZ #13550]
60432         * csu/libc-start.c: Do not include <bp-sym.h>.
60433         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60434         * elf/dl-open.c: Do not include <bp-sym.h>.
60435         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60436         * math/fegetenv.c: Do not include <bp-sym.h>.
60437         (fegetenv): Do not use BP_SYM in versioned symbols.
60438         * nptl/sysdeps/pthread/bits/libc-lockP.h
60439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60440         <bp-sym.h>.
60441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60442         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60444         (__pthread_mutex_destroy): Likewise.
60445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60446         (__pthread_mutex_lock): Likewise.
60447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60448         (__pthread_mutex_trylock): Likewise.
60449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60450         (__pthread_mutex_unlock): Likewise.
60451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60452         (__pthread_mutexattr_init): Likewise.
60453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60454         (__pthread_mutexattr_destroy): Likewise.
60455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60456         (__pthread_mutexattr_settype): Likewise.
60457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60458         (__pthread_rwlock_init): Likewise.
60459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60460         (__pthread_rwlock_destroy): Likewise.
60461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60462         (__pthread_rwlock_rdlock): Likewise.
60463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60464         (__pthread_rwlock_tryrdlock): Likewise.
60465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60466         (__pthread_rwlock_wrlock): Likewise.
60467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60468         (__pthread_rwlock_trywrlock): Likewise.
60469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60470         (__pthread_rwlock_unlock): Likewise.
60471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60472         (__pthread_key_create): Likewise.
60473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60474         (__pthread_setspecific): Likewise.
60475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60476         (__pthread_getspecific): Likewise.
60477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60478         Likewise.
60479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60480         (_pthread_cleanup_push_defer): Likewise.
60481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60482         (_pthread_cleanup_pop_restore): Likewise.
60483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60484         (pthread_setcancelstate): Likewise.
60485         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60486         <bp-sym.h>.
60487         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60488         (memchr): Do not use BP_SYM in weak_alias.
60489         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60490         (fegetenv): Do not use BP_SYM in versioned symbols.
60491         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60492         (fesetenv): Do not use BP_SYM in versioned symbols.
60493         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60494         (feupdateenv): Do not use BP_SYM in versioned symbols.
60495         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60496         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60497         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60498         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60499         (open64): Do not use BP_SYM in weak_alias.
60500         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60501         (fegetenv): Do not use BP_SYM in versioned symbols.
60502         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60503         (fesetenv): Do not use BP_SYM in versioned symbols.
60504         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60505         (feupdateenv): Do not use BP_SYM in versioned symbols.
60506         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60507         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60508         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60509         (feraiseexcept): Do not use BP_SYM in versioned symbols.
60510         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60511         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60512         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60513         <bp-sym.h>.
60514         (__libc_start_main): Do not use BP_SYM.
60516 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60518         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60519         redundant return line.
60520         (norm): Likewise.
60521         (denorm): Likewise.
60522         (dbl_mp): Likewise.
60523         (sub_magnitudes): Likewise.
60524         (__add): Likewise.
60525         (__sub): Likewise.
60526         (__mul): Likewise.
60527         (__inv): Likewise.
60528         (__dvd): Likewise.
60529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60530         (norm): Likewise.
60531         (denorm): Likewise.
60532         (dbl_mp): Likewise.
60533         (sub_magnitudes): Likewise.
60534         (__add): Likewise.
60535         (__sub): Likewise.
60536         (__mul): Likewise.
60537         (__inv): Likewise.
60538         (__dvd): Likewise.
60540         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
60541         instead of __mul.
60542         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60543         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
60544         (cc32): Likewise.
60546         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
60547         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
60548         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
60549         of __mul for squares.
60550         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
60551         function
60552         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
60553         Likewise.
60554         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
60555         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60557 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
60559         [BZ #13550]
60560         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
60561         code.
60562         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
60563         prototype or function definition.  Rename ubp_* variables and
60564         parameters.  Remove argv definitions conditional on
60565         [__BOUNDED_POINTERS__].
60566         * debug/backtrace.c (__backtrace): Do not use __unbounded.
60567         * elf/dl-runtime.c (_dl_fixup): Likewise.
60568         * include/set-hooks.h (RUN_HOOK): Likewise.
60569         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
60570         definition.
60571         * string/strcpy.c (strcpy): Do not use __unbounded.
60572         * sysdeps/generic/frame.h (struct layout): Likewise.
60573         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
60574         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
60575         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
60576         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
60577         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
60578         (__backtrace): Likewise.
60579         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60580         use __ptrvalue.
60581         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60582         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60583         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60584         Likewise.
60585         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60586         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60587         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60588         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60589         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60590         Do not use __unbounded.
60591         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60592         Rename __unboundedrlimits parameter to rlimits in prototype.
60593         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60594         Do not use __unbounded.
60595         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60596         not use __ptrvalue.
60597         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60598         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60599         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60600         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60601         __ptrvalue or __unbounded.
60602         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60603         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60604         use __unbounded.
60605         (__new_msgctl): Do not use __ptrvalue.
60606         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60607         __unbounded.
60608         (__libc_msgrcv): Do not use __ptrvalue.
60609         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60610         startup_info): Do not use __unbounded.
60611         (__libc_start_main): Likewise.  Rename ubp_* variables and
60612         parameters.  Remove argv definitions conditional on
60613         [__BOUNDED_POINTERS__].
60614         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60615         __ptrvalue.
60616         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60617         use __unbounded.
60618         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60619         or __ptrvalue.
60620         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60621         use __unbounded.
60622         (__new_shmctl): Do not use __ptrvalue.
60623         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60624         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60625         Likewise.
60626         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60627         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60628         (__libc_sigaction): Likewise.
60629         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60630         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60631         Likewise.
60632         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60634 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
60636         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60638         * string/mempcpy.c: Implement by calling memcpy.
60640 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60642         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60644         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60645         evaluation.
60647         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60648         values in the mantissa.
60650         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60651         minimize writes to Z.
60652         (sub_magnitudes): Simplify code a bit.
60654 2013-02-12  Roland McGrath  <roland@hack.frob.com>
60656         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60657         from the message.  The linker prefixes all warnings with that already.
60659 2013-02-12  Andreas Schwab  <schwab@suse.de>
60661         [BZ #15078]
60662         * posix/regexec.c (extend_buffers): Add parameter min_len.
60663         (check_matching): Pass minimum needed length.
60664         (clean_state_log_if_needed): Likewise.
60665         (get_subexp): Likewise.
60666         * posix/Makefile (tests): Add bug-regex34.
60667         (bug-regex34-ENV): Define.
60668         * posix/bug-regex34.c: New file.
60670         [BZ #11561]
60671         * posix/regcomp.c (parse_bracket_exp): When looking up collating
60672         elements compare against the byte sequence of it, not its name.
60673         * posix/Makefile (tests): Add bug-regex35.
60674         (bug-regex35-ENV): Define.
60675         * posix/bug-regex35.c: New file.
60677 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60679         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
60680         comment.
60681         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60682         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60683         (CHECK_EOL): Add undef.
60685 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
60687         * bits/stdlib-bsearch.h: New file.
60688         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60689         * stdlib/stdlib.h: Likewise.
60691 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60693         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60694         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60695         declaration.
60696         * manual/search.texi (Array Search Function): Add missing const in
60697         lfind prototype.
60698         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60699         declaration to use rlim_t.
60700         (Basic Scheduling Functions): Remove erroneous const from
60701         sched_getparam prototype.  Remove erroneous * from
60702         sched_get_priority_max and sched_get_priority_min prototypes.
60703         (Resource Usage): Fix summary @comment on vtimes to refer to
60704         sys/vtimes.h rather than vtimes.h.
60705         Add missing *s in vtimes prototype.
60706         (Limits on Resources): Fix ulimit prototype to return long int.
60707         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60708         prototypes to use long int rather than double.
60709         (BSD Random): Fix initstate and setstate to use char *, not void *.
60710         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60711         prototype to make second argument 'struct aiocb64 *const[]'.
60712         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60713         (Status of AIO Operations): Remove erroneous const in aio_return and
60714         aio_return64 prototypes.
60715         (Synchronizing I/O): Fix sync prototype to return void.
60716         * manual/startup.texi (Suboptions): Remove an erroneous const in
60717         getsubopt prototype.
60718         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60719         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60720         use size_t rather than int.
60721         (Scanning All Users): Likewise for getpwent_r.
60722         (Setting Groups): Add missing const to setgroups prototype.
60723         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60724         * manual/socket.texi (Host Names): Fix gethostbyaddr and
60725         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60726         'const void *' rather than 'const char *'.
60727         (Host Address Functions): Likewise for inet_ntop.
60728         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60729         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60730         ssize_t for return value.
60731         (Sending Data): Likewise for send, sendto, sendmsg.
60732         (Socket Option Functions): Add a missing const in setsockopt prototype.
60733         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60734         use wchar_t for the argument.
60735         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60736         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60737         take no arguments.
60738         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60739         double/float/long double for second argument.
60740         Fix return types of significand, significandf, significandl.
60741         * manual/filesys.texi (Setting Permissions): Use mode_t for second
60742         argument in fchmod prototype.
60743         (File Owner): Use uid_t and gid_t in fchown prototype.
60744         (File Times): Add const to utimes, futimes, and lutimes prototypes.
60745         (Making Special Files): Use mode_t and dev_t in mknod prototype.
60746         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60747         use 'const struct dirent **' as argument types to CMP function pointer
60748         argument.
60749         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60750         (File Times): Fix summary magic @comment for struct utimbuf and utime
60751         to refer to utime.h, not time.h.
60752         * manual/string.texi (Argz Functions): Add missing const in
60753         argz_extract and argz_next prototypes.
60754         (Finding Tokens in a String): Likewise for basename.
60755         (String/Array Comparison): Fix typo in wcscasecmp prototype.
60756         (Copying and Concatenation): Fix typo in wmemmove prototype.
60757         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60758         (Signal Stack): Remove erroneous const in sigstack prototype.
60759         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60760         prototype.
60761         (Simple Calendar Time): Likewise for stime.
60762         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60763         prototype.
60764         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60765         say sys/sysctl.h instead.
60766         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60767         and vsyslog prototypes.
60769 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60771         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60772         Remove.
60774 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60776         * misc/sys/mman.h: Fix typo in mremap comment.
60778 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60780         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60781         the '\0' terminator.
60783 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60785         [BZ #13550]
60786         * debug/segfault.c: Don't include <bp-checks.h>.
60787         * sysdeps/generic/bp-checks.h: Remove file.
60788         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60789         (__GETDENTS): Don't use CHECK_N.
60790         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60791         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60792         (__getgroups): Don't use CHECK_N.
60793         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60794         (setgroups): Don't use CHECK_N.
60795         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60796         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60797         (__libc_msgrcv): Don't use CHECK_N.
60798         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60799         (__libc_msgsnd): Don't use CHECK_N.
60800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60801         <bp-checks.h>.
60802         (__libc_pread): Don't use CHECK_N.
60803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60804         include <bp-checks.h>.
60805         (__libc_pread64): Don't use CHECK_N.
60806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60807         include <bp-checks.h>.
60808         (__libc_pwrite): Don't use CHECK_N.
60809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60810         include <bp-checks.h>.
60811         (__libc_pwrite64): Don't use CHECK_N.
60812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60813         <bp-checks.h>.
60814         (__libc_pread): Don't use CHECK_N.
60815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60816         include <bp-checks.h>.
60817         (__libc_pread64): Don't use CHECK_N.
60818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60819         include <bp-checks.h>.
60820         (__libc_pwrite): Don't use CHECK_N.
60821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60822         include <bp-checks.h>.
60823         (__libc_pwrite64): Don't use CHECK_N.
60824         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60825         (do_pread): Don't use CHECK_N.
60826         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60827         (do_pread64): Don't use CHECK_N.
60828         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60829         (do_pwrite): Don't use CHECK_N.
60830         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60831         (do_pwrite64): Don't use CHECK_N.
60832         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60833         (__libc_readv): Don't use CHECK_N.
60834         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60835         (semop): Don't use CHECK_N.
60836         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60837         <bp-checks.h>.
60838         (semtimedop): Don't use CHECK_N.
60839         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60840         (__libc_pread): Don't use CHECK_N.
60841         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60842         <bp-checks.h>.
60843         (__libc_pread64): Don't use CHECK_N.
60844         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60845         <bp-checks.h>.
60846         (__libc_pwrite): Don't use CHECK_N.
60847         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60848         <bp-checks.h>.
60849         (__libc_pwrite64): Don't use CHECK_N.
60850         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60851         <bp-checks.h>.
60852         (__libc_msgrcv): Don't use CHECK_N.
60853         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60854         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
60855         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60856         (__libc_writev): Don't use CHECK_N.
60858 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60860         * string/strcpy.c: Removed unused variable.
60862         * Makeconfig (+sysdep-includes): Define with := rather than =.
60863         Use an existing include/ subdir of each sysdeps dir before it.
60865 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60867         * nscd/connection.c (register_traced_file): Comment function.
60868         [HAVE_INOTIFY] (union __inev): Define.
60869         [HAVE_INOTIFY] (inotify_check_files): New function.
60870         [HAVE_INOTIFY] (clear_db_cache): Likewise.
60871         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60872         clear_db_cache.
60873         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60875 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60877         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60878         loaded if not already and that a failure is permanent.
60880 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60882         [BZ #15006]
60883         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60884         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60886 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60888         [BZ #13550]
60889         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60890         (CHECK_1_NULL_OK): Likewise.
60891         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60892         (__fxstat): Do not use CHECK_1.
60893         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60894         <bp-checks.h>.
60895         (___fxstat64): Do not use CHECK_1.
60896         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60897         <bp-checks.h>.
60898         (__fxstatat): Do not use CHECK_1.
60899         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60900         <bp-checks.h>.
60901         (__fxstatat64): Do not use CHECK_1.
60902         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60903         <bp-checks.h>.
60904         (__fxstat): Do not use CHECK_1.
60905         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60906         <bp-checks.h>.
60907         (__fxstatat): Do not use CHECK_1.
60908         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60909         <bp-checks.h>.
60910         (__getresgid): Do not use CHECK_1.
60911         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60912         <bp-checks.h>.
60913         (__getresuid): Do not use CHECK_1.
60914         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60915         <bp-checks.h>.
60916         (__lxstat): Do not use CHECK_1.
60917         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60918         <bp-checks.h>.
60919         (__old_msgctl): Do not use CHECK_1.
60920         (__new_msgctl): Likewise.
60921         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60922         <bp-checks.h>.
60923         (__new_setrlimit): Do not use CHECK_1.
60924         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60925         <bp-checks.h>.
60926         (__old_shmctl): Do not use CHECK_1.
60927         (__new_shmctl): Likewise.
60928         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60929         <bp-checks.h>.
60930         (__xstat): Do not use CHECK_1.
60931         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60932         (__lxstat): Do not use CHECK_1.
60933         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60934         <bp-checks.h>.
60935         (___lxstat64): Do not use CHECK_1.
60936         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60937         (__old_msgctl): Do not use CHECK_1.
60938         (__new_msgctl): Likewise.
60939         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60940         <bp-checks.h>.
60941         (__gettimeofday): Do not use CHECK_1.
60942         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60943         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60944         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60945         <bp-checks.h>.
60946         (__gettimeofday): Do not use CHECK_1.
60947         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60948         (__old_shmctl): Do not use CHECK_1_NULL_OK.
60949         (__new_shmctl): Do not use CHECK_1.
60950         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60951         <bp-checks.h>.
60952         (do_sigtimedwait): Do not use CHECK_1.
60953         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60954         <bp-checks.h>.
60955         (do_sigwaitinfo): Do not use CHECK_1.
60956         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60957         <bp-checks.h>.
60958         (msgctl): Do not use CHECK_1.
60959         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60960         <bp-checks.h>.
60961         (shmctl): Do not use CHECK_1.
60962         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60963         (ustat): Do not use CHECK_1.
60964         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60965         <bp-checks.h>.
60966         (__fxstat): Do not use CHECK_1.
60967         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60968         <bp-checks.h>.
60969         (__fxstatat): Do not use CHECK_1.
60970         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60971         <bp-checks.h>.
60972         (__lxstat): Do not use CHECK_1.
60973         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60974         <bp-checks.h>.
60975         (__xstat): Do not use CHECK_1.
60976         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60977         (__xstat): Do not use CHECK_1.
60978         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60979         (___xstat64): Do not use CHECK_1.
60981         [BZ #13550]
60982         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60983         definitions.
60984         (CHECK_BOUNDS_HIGH): Likewise.
60985         * string/strcpy.c: Do not include <bp-checks.h>.
60986         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60988 2013-02-07  Roland McGrath  <roland@hack.frob.com>
60990         * nscd/nscd-client.h (__nscd_drop_map_ref):
60991         Add __attribute__ ((unused)).
60992         * nis/nss-nisplus.h (niserr2nss): Likewise.
60994         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60995         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60997         * csu/libc-tls.c (init_static_tls, init_slotinfo):
60998         Remove inline keyword.
60999         * include/rounding-mode.h (round_away): Likewise.
61000         * libio/wfileops.c (adjust_wide_data): Likewise.
61001         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
61002         (__m128i_strloadu_tolower): Likewise.
61003         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
61004         (__m128i_strloadu_tolower): Likewise.
61005         * time/mktime.c (ydhms_diff): Likewise.
61006         * locale/elem-hash.h (elem_hash): Likewise.
61007         * locale/setlocale.c (setdata): Likewise.
61008         * posix/regex_internal.h (re_string_char_size_at): Likewise.
61009         (re_string_wchar_at): Likewise.
61010         (bitset_not, bitset_merge, bitset_mask): Likewise.
61011         [!(__GNUC__ > 3)] (inline): Remove macro.
61012         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
61013         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
61014         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
61015         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
61016         * string/memcmp.c (memcmp_bytes): Likewise.
61017         * locale/programs/locarchive.c (compute_hashval): Likewise.
61018         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
61019         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
61020         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
61021         * nss/getent.c (print_rpc, print_protocols): Likewise.
61022         (print_passwd, print_group, print_aliases): Likewise.
61023         * nis/nss-nisplus.h (niserr2nss): Likewise.
61024         * nscd/connections.c (restart_p): Likewise.
61025         Change return type to bool.
61027 2013-02-05  Roland McGrath  <roland@hack.frob.com>
61029         * Makeconfig (all-Depend-files): Add existing
61030         $(sorted-subdirs:=/Depend) files.
61031         (all-subdirs): Remove nss.
61032         * sysdeps/unix/inet/Subdirs: Add it here instead.
61033         * hesiod/Depend: New file.
61035         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61036         instead of calling alloca.
61038         * io/lseek.c (__lseek): Rename to __libc_lseek.
61039         Define __lseek as an alias.
61041         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61043 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
61045         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61046         else clause and remove check for non-standard endianness.
61048 2013-02-04  David S. Miller  <davem@davemloft.net>
61050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61052 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
61054         [BZ #13550]
61055         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61056         (__ubp_memchr): Remove prototype.
61057         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61058         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61059         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61060         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61061         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61062         Remove alias.
61063         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61064         (__ubp_memchr): Likewise.
61065         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61066         (__ubp_memchr): Likewise.
61067         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61068         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61069         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61070         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61071         CHECK_STRING.
61072         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61073         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61074         (__getcwd): Do not use CHECK_STRING.
61075         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61076         <bp-checks.h>.
61077         (__real_chown): Do not use CHECK_STRING.
61078         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61079         <bp-checks.h>.
61080         (fchownat): Do not use CHECK_STRING.
61081         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61082         CHECK_STRING.
61083         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61084         <bp-checks.h>.
61085         (__lchown): Do not use CHECK_STRING.
61086         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61087         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61088         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61089         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61091         include <bp-checks.h>.
61092         (truncate64): Do not use CHECK_STRING.
61093         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61094         <bp-checks.h>.
61095         (__real_chown): Do not use CHECK_STRING.
61096         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61097         <bp-checks.h>.
61098         (__lchown): Do not use CHECK_STRING.
61099         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61100         <bp-checks.h>.
61101         (__chown): Do not use CHECK_STRING.
61102         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61103         <bp-checks.h>.
61104         (truncate64): Do not use CHECK_STRING.
61105         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61106         Likewise.
61107         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61108         (__xmknod): Do not use CHECK_STRING.
61109         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61110         <bp-checks.h>.
61111         (__xmknodat): Do not use CHECK_STRING.
61112         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61113         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61115 2013-02-04  Andreas Schwab  <schwab@suse.de>
61117         [BZ #14142]
61118         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61119         * include/netdb.h: Likewise for h_errno.
61120         * elf/tst-stackguard1.c: Include <tls.h>.
61122 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
61124         * elf/link.h (struct link_map): Extend the l_addr comment.
61125         * include/link.h (struct link_map): Likewise.
61127 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
61129         [BZ #13550]
61130         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61131         (BOUNDED_1): Remove macro.
61132         * debug/backtrace.c: Don't include <bp-checks.h>.
61133         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61134         (__backtrace): Likewise.
61135         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61136         <bp-checks.h>.
61137         (__backtrace): Don't use BOUNDED_1.
61138         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61139         <bp-checks.h>.
61140         (__backtrace): Don't use BOUNDED_1.
61141         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61142         (__backtrace): Don't use BOUNDED_1.
61143         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61144         (shmat): Don't use BOUNDED_N.
61146 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
61148         [BZ #13550]
61149         * sysdeps/generic/bp-start.h: Remove file.
61150         * csu/libc-start.c: Don't include <bp-start.h>.
61151         (LIBC_START_MAIN): Set up __environ directly instead of using
61152         INIT_ARGV_and_ENVIRON.
61153         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61154         <bp-start.h>.
61156         [BZ #13550]
61157         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61158         definitions.
61159         (CHECK_FCNTL): Likewise.
61160         (CHECK_N_PAGES): Likewise.
61162         [BZ #13550]
61163         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61164         definitions.
61165         (CHECK_SIGSET_NULL_OK): Likewise.
61166         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61167         <bp-checks.h>.
61168         (sigpending): Don't use CHECK_SIGSET.
61169         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61170         <bp-checks.h>.
61171         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61172         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61173         <bp-checks.h>.
61174         (do_sigsuspend): Don't use CHECK_SIGSET.
61175         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61176         use CHECK_SIGSET.
61177         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61178         (do_sigwait): Don't use CHECK_SIGSET.
61179         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61180         use CHECK_SIGSET.
61181         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61182         include <bp-checks.h>.
61183         (sigpending): Don't use CHECK_SIGSET.
61184         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61185         include <bp-checks.h>.
61186         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61187         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61188         <bp-checks.h>.
61189         (sigpending): Don't use CHECK_SIGSET.
61190         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61191         <bp-checks.h>.
61192         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61194         [BZ #13550]
61195         * sysdeps/generic/bp-semctl.h: Remove file.
61196         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61197         <bp-checks.h> and <bp-semctl.h>.
61198         (__old_semctl): Don't use CHECK_SEMCTL.
61199         (__new_semctl): Likewise.
61200         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61201         and <bp-semctl.h>.
61202         (__old_semctl): Don't use CHECK_SEMCTL.
61203         (__new_semctl): Likewise.
61204         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61205         <bp-checks.h> and <bp-semctl.h>.
61206         (__old_semctl): Don't use CHECK_SEMCTL.
61207         (__new_semctl): Likewise.
61208         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61209         <bp-checks.h> and <bp-semctl.h>.
61210         (semctl): Don't use CHECK_SEMCTL.
61212         [BZ #13550]
61213         * Makerules (elide-bp-thunks): Remove variable.
61214         (elide-routines.oS): Don't use $(elide-bp-thunks).
61215         (elide-routines.os): Likewise.
61216         (elide-routines.o): Likewise.
61217         (elide-routines.op): Likewise.
61218         (elide-routines.og): Likewise.
61219         (objects): Don't use $(bp-thunks).
61220         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61221         include.
61222         (common-generated): Do not add s-proto-bp.d.
61223         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61224         (int): Likewise.
61225         (typ): Likewise.
61226         Do not generate makefile rules for bounded-pointer thunks.
61227         * sysdeps/generic/bp-thunks.h: Remove file.
61228         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61229         * sysdeps/unix/s-proto-bp.S: Likewise.
61231         [BZ #15062]
61232         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61233         parts of result separately when argument is not close to line from
61234         -i to i and one part of argument is small.
61235         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61236         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61237         * math/libm-test.inc (cacos_test): Add more tests.
61238         (casin_test): Likewise.
61239         (casinh_test): Likewise.
61240         * sysdeps/i386/fpu/libm-test-ulps: Update.
61241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61243 2013-01-31  David S. Miller  <davem@davemloft.net>
61245         * po/de.po: Update from translation team.
61247 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
61249         * time/tzfile.c: Include stdint.h for SIZE_MAX.
61251 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
61253         * configure.in (_AC_PROG_CC_C89): New definition.
61254         * configure: Regenerate.
61256         * configure.in (AC_PROG_CPP): New definition.
61257         * configure: Regenerate.
61259 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61261         * debug/tst-backtrace.h: New file.
61262         * debug/tst-backtrace2.c: Include tst-backtrace.h.
61263         (ret): Remove variable.
61264         (x): Likewise.
61265         (FAIL): Remove macro.
61266         (NO_INLINE): Likewise.
61267         (fn1): Use match function instead of strstr.
61268         * debug/tst-backtrace3.c: Include tst-backtrace.h.
61269         (ret): Remove variable.
61270         (x): Likewise.
61271         (FAIL): Remove macro.
61272         (NO_INLINE): Likewise.
61273         (fn): Use match function instead of strstr.
61274         * debug/tst-backtrace4.c: Include tst-backtrace.h.
61275         (ret): Remove variable.
61276         (x): Likewise.
61277         (FAIL): Remove macro.
61278         (NO_INLINE): Likewise.
61279         (handle_signal): Use match function instead of strstr.
61280         * debug/tst-backtrace5.c: Include tst-backtrace.h.
61281         (ret): Remove variable.
61282         (x): Likewise.
61283         (FAIL): Remove macro.
61284         (NO_INLINE): Likewise.
61285         (handle_signal): Use match function instead of strstr.
61287 2013-01-23  Roland McGrath  <roland@hack.frob.com>
61289         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61291 2013-01-23  David S. Miller  <davem@davemloft.net>
61293         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61294         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61295         argument of CAS if possible.
61296         * sysdeps/sparc/sparc64/bits/atomic.h
61297         (__arch_compare_and_exchange_val_32_acq): Likewise.
61298         (__arch_compare_and_exchange_val_64_acq): Likewise.
61300 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
61302         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61303         * sysdeps/posix/ulimit.c: ... this.
61304         Include <limits.h>.
61305         * sysdeps/unix/bsd/ulimit.c: Remove file.
61307 2013-01-23  Adam Conrad  <adconrad@0c3.net>
61309         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61310         (LDFLAGS-tst-array5): Likewise.
61312 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61314         [BZ #15036]
61315         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61316         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61317         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61318         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61320 2013-01-21  David S. Miller  <davem@davemloft.net>
61322         * sysdeps/sparc/backtrace.c: New file.
61323         * sysdeps/sparc/sparc32/backtrace.h: New file.
61324         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61325         * sysdeps/sparc/sparc64/backtrace.h: New file.
61326         * sysdeps/sparc/sparc64/backtrace.c: Delete.
61327         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61328         -funwind-tables.
61330 2013-01-21  Andreas Schwab  <schwab@suse.de>
61332         [BZ #15020]
61333         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61334         closed its stdout.
61336 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
61338         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61339         "mpa2.h".
61340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61342 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
61343             Mark Mitchell  <mark@codesourcery.com>
61344             Tom de Vries  <tom@codesourcery.com>
61345             Paul Pluzhnikov  <ppluzhnikov@google.com>
61347         * debug/tst-backtrace2.c: New file.
61348         * debug/tst-backtrace3.c: Likewise.
61349         * debug/tst-backtrace4.c: Likewise.
61350         * debug/tst-backtrace5.c: Likewise.
61351         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61352         (CFLAGS-tst-backtrace3.c): Likewise.
61353         (CFLAGS-tst-backtrace4.c): Likewise.
61354         (CFLAGS-tst-backtrace5.c): Likewise.
61355         (LDFLAGS-tst-backtrace2): Likewise.
61356         (LDFLAGS-tst-backtrace3): Likewise.
61357         (LDFLAGS-tst-backtrace4): Likewise.
61358         (LDFLAGS-tst-backtrace5): Likewise.
61359         (tests): Add new tests tst-backtrace2, tst-backtrace3,
61360         tst-backtrace4 and tst-backtrace5.
61362 2013-01-18  Anton Blanchard  <anton@samba.org>
61363             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61365         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61366         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61367         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61368         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61370         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61371         "+r" and remove output regs list as redundant.  Add explicit inline
61372         asm to specify register of return val to work around compiler codegen
61373         bug.  Remove (int) cast on return value.  Add return type parameter to
61374         use in macro so that this macro does not truncate return value for
61375         64-bit values.
61376         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61377         pass to INTERNAL_VSYSCALL_NCS.
61378         (INLINE_VSYSCALL): Add 'long int' as return type to
61379         INTERNAL_VSYSCALL_NCS macro invocation.
61380         (INTERNAL_VSYSCALL): Add 'long int' as return type to
61381         INTERNAL_VSYSCALL_NCS macro invocation.
61382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61384 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61386         [BZ #14496]
61387         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61388         Fix application of SIMD FP exception mask.
61390         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61391         mp_no from a power of two.
61392         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61393         __mpexp_twomm1.  Use __pow_mp.
61395         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61396         multiplication.
61398 2013-01-17  David S. Miller  <davem@davemloft.net>
61400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61402 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61404         [BZ #15023]
61405         * include/complex.h: Condition contents on [!_COMPLEX_H].
61406         (__kernel_casinhf): New prototype.
61407         (__kernel_casinh): Likewise.
61408         (__kernel_casinhl): Likewise.
61409         * math/Makefile (libm_calls): Add k_casinh.
61410         * math/k_casinh.c: New file.
61411         * math/k_casinhf.c: Likewise.
61412         * math/k_casinhl.c: Likewise.
61413         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61414         finite nonzero arguments.
61415         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61416         finite nonzero arguments.
61417         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61418         finite nonzero arguments.
61419         * math/s_casinh.c: Do not include <float.h>.
61420         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61421         * math/s_casinhf.c: Do not include <float.h>.
61422         (__casinhf): Move code for finite nonzero arguments to
61423         k_casinhf.c.
61424         * math/s_casinhl.c: Do not include <float.h>.
61425         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61426         redefine.
61427         (__casinhl): Move code for finite nonzero arguments to
61428         k_casinhl.c.
61429         * math/libm-test.inc (cacos_test): Add more tests.
61430         * sysdeps/i386/fpu/libm-test-ulps: Update.
61431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61433 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
61435         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61436         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61437         [!HAVE_MREMAP]: Remove [defined linux] case.
61438         * malloc/arena.c: Do not include <malloc-sysdep.h>.
61440 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61442         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61444 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
61446         * elf/elf.h (R_386_SIZE32): New relocation.
61447         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61448         R_386_SIZE32.
61449         (elf_machine_rela): Likewise.
61450         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61451         R_X86_64_SIZE64 and R_X86_64_SIZE32.
61453 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61455         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61456         (FP_FAST_FMA): Do not define.
61457         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61458         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61459         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61460         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61461         !_SOFT_FLOAT]: Likewise.
61462         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61463         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61464         value.
61465         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61466         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61467         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61468         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61469         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61470         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61471         file.
61473 2013-01-16  Andreas Schwab  <schwab@suse.de>
61475         [BZ #14327]
61476         * include/stdlib.h (__mktemp): Add declaration.
61477         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61478         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61480 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61482         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61483         definitions.
61484         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61485         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61486         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61487         definitions here.
61488         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61489         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61490         definitions.
61491         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61492         and ONE.
61493         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61494         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61495         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61496         definitions.
61497         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61498         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61499         definitions.
61500         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61502         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61504 2013-01-15  David S. Miller  <davem@davemloft.net>
61506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61507         trunc{,f} to libm-sysdep_routes.
61508         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61510         file.
61511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61513         file.
61514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61515         file.
61516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61518         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61519         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61520         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61521         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61522         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61523         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61526         nearbyint{,f} to libm-sysdep_routes.
61527         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61529         New file.
61530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61531         file.
61532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61533         New file.
61534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61535         file.
61536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61538         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61539         file.
61540         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
61541         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
61542         file.
61543         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
61544         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
61545         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
61547         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61548         libc_feholdexcept and libc_fesetenv.
61550 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
61552         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
61554 2013-01-14  David S. Miller  <davem@davemloft.net>
61556         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
61557         (SPARC_ASM_VIS2_IFUNC): Likewise.
61558         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
61559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61560         use of 'siam' instruction.
61561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
61562         Likewise.
61563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61564         Likewise.
61565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
61566         Likewise.
61567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
61568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
61569         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
61570         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
61571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
61572         file.
61573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
61574         file.
61575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
61576         file.
61577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
61578         file.
61579         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61580         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61581         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61582         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61584         new VIS2 routines.
61585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61588         Likewise.
61589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61590         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61594         routines to libm-sysdep_routines.
61595         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61598         fdim/fdimf to libm-sysdep_routines.
61599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61600         file.
61601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61603         file.
61604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61607         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61608         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61609         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61610         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61612 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61614         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61615         to optimize copies.
61617         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61618         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61619         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61621         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61622         local variable MPTWO.
61623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61624         Likewise.
61626 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61628         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61629         GLOB_NOESCAPE.
61631 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61633         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61635 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61637         * manual/pattern.texi (glob_t): Document gl_flags.
61638         (glob64_t): Likewise.
61640 2013-01-11  David S. Miller  <davem@davemloft.net>
61642         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61643         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61644         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
61645         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61646         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61647         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61648         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61649         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61650         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61651         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61652         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61653         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61654         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61656         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61657         sparc V9 rather than using V8 code.
61658         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61659         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61661         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61662         Move to...
61663         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61664         Here.
61666 2013-01-11  Roland McGrath  <roland@hack.frob.com>
61668         [BZ #14941]
61669         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61670         not in the main loop.
61671         * configure: Regenerated.
61673 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
61675         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61676         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61677         to just #else.
61678         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
61679         [!__GLIBC_HAVE_LONG_LONG] case.
61680         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61681         condition to just #else.
61682         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61683         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61684         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61685         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61686         unconditional.
61687         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61688         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61689         #elif condition to just #else.
61690         * sysdeps/unix/sysv/linux/sys/sysmacros.h
61691         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61692         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61693         #elif condition to just #else.
61695 2013-01-11  Steve Ellcey  <sellcey@mips.com>
61697         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61698         (EF_MIPS_ARCH_64): Fix value.
61699         (EF_MIPS_ARCH_32R2): New.
61700         (EF_MIPS_ARCH_64R2): New.
61702 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
61704         * Makeconfig (+link-pie-before-libc): New.
61705         (+link-pie-after-libc): Likewise.
61706         (+link-pie-tests): Likewise.
61707         (+link-pie): Rewritten.
61708         (link-before-libc): Remove $(config-LDFLAGS).
61709         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61710         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61711         (config-LDFLAGS): Renamed to ...
61712         (rtld-LDFLAGS): This.
61713         (rtld-tests-LDFLAGS): New macro.
61714         (link-libc-rpath-link): Likewise.
61715         (link-libc-tests-rpath-link): Likewise.
61716         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61717         (link-libc): Prepand $(link-libc-rpath-link).
61718         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61719         (test-program-prefix): New macro.
61720         (test-via-rtld-prefix): Likewise.
61721         (test-program-cmd): Likewise.
61722         (host-test-program-cmd): Likewise.
61723         * Makefile ($(common-objpfx)testrun.sh): Replace
61724         $(run-program-prefix) with $(test-program-prefix).
61725         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61726         $(rtld-LDFLAGS).
61727         ($(common-objpfx)shlib.lds): Likewise.
61728         (build-module-helper): Likewise.
61729         ($(common-objpfx)format.lds): Likewise.
61730         * Rules (binaries-pie-tests): New.
61731         (binaries-pie-notests): Likewise.
61732         (binaries-pie): Rewritten.
61733         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61734         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61735         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61736         (make-test-out): Replace $(host-built-program-cmd) with
61737         $(host-test-program-cmd).
61738         * config.make.in (build-hardcoded-path-in-tests): New variable.
61739         * configure.in (--enable-hardcoded-path-in-tests): New configure
61740         option.
61741         (hardcoded_path_in_tests): New AC_SUBST.
61742         * configure: Regenerated.
61743         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61744         $(built-program-cmd) with $(test-program-cmd).
61745         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61746         (test_program_cmd): This.
61747         * elf/Makefile ($(objpfx)order.out): Run test with
61748         $(test-program-prefix).
61749         ($(objpfx)order2.out): Likewise.
61750         ($(objpfx)tst-initorder.out): Likewise.
61751         ($(objpfx)tst-initorder2.out): Likewise.
61752         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61753         $(test-program-cmd).
61754         ($(objpfx)tst-array1-static.out): Likewise.
61755         ($(objpfx)tst-array2.out): Likewise.
61756         ($(objpfx)tst-array3.out): Likewise.
61757         ($(objpfx)tst-array4.out): Likewise.
61758         ($(objpfx)tst-array5.out): Likewise.
61759         ($(objpfx)tst-array5-static.out): Likewise.
61760         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61761         $(test-program-cmd).
61762         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61763         $(run-program-prefix) with $(test-program-prefix).
61764         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61765         (test_program_prefix): This.
61766         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61767         $(run-program-prefix) with $(test-program-prefix).
61768         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61769         (test_program_prefix): This.
61770         * iconvdata/tst-tables.sh: Likewise.
61771         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61772         $(run-program-prefix) with $(test-program-prefix).
61773         ($(objpfx)tst-translit.out): Likewise.
61774         ($(objpfx)tst-gettext2.out): Likewise.
61775         ($(objpfx)tst-gettext4.out): Likewise.
61776         ($(objpfx)tst-gettext6.out): Likewise.
61777         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61778         (test_program_prefix): This.
61779         * intl/tst-gettext2.sh: Likewise.
61780         * intl/tst-gettext4.sh  Likewise.
61781         * intl/tst-gettext6.sh: Likewise.
61782         * intl/tst-translit.sh: Likewise.
61783         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61784         with $(test-program-cmd).
61785         * libio/Makefile ($(objpfx)test-freopen.out): Replace
61786         $(run-program-prefix) with $(test-program-prefix).
61787         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61788         (test_program_prefix): This.
61789         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61790         $(run-program-prefix) with $(test-program-prefix).
61791         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61792         (test_program_prefix): This.
61793         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61794         * posix/Makefile ($(objpfx)globtest.out): Replace
61795         $(run-via-rtld-prefix) and $(test-wrapper) with
61796         $(test-program-prefix) and $(test-via-rtld-prefix).
61797         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61798         $(test-program-prefix).
61799         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61800         $(host-test-program-cmd).
61801         (tst-spawn-ARGS): Likewise.
61802         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61803         $(test-program-prefix).
61804         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61805         (test_via_rtld_prefix): This.
61806         (test_wrapper): Renamed to ...
61807         (test_program_prefix): This.
61808         (run_program_prefix): Replaced by test_program_prefix.
61809         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61810         (test_program_prefix): This.
61811         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61812         with $(host-test-program-cmd).
61813         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61814         $(run-program-prefix) with $(test-program-prefix).
61815         ($(objpfx)tst-printf.out): Likewise.
61816         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61817         $(test-program-cmd).
61818         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61819         (test_program_prefix): This.
61820         * stdio-common/tst-unbputc.sh: Likewise.
61821         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61822         $(run-program-prefix) with $(test-program-prefix).
61823         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61824         (test_program_prefix): This.
61825         * string/Makefile ($(objpfx)tst-svc.out):  Replace
61826         $(built-program-cmd) with $(test-program-cmd).
61828 2013-01-11  Andreas Jaeger  <aj@suse.de>
61830         [BZ #15003]
61831         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61832         value. Sync with Linux 3.7.
61834 2013-01-10  David S. Miller  <davem@davemloft.net>
61836         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61837         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61838         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61840 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61842         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61843         never set.
61844         * configure: Regenerated.
61846 2013-01-10  David S. Miller  <davem@davemloft.net>
61848         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61849         sparc V9 rather than using V8 code.
61850         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61851         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61853 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61855         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61856         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61857         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61858         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61859         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61860         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61861         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61862         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61863         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61864         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61865         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61866         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61867         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61868         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61869         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61870         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61871         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61872         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61873         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61874         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61875         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61876         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61877         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61878         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61879         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61880         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61881         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61883 2013-01-10  David S. Miller  <davem@davemloft.net>
61885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61887 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61889         * posix/Makefile (tests-static): New variable.
61890         (tests): Add $(tests-static).
61891         (tst-exec-static-ARGS): New variable.
61892         (tst-spawn-static-ARGS): Likewise.
61893         * posix/tst-exec-static.c: New file.
61894         * posix/tst-spawn-static.c: Likewise.
61895         * posix/tst-exec.c: Support run directly.
61896         * posix/tst-spawn.c: Likewise.
61898 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
61900         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61901         long.
61902         * math/bits/mathcalls.h (llrint): Likewise.
61903         (llround): Likewise.
61904         * stdlib/stdlib.h (struct drand48_data): Likewise.
61905         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61906         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61907         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61908         Likewise.
61909         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61910         Likewise.
61911         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61912         (elf_greg_t): Likewise.
61913         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61914         (__jmp_buf): Likewise.
61915         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61916         definitions.
61917         (llrint): Likewise, for all definitions.
61918         (llrintl): Likewise.
61920         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61921         Remove [__GNUC__] condition.
61922         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61923         condition to just [__USE_ISOC99].
61924         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61926 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61928         [BZ #14200]
61929         * sysdeps/unix/sysv/linux/x86/bits/environments.h
61930         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61931         defined.
61932         (_POSIX_V6_ILP32_OFF32): Likewise.
61933         (_XBS5_ILP32_OFF32): Likewise.
61934         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61935         (__ILP32_OFFBIG_LDFLAGS): Likewise.
61937 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61939         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61942         doubles __mpexp_twomm1.  Adjust usage.
61943         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61944         Remove.
61946 2013-01-10  Andreas Schwab  <schwab@suse.de>
61948         [BZ #14964]
61949         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61950         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61952 2013-01-09  David S. Miller  <davem@davemloft.net>
61954         [BZ #15003]
61955         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61956         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61957         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61958         (TCP_FASTOPEN): Define.
61959         (tcp_repair_opt): New structure.
61960         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61961         enum values.
61962         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61963         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61964         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61965         (tcp_cookie_transactions): New structure.
61967 2013-01-09  Anton Blanchard  <anton@samba.org>
61969         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61970         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61971         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61972         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61974 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
61976         * include/features.h (__USE_ANSI): Remove.
61978 2013-01-09  Roland McGrath  <roland@hack.frob.com>
61980         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61982         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61984 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
61986         * sysdeps/s390/fpu/libm-test-ulps: Update.
61988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61990         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61991         (__acr): Likewise.
61992         (__cpy): Likewise.
61993         (norm): Likewise.
61994         (denorm): Likewise.
61995         (__mp_dbl): Likewise.
61996         (__dbl_mp): Likewise.
61997         (add_magnitudes): Likewise.
61998         (sub_magnitudes): Likewise.
61999         (__add): Likewise.
62000         (__sub): Likewise.
62001         (__mul): Likewise.
62002         (__inv): Likewise.
62003         (__dvd): Likewise.
62004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
62005         (__acr): Likewise.
62006         (__cpy): Likewise.
62007         (norm): Likewise.
62008         (denorm): Likewise.
62009         (__mp_dbl): Likewise.
62010         (__dbl_mp): Likewise.
62011         (add_magnitudes): Likewise.
62012         (sub_magnitudes): Likewise.
62013         (__add): Likewise.
62014         (__sub): Likewise.
62015         (__mul): Likewise.
62016         (__inv): Likewise.
62017         (__dvd): Likewise.
62018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
62019         (__acr): Likewise.
62020         (__cpy): Likewise.
62021         (norm): Likewise.
62022         (denorm): Likewise.
62023         (__mp_dbl): Likewise.
62024         (__dbl_mp): Likewise.
62025         (add_magnitudes): Likewise.
62026         (sub_magnitudes): Likewise.
62027         (__add): Likewise.
62028         (__sub): Likewise.
62029         (__mul): Likewise.
62030         (__inv): Likewise.
62031         (__dvd): Likewise.
62033 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
62035         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62036         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62037         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62038         2 && __USE_EXTERN_INLINES]: Likewise.
62040 2013-01-08  Andreas Jaeger  <aj@suse.de>
62042         [BZ# 14985]
62043         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62044         Remove.
62045         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62046         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62048 2013-01-07  Anton Blanchard  <anton@samba.org>
62050         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62051         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62052         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62053         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62054         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62055         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62056         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62057         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62058         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62059         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62060         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62061         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62062         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62063         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62064         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62065         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62066         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62067         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62068         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62069         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62070         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62071         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62072         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62073         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62074         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62075         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62076         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62077         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62078         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62079         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62080         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62082         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62083         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62084         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62085         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62086         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62087         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62088         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62089         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62090         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62091         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62092         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62094 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
62096         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62097         (__MALLOC_PMT): Likewise.
62098         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62099         [__GNUC__], only on [_LIBC].
62100         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62101         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62102         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62103         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62104         forward declaration.
62105         (realloc_hook_ini): Likewise.
62106         (memalign_hook_ini): Likewise.
62107         (__libc_memalign): Do not use __MALLOC_PMT in variable
62108         declaration.
62109         (__libc_valloc): Likewise.
62110         (__libc_pvalloc): Likewise.
62111         (__libc_calloc): Likewise.
62112         (__posix_memalign): Likewise.
62114         [BZ #14996]
62115         * math/s_casinh.c: Include <float.h>.
62116         (__casinh): Do not do computation with squaring and square root
62117         for large arguments.
62118         * math/s_casinhf.c: Include <float.h>.
62119         (__casinhf): Do not do computation with squaring and square root
62120         for large arguments.
62121         * math/s_casinhl.c: Include <float.h>.
62122         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62123         (__casinhl): Do not do computation with squaring and square root
62124         for large arguments.
62125         * math/libm-test.inc (casin_test): Add more tests.
62126         (casinh_test): Likewise.
62127         * sysdeps/i386/fpu/libm-test-ulps: Update.
62128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62130 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
62132         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62133         (__x86_64_raw_data_cache_size): Likewise.
62134         (__x86_64_data_cache_size_half): Likewise.
62135         (__x86_64_raw_data_cache_size_half): Likewise.
62136         (__x86_64_shared_cache_size): Likewise.
62137         (__x86_64_raw_shared_cache_size): Likewise.
62138         (__x86_64_shared_cache_size_half): Likewise.
62139         (__x86_64_raw_shared_cache_size_half): Likewise.
62140         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62141         to ...
62142         (__x86_data_cache_size): This.
62143         (__x86_64_raw_data_cache_size): Renamed to ...
62144         (__x86_raw_data_cache_size): This.
62145         (__x86_64_data_cache_size_half): Renamed to ...
62146         (__x86_data_cache_size_half): This.
62147         (__x86_64_raw_data_cache_size_half): Renamed to ...
62148         (__x86_raw_data_cache_size_half): This.
62149         (__x86_64_shared_cache_size): Renamed to ...
62150         (__x86_shared_cache_size): This.
62151         (__x86_64_raw_shared_cache_size): Renamed to ...
62152         (__x86_raw_shared_cache_size): This.
62153         (__x86_64_shared_cache_size_half): Renamed to ...
62154         (__x86_shared_cache_size_half): This.
62155         (__x86_64_raw_shared_cache_size_half): Renamed to ...
62156         (__x86_raw_shared_cache_size_half): This.
62157         * sysdeps/x86_64/memcpy.S: Updated.
62158         * sysdeps/x86_64/memset.S: Likewise.
62159         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62160         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62161         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62163 2013-01-04  David S. Miller  <davem@davemloft.net>
62165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62167 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
62169         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62170         1 to avoid redefinition warning.
62171         (__USE_GNU): Don't define.
62172         (init_signaling_nan): Protoize.
62174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62176 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62178         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62180         (__cpymn): Likewise.
62181         (norm): Remove commented code.
62182         (denorm): Likewise.
62183         (__mp_dbl): Likewise.
62184         (__inv): Likewise.
62185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62186         (__cpymn): Likewise.
62187         (norm): Remove commented code.
62188         (denorm): Likewise.
62189         (__mp_dbl): Likewise.
62190         (__inv): Likewise.
62192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62193         mp_no value for 1.0 and 2.0.
62194         (norm): Use RADIXI instead of radixi.d.
62195         (denorm): Likewise.
62196         (__mul): Use 0.0 instead of zero.d.
62197         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62198         mp_no value for 1.0 and 2.0.
62199         (norm): Use RADIXI instead of radixi.d.
62200         (denorm): Likewise.
62201         (__mul): Use 0.0 instead of zero.d.
62203 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
62205         [BZ #14994]
62206         * math/s_casinh.c (__casinh): Reduce finite argument to first
62207         quadrant then set signs of results at the end.
62208         * math/s_casinhf.c (__casinhf): Likewise.
62209         * math/s_casinhl.c (__casinhl): Likewise.
62210         * math/libm-test.inc (casin_test): Add more tests.
62211         (casinh_test): Likewise.
62212         * sysdeps/i386/fpu/libm-test-ulps: Update.
62213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62215 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62217         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62219         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62221         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62222         declarations.
62223         (denorm): Likewise.
62224         (__mp_dbl): Likewise.
62225         (__inv): Likewise.
62227         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62228         and adjust the header comment.
62230         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62231         variable name from declaration.
62233 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
62235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62236         Initialize COMMON_CPUID_INDEX_7 element.
62237         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62238         (CPUID_RTM): Likewise.
62239         (HAS_RTM): Likewise.
62240         (COMMON_CPUID_INDEX_7): New enum.
62242 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
62244         [BZ #14981]
62245         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62246         size is zero, record memory as freed.
62248 2013-01-03  Andreas Jaeger  <aj@suse.de>
62250         * po/ia.po: Add new Interlingua translation.
62252 2012-01-03  Allan McRae  <allan@archlinux.org>
62254         * locale/programs/localedef.c: Fix description of '--posix' flag.
62256 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
62258         * NEWS: Update dates in second copyright notice.
62259         * README: Update copyright dates in example.
62260         * manual/libc.texinfo: Update copyright dates.
62261         * scripts/test-installation.pl: Update copyright date in --version
62262         output.
62264         * hurd/ctty-input.c: Fix copyright notice formatting.
62265         * hurd/ctty-output.c: Likewise.
62266         * hurd/dtable.c: Likewise.
62267         * hurd/hurd-raise.c: Likewise.
62268         * hurd/hurdprio.c: Likewise.
62269         * hurd/msgportdemux.c: Likewise.
62270         * misc/sys/file.h: Likewise.
62271         * misc/sys/ioctl.h: Likewise.
62272         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62273         * sysdeps/mach/hurd/chdir.c: Likewise.
62274         * sysdeps/mach/hurd/fchdir.c: Likewise.
62275         * sysdeps/mach/hurd/rename.c: Likewise.
62276         * sysdeps/mach/hurd/rmdir.c: Likewise.
62277         * sysdeps/mach/hurd/seekdir.c: Likewise.
62278         * sysdeps/mach/hurd/setsid.c: Likewise.
62279         * sysdeps/posix/wait3.c: Likewise.
62281         * All files with FSF copyright notices: Update copyright dates
62282         using scripts/update-copyrights.
62283         * intl/plural.c: Regenerated.
62284         * locale/programs/charmap-kw.h: Likewise.
62285         * locale/programs/locfile-kw.h: Likewise.
62287 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62289         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62290         four values.
62292         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62293         calculation loop and add branch prediction.
62295         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62296         check access beyond bounds of m1np.
62298         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62299         MPTWO.
62300         (__inv): Remove local variable MPTWO to use the global
62301         constant.
62302         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62303         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62304         variable MPTWO.
62305         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62306         MP3HALFS static const.
62308 2013-01-01  David S. Miller  <davem@davemloft.net>
62310         * po/ca.po: Update from translation team.
62312 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
62314         * scripts/update-copyrights: New file.
62315         * Makeconfig: Reformat copyright notice.
62316         * ctype/ctype.h: Likewise.
62317         * debug/swprintf_chk.c: Likewise.
62318         * elf/dl-cache.c: Likewise.
62319         * elf/dl-debug.c: Likewise.
62320         * elf/dl-object.c: Likewise.
62321         * grp/initgroups.c: Likewise.
62322         * hurd/Makefile: Likewise.
62323         * hurd/hurd/signal.h: Likewise.
62324         * hurd/hurdfault.c: Likewise.
62325         * hurd/hurdioctl.c: Likewise.
62326         * hurd/hurdlookup.c: Likewise.
62327         * hurd/intr-msg.c: Likewise.
62328         * iconv/gconv_open.c: Likewise.
62329         * libio/swprintf.c: Likewise.
62330         * locale/lc-ctype.c: Likewise.
62331         * locale/nl_langinfo.c: Likewise.
62332         * mach/Machrules: Likewise.
62333         * mach/Makefile: Likewise.
62334         * malloc/obstack.h: Likewise.
62335         * manual/Makefile: Likewise.
62336         * manual/tsort.awk: Likewise.
62337         * misc/bits/stab.def: Likewise.
62338         * nis/nis_print_group_entry.c: Likewise.
62339         * nis/nis_table.c: Likewise.
62340         * nis/nss_compat/compat-pwd.c: Likewise.
62341         * nis/nss_compat/compat-spwd.c: Likewise.
62342         * po/Makefile: Likewise.
62343         * posix/fnmatch.c: Likewise.
62344         * posix/regex.h: Likewise.
62345         * resolv/Makefile: Likewise.
62346         * resolv/nss_dns/dns-network.c: Likewise.
62347         * resolv/res_hconf.c: Likewise.
62348         * scripts/gen-sorted.awk: Likewise.
62349         * soft-fp/soft-fp.h: Likewise.
62350         * stdio-common/printf.h: Likewise.
62351         * stdlib/monetary.h: Likewise.
62352         * stdlib/random.c: Likewise.
62353         * stdlib/random_r.c: Likewise.
62354         * sysdeps/generic/Makefile: Likewise.
62355         * sysdeps/gnu/Makefile: Likewise.
62356         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62357         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62358         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62359         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62360         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62361         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62362         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62363         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62364         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62365         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62366         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62367         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62368         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62369         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62370         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62371         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62372         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62373         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62374         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62375         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62376         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62377         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62378         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62379         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62380         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62381         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62382         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62383         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62384         * sysdeps/mach/hurd/errnos.awk: Likewise.
62385         * sysdeps/mach/hurd/fork.c: Likewise.
62386         * sysdeps/mach/hurd/getcwd.c: Likewise.
62387         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62388         * sysdeps/mach/hurd/mmap.c: Likewise.
62389         * sysdeps/mach/hurd/utimes.c: Likewise.
62390         * sysdeps/mach/hurd/xmknod.c: Likewise.
62391         * sysdeps/posix/profil.c: Likewise.
62392         * sysdeps/posix/readdir_r.c: Likewise.
62393         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62394         * sysdeps/powerpc/bits/setjmp.h: Likewise.
62395         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62396         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62397         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62398         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62399         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62400         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62402         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62403         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62404         * sysdeps/pthread/lio_listio.c: Likewise.
62405         * sysdeps/sparc/dl-procinfo.h: Likewise.
62406         * sysdeps/unix/i386/sysdep.S: Likewise.
62407         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62408         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62409         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62410         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62412         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62413         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62414         * sysdeps/unix/sysv/linux/speed.c: Likewise.
62415         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62416         * sysdeps/wordsize-32/divdi3.c: Likewise.
62417         * time/sys/time.h: Likewise.
62418         * wcsmbs/Makefile: Likewise.
62420 2013-01-01  David S. Miller  <davem@davemloft.net>
62422         * po/fr.po: Update from translation team.
62424         * catgets/gencat.c: Update copyright year.
62425         * csu/version.c: Likewise.
62426         * debug/catchsegv.sh: Likewise.
62427         * debug/pcprofiledump.c: Likewise.
62428         * debug/xtrace.sh: Likewise.
62429         * elf/ldconfig.c: Likewise.
62430         * elf/ldd.bash.in: Likewise.
62431         * elf/pldd.c: Likewise.
62432         * elf/sotruss.ksh: Likewise.
62433         * elf/sprof.c: Likewise.
62434         * iconv/iconv_prog.c: Likewise.
62435         * iconv/iconvconfig.c: Likewise.
62436         * locale/programs/locale.c: Likewise.
62437         * locale/programs/localedef.c: Likewise.
62438         * login/programs/pt_chown.c: Likewise.
62439         * malloc/memusage.sh: Likewise.
62440         * malloc/memusagestat.c: Likewise.
62441         * malloc/mtrace.pl: Likewise.
62442         * nscd/nscd.c: Likewise.
62443         * nss/getent.c: Likewise.
62444         * nss/makedb.c: Likewise.
62445         * posix/getconf.c: Likewise.
62447 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62449         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62450         numbers.
62452 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
62454         * math/bits/mathcalls.h (modf): Use __nonnull.
62456 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62458         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62459         (split): Use macro CN instead of the bare value.
62460         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62461         could be used.
62462         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62463         instead of the bare value.
62464         (power1): Likewise.
62466 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62468         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62469         __ATAN_TWOM.
62470         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62472         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62473         their values.
62474         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62475         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62476         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62477         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62479 2012-12-28  Andreas Jaeger  <aj@suse.de>
62481         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
62482         values are from Linux 3.7.
62484         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62485         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
62487 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62489         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62490         TRUE case.
62492         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62493         (norm): Likewise.
62494         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62495         variables with preprocessor constants.
62496         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62497         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62498         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62500 2012-12-27  Bruno Haible  <bruno@clisp.org>
62502         [BZ #14317]
62503         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62504         only if needed.
62506 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62508         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62509         and use variable directly.
62510         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62512         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62513         MPONE.
62514         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62515         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62516         variable MPONE.
62517         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62518         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62519         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62520         include directive.  Remove local variable MPONE.
62521         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62522         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62523         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62525 2012-12-25  David S. Miller  <davem@davemloft.net>
62527         * version.h (RELEASE): Set to "development".
62528         (VERSION): Set to "2.17.90".
62529         * NEWS: Add 2.18 section.
62531 2012-12-21  David S. Miller  <davem@davemloft.net>
62533         * po/hr.po: Update from translation team.
62535 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62537         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62539 2012-12-19  Steve Ellcey  <sellcey@mips.com>
62541         * NEWS:  Mention new memcpy for MIPS.
62543 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62545         * manual/contrib.texi (Contributors): Spelling correction.
62547 2012-12-15  David S. Miller  <davem@davemloft.net>
62549         * po/ru.po: Update from translation team.
62551 2012-12-13  David S. Miller  <davem@davemloft.net>
62553         * NEWS: Mention IFUNC testsuite enhancements.
62555         * po/pl.po: Update from translation team.
62556         * po/bg.po: Likewise.
62558         * manual/contrib.texi (Contributors): Update entries for Hongjiu
62559         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
62561 2012-12-11  David S. Miller  <davem@davemloft.net>
62563         * po/sv.po: Update from translation team.
62565         * po/vi.po: Update from translation team.
62567         * po/cs.po: Update from translation team.
62569         * po/de.po: Update from translation team.
62570         * po/eo.po: Likewise.
62571         * po/nl.po: Likewise.
62573 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62575         [BZ #14246]
62576         * manual/argp.texi (Argp Helper Functions): Move node to follow
62577         Argp Parsing State.
62579         [BZ #14872]
62580         * manual/conf.texi (Limits on File System Capacity): Mention if
62581         terminating null is included in the max size.
62583 2012-12-10  Andreas Jaeger  <aj@suse.de>
62585         * po/cs.po: Update from translation team.
62587 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62589         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62590         void pointer and cast to uintptr_t.
62591         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62592         path.
62593         * sysdeps/s390/s390-64/memcpy.S: Likewise.
62594         * sysdeps/s390/s390-64/memset.S: Likewise.
62596 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
62598         [BZ #14833]
62599         * menual/message.texi (Message Translation): Fix typos.
62600         (Helper programs for gettext): Likewise.
62602 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
62604         [BZ #14898]
62605         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62606         Change to -1.
62608 2012-12-07  David S. Miller  <davem@davemloft.net>
62610         * po/libc.pot: Update.
62612 2012-12-07  Richard Henderson  <rth@redhat.com>
62614         [BZ #10114]
62615         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62616         normal/normal case to before the switch.
62617         (_FP_DIV): Likewise.
62619 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
62620             Mike Frysinger  <vapier@gentoo.org>
62622         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62623         check for __NR_fadvise64_64.
62625 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
62627         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62628         0, not just to plain "0" as a statement.
62629         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62630         with cw.
62632 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
62634         * NEWS: Use sourceware.org in Bugzilla URL.
62636 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62639         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62641         * stdio-common/tst-put-error.c (do_test): Add newline to the
62642         padded test to ensure flush.
62644 2012-12-05  Jeff Law  <law@redhat.com>
62646         * sunrpc/etc.rpc (fedfs_admin): Add entry.
62648 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
62650         * README: Don't refer to ports add-on as distributed separately.
62651         Mention AArch64 in list of systems supported in the ports add-on.
62653         * LICENSES: Add more non-FSF copyright and license notices.
62655         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62656         ((unused)).
62658         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62660         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62661         10000 as width of padded output.
62663 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62665         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62667         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62668         variable LX with __attribute__ ((unused)).
62669         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62670         Likewise.
62671         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62672         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62673         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62674         with __attribute__ ((unused)).
62676 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
62678         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62680 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62682         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62683         (CFLAGS-nldbl-acos.c): New variable.
62684         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62685         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62686         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62687         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62688         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62689         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62690         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62691         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62692         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62693         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62694         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62695         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62696         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62697         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62698         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62699         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62700         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62701         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62702         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62703         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62704         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62705         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62706         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62707         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62708         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62709         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62710         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62711         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62712         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62713         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62714         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62715         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62716         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62717         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62718         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62719         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62720         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62721         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62722         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62723         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62724         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62725         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62726         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62727         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62728         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62729         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62730         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62731         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62732         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62733         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62734         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62735         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62736         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62737         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62738         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62739         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62740         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62741         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62742         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62743         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62744         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62745         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62746         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62747         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62748         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62749         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62750         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62751         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62752         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62753         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62754         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62755         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62756         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62757         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62758         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62759         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62760         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62761         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62762         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62763         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62764         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62765         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62766         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62767         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62768         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62769         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62770         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62771         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62772         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62773         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62774         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62775         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62776         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62777         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62778         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62779         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62780         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62783         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62785         [BZ #14914]
62786         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62787         whole low double instead of just low 47 bits when splitting values
62788         into two parts.
62790 2012-12-03  Allan McRae  <allan@archlinux.org>
62792         * manual/stdio.texi (Predefined Printf Handlers): Remove
62793         @hsep and @vsep usage.
62795 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
62797         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62798         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62800 2012-12-03  Jeff Law  <law@redhat.com>
62802         * time/sys/time.h (settimeofday): Do not mark TV argument
62803         as __nonnull.
62805 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
62807         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62808         when currently writing and seek to current position when not.
62809         * libio/Makefile (tests): Remove bug-fclose1.
62810         * libio/bug-fclose1.c: Delete.
62812 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
62814         * manual/arith.texi (feenableexcept): Fix typo.
62815         (fedisableexcept): Likewise.
62817 2012-11-30  Roland McGrath  <roland@hack.frob.com>
62819         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62820         second, differently-typed declaration, rather than a cast.
62822 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62824         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62825         * include/rpc/svc.h: ... here.
62827 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
62829         [BZ #13013]
62830         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62831         depending n and resplen2 to catch cases where answer
62832         equals answerp2.
62834 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
62836         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62837         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62839 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
62841         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62843 2012-11-29  Roland McGrath  <roland@hack.frob.com>
62845         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62847 2012-11-28  Jeff Law  <law@redhat.com>
62849         [BZ #13761]
62850         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62851         dataset_temporary.  Track alloca usage into alloca_used.
62852         If dataset is large allocate and release it via malloc/free.
62854 2012-06-04  Florian Weimer  <fweimer@redhat.com>
62856         [BZ #14197]
62857         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62859 2012-11-28  David S. Miller  <davem@davemloft.net>
62861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62863 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62865         [BZ #14803]
62866         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62867         of pi/2 rounded to nearest to 64 bits.
62868         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62869         nearest to 64 bits.
62870         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62871         bits.
62873 2012-11-28  Jeff Law <law@redhat.com>
62874             Martin Osvald <mosvald@redhat.com>
62876         [BZ #14889]
62877         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62878         * sunrpc/svc.c: Include time.h.
62879         (__svc_accept_failed): New function.
62880         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62881         any reason other than EINTR, call __svc_accept_failed.
62882         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62883         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62885 2012-11-28  Andreas Schwab  <schwab@suse.de>
62887         * scripts/abilist.awk: Also handle indirect functions in .opd
62888         section.
62890 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62892         [BZ #13881]
62893         * sysdeps/x86/fpu/powl_helper.c: New file.
62894         * sysdeps/x86/fpu/Makefile: Likewise.
62895         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62896         (p3): New object.
62897         (__ieee754_powl): Use __powl_helper for finite arguments except
62898         integer exponents below 8.
62899         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62900         (p3): New object.
62901         (__ieee754_powl): Use __powl_helper for finite arguments except
62902         integer exponents below 8.
62903         * math/libm-test.inc (pow_test): Add more tests and enable some
62904         previously disabled tests.
62905         * sysdeps/i386/fpu/libm-test-ulps: Update.
62906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62908 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62909             Carlos O'Donell  <carlos_odonell@mentor.com>
62911         * nss/makedb.c (is_prime): Assert that input is odd and greater
62912         than 4.  Note that fact in a comment too.
62913         (next_prime): Add 4 to input.
62915 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62917         [BZ #11741]
62918         * libio/Makefile (tests): Add test case tst-fwrite-error.
62919         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62920         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62921         * libio/tst-fwrite-error.c: New test case.
62923 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
62925         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62926         before casting to void *.
62927         * include/libc-internal.h (__pointer_type): New macro.
62928         (__integer_if_pointer_type_sub): Likewise.
62929         (__integer_if_pointer_type): Likewise.
62930         (cast_to_integer): Likewise.
62931         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62932         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62933         before casting to atomic64_t.
62934         (atomic_exchange_acq): Likewise.
62935         (__arch_exchange_and_add_body): Likewise.
62936         (__arch_add_body): Likewise.
62937         (atomic_add_negative): Likewise.
62938         (atomic_add_zero): Likewise.
62940 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
62942         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62943         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62944         (add_fdes): Likewise.
62945         (linear_search_fdes): Likewise.
62946         (binary_search_unencoded_fdes): Likewise.
62948 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
62950         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62952 2012-11-24  Adam Conrad  <adconrad@0c3.net>
62954         * configure.in: Autodetect C++ header directories.
62955         * configure: Regenerated.
62957 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
62959         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62961 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
62963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62965 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
62967         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62968         LDBL_MANT_DIG == 106]: Disable some tests.
62969         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62970         Likewise.
62971         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62972         Likewise.
62974         [BZ #14871]
62975         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62976         input for small inputs.  Return +/- pi/2 for large inputs.
62977         * math/libm-test.inc (atan_test): Add more tests.
62979         * sysdeps/generic/unwind-dw2-fde-glibc.c
62980         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62981         __attribute__ ((unused)).
62983         [BZ #14645]
62984         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62985         x * y if x and y are nonzero and z is zero.
62987         [BZ #14811]
62988         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62989         nonzero exponents with absolute value below 0x1p-117 to +/-
62990         0x1p-117.
62992         [BZ #14869]
62993         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62994         up arguments below 2**-450, not just those below 2**-500.
62995         * math/libm-test.inc (hypot_test): Add another test.
62997         [BZ #14868]
62998         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62999         Return a+b for ratio over 2**120, not 2**60.
63000         * math/libm-test.inc (hypot_test): Add another test.
63002         * math/libm-test.inc (clog_test): Use
63003         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
63004         (clog10_test): Likewise.
63006         [BZ #6778]
63007         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
63009 2012-11-22  Andreas Schwab  <schwab@suse.de>
63011         * sysdeps/i386/fpu/libm-test-ulps: Update.
63013 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
63015         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
63016         printf output with newline.
63018 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
63020         [BZ #14865]
63021         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
63022         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63023         -z nodlopen, -z initfirst and -z execstack support.
63024         * configure: Regenerated.
63026         * elf/elf.h (DF_1_NODIRECT): New macro.
63027         (DF_1_IGNMULDEF): Likewise.
63028         (DF_1_NOKSYMS): Likewise.
63029         (DF_1_NOHDR): Likewise.
63030         (DF_1_EDITED): Likewise.
63031         (DF_1_NORELOC): Likewise.
63032         (DF_1_SYMINTPOSE): Likewise.
63033         (DF_1_GLOBAUDIT): Likewise.
63034         (DF_1_SINGLETON): Likewise.
63035         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63036         DT_1_SUPPORTED_MASK bits.
63037         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63039 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
63041         * sysdeps/unix/make-syscalls.sh: Document prefixes.
63043 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
63045         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63046         macro.
63048         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63049         (sendmmsg): Move declarations...
63050         * socket/sys/socket.h: ... here.
63051         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63052         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63053         include it from...
63054         * socket/recvmmsg.c: ... this new file.
63055         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63056         (sendmmsg): Rename to __sendmmsg, create weak alias and make
63057         definition of __sendmmsg hidden.
63058         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63059         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63060         Move ENOSYS stub into and include it from...
63061         * socket/sendmmsg.c: ... this new file.
63062         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63063         (sysdep_routines): Move recvmmsg and sendmmsg...
63064         * socket/Makefile (routines): ... here.
63065         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63066         (GLIBC_PRIVATE): Add __sendmmsg.
63067         * include/sys/socket.h (__sendmmsg): Add declarations.
63068         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63069         sendmmsg.
63071 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
63073         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63074         variable I1 with __attribute__ ((unused)).
63075         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63077 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63079         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63080         DUMMY variables with __attribute__ ((unused)).
63082         * bits/byteswap.h: Include <bits/types.h>.
63083         (__bswap_64): Use __uint64_t instead of unsigned long long int.
63085 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63087         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63088         string_t.  Do not manually set errno.
63089         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63090         length with __strnlen.  Make sure to both set errno and return it on
63091         failure.
63093 2012-11-19  David S. Miller  <davem@davemloft.net>
63095         With help from Joseph Myers.
63096         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63097         very large arguments properly.
63098         * math/libm-test.inc (atan_test): New tests.
63099         (atan2_test): New tests.
63100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63103 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63105         [BZ #14856]
63106         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63107         Define to 3.
63109         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63110         [POSIX] (EADDRNOTAVAIL): Likewise.
63111         [POSIX] (EAFNOSUPPORT): Likewise.
63112         [POSIX] (EALREADY): Likewise.
63113         [POSIX] (ECONNABORTED): Likewise.
63114         [POSIX] (ECONNREFUSED): Likewise.
63115         [POSIX] (ECONNRESET): Likewise.
63116         [POSIX] (EDESTADDRREQ): Likewise.
63117         [POSIX] (EDQUOT): Likewise.
63118         [POSIX] (EHOSTUNREACH): Likewise.
63119         [POSIX] (EIDRM): Likewise.
63120         [POSIX] (EISCONN): Likewise.
63121         [POSIX] (ELOOP): Likewise.
63122         [POSIX] (EMULTIHOP): Likewise.
63123         [POSIX] (ENETDOWN): Likewise.
63124         [POSIX] (ENETUNREACH): Likewise.
63125         [POSIX] (ENOBUFS): Likewise.
63126         [POSIX] (ENODATA): Likewise.
63127         [POSIX] (ENOLINK): Likewise.
63128         [POSIX] (ENOMSG): Likewise.
63129         [POSIX] (ENOPROTOOPT): Likewise.
63130         [POSIX] (ENOSR): Likewise.
63131         [POSIX] (ENOSTR): Likewise.
63132         [POSIX] (ENOTCONN): Likewise.
63133         [POSIX] (ENOTSOCK): Likewise.
63134         [POSIX] (EOPNOTSUPP): Likewise.
63135         [POSIX] (EOVERFLOW): Likewise.
63136         [POSIX] (EPROTO): Likewise.
63137         [POSIX] (EPROTONOSUPPORT): Likewise.
63138         [POSIX] (EPROTOTYPE): Likewise.
63139         [POSIX] (ESTALE): Likewise.
63140         [POSIX] (ETIME): Likewise.
63141         [POSIX] (ETXTBSY): Likewise.
63142         [POSIX] (EWOULDBLOCK): Likewise.
63143         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63144         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63145         [POSIX] (SEEK_CUR): Likewise.
63146         [POSIX] (SEEK_END): Likewise.
63147         [POSIX || UNIX98] (mode_t): Do not require.
63148         [POSIX] (off_t): Likewise.
63149         [POSIX] (pid_t): Likewise.
63150         [POSIX] (sys/stat.h): Do not allow header.
63151         [POSIX] (unistd.h): Likewise.
63152         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63153         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63154         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63155         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63156         require.
63157         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63158         sigevent): Specify elements.
63159         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63160         entry.
63161         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63162         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63164         * conform/data/cpio.h-data [POSIX]: Disable whole file.
63165         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63166         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63167         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63168         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63169         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63170         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63171         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63172         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63173         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63174         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63175         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63176         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63177         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63178         Likewise.
63179         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63180         Likewise.
63181         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63182         Likewise.
63183         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63184         Likewise.
63185         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63186         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63187         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63188         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63189         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63190         Specify lower bound on value.
63191         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63192         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63193         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63194         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63195         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63196         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63197         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63198         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63199         value.
63200         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63201         as optional.
63202         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63203         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63204         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63205         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63206         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63207         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63208         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63209         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63210         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63211         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63212         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63213         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63214         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63215         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63216         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63217         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63218         entry.
63219         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63220         optional.
63221         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63222         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63223         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63224         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63225         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63226         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63227         Likewise.
63228         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63229         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63230         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63231         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63232         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
63233         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63234         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63235         as optional.
63236         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63237         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63238         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63239         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63240         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63241         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63242         specify as optional.
63243         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63244         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63245         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63246         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63247         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63248         [XPG3] (NL_LANGMAX): Likewise.
63249         [POSIX || XPG3] (NL_MSGMAX): Likewise.
63250         [POSIX || XPG3] (NL_NMAX): Likewise.
63251         [POSIX || XPG3] (NL_SETMAX): Likewise.
63252         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63253         [XPG3] (NZERO): Likewise.
63254         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63255         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63256         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63257         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63258         (REG_ERANGE): Expect.
63259         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63260         optional-constant.
63261         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63262         Use (void) in prototype.
63263         [POSIX] (*_t): Allow.
63264         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63265         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63266         (WRDE_BADVAL): Expect.
63268         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63269         expect.
63270         [XPG3 || XPG4] (O_RSYNC): Likewise.
63271         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63272         Likewise.
63273         [XPG3 || XPG4] (pthread_sigmask): Likewise.
63274         [XPG3 || XPG4] (sigqueue): Likewise.
63275         [XPG3 || XPG4] (sigtimedwait): Likewise.
63276         [XPG3 || XPG4] (sigwaitinfo): Likewise.
63277         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63278         [XPG3 || XPG4] (vsnprintf): Likewise.
63279         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63280         Likewise.
63281         [XPG3 || XPG4] (blksize_t): Likewise.
63282         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63283         Likewise.
63284         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63285         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63286         [XPG3 || XPG4] (struct itimerspec): Likewise.
63287         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63288         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63289         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63290         [XPG3 || XPG4] (clockid_t): Likewise.
63291         [XPG3 || XPG4] (timer_t): Likewise.
63292         [XPG3 || XPG4] (clock_getres): Likewise.
63293         [XPG3 || XPG4] (clock_gettime): Likewise.
63294         [XPG3 || XPG4] (clock_settime): Likewise.
63295         [XPG3 || XPG4] (nanosleep): Likewise.
63296         [XPG3 || XPG4] (timer_create): Likewise.
63297         [XPG3 || XPG4] (timer_delete): Likewise.
63298         [XPG3 || XPG4] (timer_gettime): Likewise.
63299         [XPG3 || XPG4] (timer_getoverrun): Likewise.
63300         [XPG3 || XPG4] (timer_settime): Likewise.
63301         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63302         [XPG3 || XPG4] (getlogin_r): Likewise.
63303         [XPG3 || XPG4] (pread): Likewise.
63304         [XPG3 || XPG4] (pthread_atfork): Likewise.
63305         [XPG3 || XPG4] (pwrite): Likewise.
63307         [BZ #14835]
63308         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63309         <bits/siginfo.h>.
63311 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63313         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63314         finalizing MALLSTREAM.
63316         * sysdeps/mach/hurd/syncfs.c: New file.
63318 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63320         [BZ #14719]
63321         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63322         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63323         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63324         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63325         (_nss_dns_gethostbyname4_r): Likewise.
63326         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63327         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63329 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
63331         [BZ #13763]
63332         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63334 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
63336         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63337         * elf/cache.c (print_entry): Print ",AArch64" for
63338         FLAG_AARCH64_LIB64
63340         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63341         * elf/cache.c (print_entry): Print ",hard-float" for
63342         FLAG_ARM_LIBHF.
63344 2012-11-18  David S. Miller  <davem@davemloft.net>
63346         With help from Joseph Myers.
63347         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63348         cutoff to 2**-13.
63349         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63350         cutoff to 2**-25.
63351         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63352         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63353         small.
63354         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63355         * math/libm-test.inc (y0_test): New tests.
63356         (y1_test): New tests.
63357         * sysdeps/i386/fpu/libm-test-ulps: Update.
63358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63361 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
63363         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63364         64-bit targets.
63365         * configure: Regenerated.
63367 2012-11-17  David S. Miller  <davem@davemloft.net>
63369         [BZ #14811]
63370         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63371         nonzero exponents with absolute value below 0x1p-128 to +/-
63372         0x1p-128.
63374 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
63376         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63378         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63380         * posix/getconf-speclist.c: New file.
63381         * posix/posix-envs.def: Likewise.
63382         * posix/confstr.c (START_ENV_GROUP): New macro.
63383         (END_ENV_GROUP): Likewise.
63384         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63385         (KNOWN_PRESENT_ENV_STRING): Likewise.
63386         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63387         (UNKNOWN_ENVIRONMENT): Likewise.
63388         (confstr): Include posix-envs.def instead of handling
63389         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63390         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63391         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63392         (END_ENV_GROUP): Likewise.
63393         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63394         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63395         (UNKNOWN_ENVIRONMENT): Likewise.
63396         (__sysconf): Include posix-envs.def instead of handling associated
63397         cases directly here.
63398         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63399         preprocessing getconf-speclist.c rather than running getconf or
63400         generating empty file.
63402 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
63404         * scripts/check-local-headers.sh: Ignore 'mach' headers.
63406 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
63408         [BZ #14672]
63409         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63411 2012-11-16  David S. Miller  <davem@davemloft.net>
63413         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63414         smaller than LDBL_EPSILON/2.0L, just return xm1.
63416 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
63418         * elf/tst-array1.c (init): Set constructor priority to 1000.
63419         (fini): Set destructor priority to 1000.
63420         * elf/tst-array2dep.c: Likewise.
63422 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63424         [BZ #11741]
63425         * libio/fileops.c (_IO_new_file_write): Correctly return error.
63426         (_IO_new_file_xsputn): Also return EOF if none of the input
63427         data was written when overflow failed.
63428         * libio/iopadn.c (_IO_padn): Likewise.
63429         * libio/iowpadn.c (_IO_wpadn): Likewise.
63430         * stdio-common/tst-put-error.c: Add copyright notice.
63431         (do_test): Add case for printing padded string.
63432         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63433         _IO_padn returned error.
63434         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63435         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63436         return EOF.
63438 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63440         * libio/libioP.h: Add comment note that the references to C++
63441         bits are now obsolete.
63443 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63445         * math/libm-test.inc (check_complex): Use asprintf.
63447 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
63449         * debug/pcprofiledump.c (print_version): Update copyright year.
63450         * malloc/memusagestat.c (print_version): Likewise.
63452 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
63454         [BZ #14831]
63455         * elf/Makefile (tests): Add tst-audit8.
63456         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63457         ($(objpfx)tst-audit8.out): New target.
63458         (tst-audit8-ENV): New variable.
63459         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63460         audit if l_reloc_result is NULL.
63461         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63462         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63463         * elf/tst-audit8.c: New file.
63465 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63467         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63468         * misc/Makefile (CFLAGS-select.c): Define.
63469         * posix/Makefile (CFLAGS-pause.c): Define.
63471 2012-11-13  David S. Miller  <davem@davemloft.net>
63473         * crypt/Makefile: Move test targets after toplevel Rules
63474         inclusion.  Grab any necessary sysdep routines when linking.
63475         * crypt/md5.c (md5_process_block): Remove define, we will always
63476         name it __md5_process_block.
63477         (md5_finish_ctx): Update md5_process_block call.
63478         (md5_stream): Likewise.
63479         (md5_process_bytes): Likewise.
63480         (md5_process_block): Rename to __md5_process_block and move to ...
63481         * crypt/md5-block.c: ... here.
63482         * crypt/sha256.c (sha256_process_block): Move to ...
63483         * crypt/sha256-block.c: ... here.
63484         * crypt/sha512.c (sha512_process_block): Move to ...
63485         * crypt/sha512-block.c: ... here.
63486         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63487         path.
63488         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63489         * sysdeps/sparc/sparc64/multiarch/Makefile
63490         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63491         crypt subdir.
63492         (localedef-aux): Add md5 crypto assembler when in locale subdir.
63493         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63494         multiarch changes.
63495         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63496         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63497         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63498         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63499         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63500         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63501         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63502         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63503         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63504         file.
63505         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63506         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63507         file.
63508         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63510 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
63512         * timezone/tzselect.ksh: Update from tzcode git revision
63513         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63514         * timezone/zdump.c: Likewise.
63515         * timezone/zic.c: Likewise.
63516         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63517         in TZVERSION setting, not $(PKGVERSION).
63518         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
63519         REPORT_BUGS_TO settings.
63521         [BZ #14838]
63522         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63523         macro.
63525 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63527         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63528         detection to immediately after _FP_ROUND().
63529         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63530         bits are 0.
63532 2012-11-11  David S. Miller  <davem@davemloft.net>
63534         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63535         inttypes.h
63536         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63537         __close rather than their public counterparts.
63539 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
63541         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
63542         file.
63543         [UNIX98] (sem_timedwait): Do not expect.
63544         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
63545         [XPG4 || UNIX98] (sockatmark): Do not expect.
63546         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
63547         (clock_getcpuclockid): Do not expect.
63548         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
63549         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
63550         Do not expect.
63551         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
63552         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
63553         [UNIX98] (vwscanf): Likewise.
63554         [UNIX98] (vswscanf): Likewise.
63556 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
63558         * timezone/version.h: Remove file.
63559         * timezone/README: Do not refer to version.h.
63560         * timezone/Makefile ($(objpfx)zic.o): New dependency on
63561         $(objpfx)version.h.
63562         ($(objpfx)zdump.o): Likewise.
63563         ($(objpfx)version.h): New target.
63565         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
63566         2012i.
63567         * timezone/README: Don't mention modification to tzselect.ksh.
63568         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
63569         work on unmodified tzselect.ksh.  Substitute version numbers in
63570         tzselect.ksh.
63572         * Makefile (format-me): Remove.
63573         (INSTALL): Adjust indentation.  Use commands directly instead of
63574         using $(format-me).
63576         * aclocal.m4 (ACX_PKGVERSION): New macro.
63577         (ACX_BUGURL): Likewise.
63578         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63579         (PKGVERSION): New AC_DEFINE_UNQUOTED.
63580         (REPORT_BUGS_TO): Likewise.
63581         * configure: Regenerated.
63582         * config.h.in (PKGVERSION): New macro.
63583         (REPORT_BUGS_TO): Likewise.
63584         * config.make.in (PKGVERSION): New variable.
63585         (PKGVERSION_TEXI): Likewise.
63586         (REPORT_BUGS_TO): Likewise.
63587         (REPORT_BUGS_TEXI): Likewise.
63588         * Makefile (format-me): Use -I$(common-objpfx)manual.
63589         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63590         ($(common-objpfx)manual/%): New target.
63591         (manual/%): Remove target.
63592         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63593         (print_version): Use PKGVERSION.
63594         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63595         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63596         and REPORT_BUGS_TO.
63597         ($(objpfx)xtrace): Likewise.
63598         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63599         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63600         (print_version): Use PKGVERSION.
63601         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63602         (do_version): Use PKGVERSION.
63603         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63604         REPORT_BUGS_TO.
63605         (common-ldd-rewrite): Likewise.
63606         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63607         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63608         (print_version): Use PKGVERSION.
63609         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63610         * elf/pldd.c (argp_program_bug_address): Remove variable.
63611         (more_help): New function.
63612         (argp): Use more_help.
63613         (print_version): Use PKGVERSION.
63614         * elf/sln.c (main): Use PKGVERSION.
63615         (usage): Use REPORT_BUGS_TO.
63616         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63617         (top level): Use PKGVERSION.
63618         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63619         (print_version): Use PKGVERSION.
63620         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63621         (print_version): Use PKGVERSION.
63622         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63623         (print_version): Use PKGVERSION.
63624         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63625         (print_version): Use PKGVERSION.
63626         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63627         (print_version): Use PKGVERSION.
63628         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63629         (print_version): Use PKGVERSION.
63630         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63631         and BUGURL.
63632         ($(objpfx)memusage): Likewise.
63633         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63634         (do_version): Use PKGVERSION.
63635         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63636         (print_version): Use PKGVERSION.
63637         * malloc/mtrace.pl ($PACKAGE): Remove variable.
63638         ($PKGVERSION): New variable.
63639         ($REPORT_BUGS_TO): Likewise.
63640         (usage): Use $REPORT_BUGS_TO.
63641         (top level): Use $PKGVERSION.
63642         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63643         ($(objpfx)pkgvers.texi): New rule.
63644         ($(objpfx)stamp-pkgvers): Likewise.
63645         * manual/install.texi: Include pkgvers.texi.
63646         (--with-pkgversion): Document new configure option.
63647         (--with-bugurl): Likewise.
63648         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63649         than necessarily for this particular distribution.  Use
63650         REPORT_BUGS_TO for where to report bugs.
63651         * INSTALL: Regenerated.
63652         * manual/libc.texinfo: Include pkgvers.texi.
63653         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63654         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63655         (print_version): Use PKGVERSION.
63656         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63657         (print_version): Use PKGVERSION.
63658         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63659         (print_version): Use PKGVERSION.
63660         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63661         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63662         macro.
63663         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63664         (print_version): Use PKGVERSION.
63665         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63666         (print_version): Use PKGVERSION.
63667         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63668         and PKGVERSION.
63670         * timezone/checktab.awk: Update from tzcode 2012i.
63671         * timezone/ialloc.c: Likewise.
63672         * timezone/private.h: Likewise.
63673         * timezone/scheck.c: Likewise.
63674         * timezone/tzfile.h: Likewise.
63675         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63676         (TZVERSION): Hardcode tzcode version number.
63677         * timezone/zdump.c: Update from tzcode 2012i.
63678         * timezone/zic.c: Likewise.
63679         * timezone/version.h: New file.
63680         * timezone/README: Describe version.h.  Update upstream location.
63682         [BZ #14824]
63683         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63684         (mktemp): Enable declaration.
63685         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63686         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63687         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63688         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63689         Likewise.
63690         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63691         Likewise.
63692         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63693         Likewise.
63694         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63695         Likewise.
63696         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63697         Likewise.
63698         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63699         Likewise.
63701         [BZ #14821]
63702         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63703         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
63704         for copies of such integer values.
63705         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63706         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63708 2012-11-09  Andreas Jaeger  <aj@suse.de>
63710         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63711         definitions and declarations that are provided by
63712         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63714 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63716         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63717         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63718         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63719         definition.
63721 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63723         * elf/elf.h: Update comment before AArch64 relocations.
63725 2012-11-07  David S. Miller  <davem@davemloft.net>
63727         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63728         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63729         (__start_context): Declare.
63730         (__makecontext_ret): Delete.
63731         (__makecontext): Hook up __start_context instead of
63732         __makecontext_ret.
63733         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63734         (sysdep_routines): Add __start_context when in stdlib.
63736 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63738         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63739         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63740         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
63741         hardcoded "nm".
63742         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
63743         (READELF): New variable.  Use it instead of hardcoded "readelf".
63745 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63747         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63748         * sysdeps/x86/Makefile: Here.
63749         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63750         * sysdeps/x86/tst-xmmymm.sh: This.
63752 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63754         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63755         expectations.
63756         [UNIX98] (pthread_barrier_t): Do not expect.
63757         [UNIX98] (pthread_barrierattr_t): Likewise.
63758         [UNIX98] (pthread_spinlock_t): Likewise.
63759         [UNIX98] (pthread_barrier_destroy): Likewise.
63760         [UNIX98] (pthread_barrier_init): Likewise.
63761         [UNIX98] (pthread_barrier_wait): Likewise.
63762         [UNIX98] (pthread_barrierattr_destroy): Likewise.
63763         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63764         [UNIX98] (pthread_barrierattr_init): Likewise.
63765         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63766         [UNIX98] (pthread_getcpuclockid): Likewise.
63767         [UNIX98] (pthread_mutex_timedlock): Likewise.
63768         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63769         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63770         [UNIX98] (pthread_sigmask): Likewise.
63771         [UNIX98] (pthread_spin_destroy): Likewise.
63772         [UNIX98] (pthread_spin_init): Likewise.
63773         [UNIX98] (pthread_spin_lock): Likewise.
63774         [UNIX98] (pthread_spin_trylock): Likewise.
63775         [UNIX98] (pthread_spin_unlock): Likewise.
63776         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63777         Do not expect.
63778         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63779         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63780         [XPG3 || XPG4] (pthread_cond_t): Likewise.
63781         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63782         [XPG3 || XPG4] (pthread_key_t): Likewise.
63783         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63784         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63785         [XPG3 || XPG4] (pthread_once_t): Likewise.
63786         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63787         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63788         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63789         [XPG3 || XPG4] (pthread_t): Likewise.
63791         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63792         not expect.
63793         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63795         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63796         Change function return type to int.
63798         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63799         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63800         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63801         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63802         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63803         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63804         [!POSIX] (posix_madvise): Likewise.
63805         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63806         && !UNIX98].
63807         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63808         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63809         (mode_t): Likewise.
63810         (posix_mem_offset): Likewise.
63811         (posix_typed_mem_get_info): Likewise.
63812         (posix_typed_mem_open): Likewise.
63814         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63815         Change condition to [XOPEN2K8].
63817         * conform/conformtest.pl: Preprocess allow-header data with -x c
63818         instead of from stdin.
63819         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63820         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63821         [C99-based standards] (cerfc): Likewise.
63822         [C99-based standards] (cexp2): Likewise.
63823         [C99-based standards] (cexpm1): Likewise.
63824         [C99-based standards] (clog10): Likewise.
63825         [C99-based standards] (clog1p): Likewise.
63826         [C99-based standards] (clog2): Likewise.
63827         [C99-based standards] (clgamma): Likewise.
63828         [C99-based standards] (ctgamma): Likewise.
63829         [C99-based standards] (cerff): Likewise.
63830         [C99-based standards] (cerfcf): Likewise.
63831         [C99-based standards] (cexp2f): Likewise.
63832         [C99-based standards] (cexpm1f): Likewise.
63833         [C99-based standards] (clog10f): Likewise.
63834         [C99-based standards] (clog1pf): Likewise.
63835         [C99-based standards] (clog2f): Likewise.
63836         [C99-based standards] (clgammaf): Likewise.
63837         [C99-based standards] (ctgammaf): Likewise.
63838         [C99-based standards] (cerfl): Likewise.
63839         [C99-based standards] (cerfcl): Likewise.
63840         [C99-based standards] (cexp2l): Likewise.
63841         [C99-based standards] (cexpm1l): Likewise.
63842         [C99-based standards] (clog10l): Likewise.
63843         [C99-based standards] (clog1pl): Likewise.
63844         [C99-based standards] (clog2l): Likewise.
63845         [C99-based standards] (clgammal): Likewise.
63846         [C99-based standards] (ctgammal): Likewise.
63847         * conform/data/inttypes.h-data [C99-based standards]: Include
63848         stdint.h-data.  Remove all expectations for stdint.h contents.
63849         [C99-based standards] (PRI*): Do not allow.
63850         [C99-based standards] (SCN*): Likewise.
63851         [C99-based standards] (*_t): Likewise.
63852         [C99-based-standards] (PRId8): Expect macro.
63853         [C99-based-standards] (PRIi8): Likewise.
63854         [C99-based-standards] (PRIo8): Likewise.
63855         [C99-based-standards] (PRIu8): Likewise.
63856         [C99-based-standards] (PRIx8): Likewise.
63857         [C99-based-standards] (PRIX8): Likewise.
63858         [C99-based-standards] (SCNd8): Likewise.
63859         [C99-based-standards] (SCNi8): Likewise.
63860         [C99-based-standards] (SCNo8): Likewise.
63861         [C99-based-standards] (SCNu8): Likewise.
63862         [C99-based-standards] (SCNx8): Likewise.
63863         [C99-based-standards] (PRIdLEAST8): Likewise.
63864         [C99-based-standards] (PRIiLEAST8): Likewise.
63865         [C99-based-standards] (PRIoLEAST8): Likewise.
63866         [C99-based-standards] (PRIuLEAST8): Likewise.
63867         [C99-based-standards] (PRIxLEAST8): Likewise.
63868         [C99-based-standards] (PRIXLEAST8): Likewise.
63869         [C99-based-standards] (SCNdLEAST8): Likewise.
63870         [C99-based-standards] (SCNiLEAST8): Likewise.
63871         [C99-based-standards] (SCNoLEAST8): Likewise.
63872         [C99-based-standards] (SCNuLEAST8): Likewise.
63873         [C99-based-standards] (SCNxLEAST8): Likewise.
63874         [C99-based-standards] (PRIdFAST8): Likewise.
63875         [C99-based-standards] (PRIiFAST8): Likewise.
63876         [C99-based-standards] (PRIoFAST8): Likewise.
63877         [C99-based-standards] (PRIuFAST8): Likewise.
63878         [C99-based-standards] (PRIxFAST8): Likewise.
63879         [C99-based-standards] (PRIXFAST8): Likewise.
63880         [C99-based-standards] (SCNdFAST8): Likewise.
63881         [C99-based-standards] (SCNiFAST8): Likewise.
63882         [C99-based-standards] (SCNoFAST8): Likewise.
63883         [C99-based-standards] (SCNuFAST8): Likewise.
63884         [C99-based-standards] (SCNxFAST8): Likewise.
63885         [C99-based-standards] (PRId16): Likewise.
63886         [C99-based-standards] (PRIi16): Likewise.
63887         [C99-based-standards] (PRIo16): Likewise.
63888         [C99-based-standards] (PRIu16): Likewise.
63889         [C99-based-standards] (PRIx16): Likewise.
63890         [C99-based-standards] (PRIX16): Likewise.
63891         [C99-based-standards] (SCNd16): Likewise.
63892         [C99-based-standards] (SCNi16): Likewise.
63893         [C99-based-standards] (SCNo16): Likewise.
63894         [C99-based-standards] (SCNu16): Likewise.
63895         [C99-based-standards] (SCNx16): Likewise.
63896         [C99-based-standards] (PRIdLEAST16): Likewise.
63897         [C99-based-standards] (PRIiLEAST16): Likewise.
63898         [C99-based-standards] (PRIoLEAST16): Likewise.
63899         [C99-based-standards] (PRIuLEAST16): Likewise.
63900         [C99-based-standards] (PRIxLEAST16): Likewise.
63901         [C99-based-standards] (PRIXLEAST16): Likewise.
63902         [C99-based-standards] (SCNdLEAST16): Likewise.
63903         [C99-based-standards] (SCNiLEAST16): Likewise.
63904         [C99-based-standards] (SCNoLEAST16): Likewise.
63905         [C99-based-standards] (SCNuLEAST16): Likewise.
63906         [C99-based-standards] (SCNxLEAST16): Likewise.
63907         [C99-based-standards] (PRIdFAST16): Likewise.
63908         [C99-based-standards] (PRIiFAST16): Likewise.
63909         [C99-based-standards] (PRIoFAST16): Likewise.
63910         [C99-based-standards] (PRIuFAST16): Likewise.
63911         [C99-based-standards] (PRIxFAST16): Likewise.
63912         [C99-based-standards] (PRIXFAST16): Likewise.
63913         [C99-based-standards] (SCNdFAST16): Likewise.
63914         [C99-based-standards] (SCNiFAST16): Likewise.
63915         [C99-based-standards] (SCNoFAST16): Likewise.
63916         [C99-based-standards] (SCNuFAST16): Likewise.
63917         [C99-based-standards] (SCNxFAST16): Likewise.
63918         [C99-based-standards] (PRId32): Likewise.
63919         [C99-based-standards] (PRIi32): Likewise.
63920         [C99-based-standards] (PRIo32): Likewise.
63921         [C99-based-standards] (PRIu32): Likewise.
63922         [C99-based-standards] (PRIx32): Likewise.
63923         [C99-based-standards] (PRIX32): Likewise.
63924         [C99-based-standards] (SCNd32): Likewise.
63925         [C99-based-standards] (SCNi32): Likewise.
63926         [C99-based-standards] (SCNo32): Likewise.
63927         [C99-based-standards] (SCNu32): Likewise.
63928         [C99-based-standards] (SCNx32): Likewise.
63929         [C99-based-standards] (PRIdLEAST32): Likewise.
63930         [C99-based-standards] (PRIiLEAST32): Likewise.
63931         [C99-based-standards] (PRIoLEAST32): Likewise.
63932         [C99-based-standards] (PRIuLEAST32): Likewise.
63933         [C99-based-standards] (PRIxLEAST32): Likewise.
63934         [C99-based-standards] (PRIXLEAST32): Likewise.
63935         [C99-based-standards] (SCNdLEAST32): Likewise.
63936         [C99-based-standards] (SCNiLEAST32): Likewise.
63937         [C99-based-standards] (SCNoLEAST32): Likewise.
63938         [C99-based-standards] (SCNuLEAST32): Likewise.
63939         [C99-based-standards] (SCNxLEAST32): Likewise.
63940         [C99-based-standards] (PRIdFAST32): Likewise.
63941         [C99-based-standards] (PRIiFAST32): Likewise.
63942         [C99-based-standards] (PRIoFAST32): Likewise.
63943         [C99-based-standards] (PRIuFAST32): Likewise.
63944         [C99-based-standards] (PRIxFAST32): Likewise.
63945         [C99-based-standards] (PRIXFAST32): Likewise.
63946         [C99-based-standards] (SCNdFAST32): Likewise.
63947         [C99-based-standards] (SCNiFAST32): Likewise.
63948         [C99-based-standards] (SCNoFAST32): Likewise.
63949         [C99-based-standards] (SCNuFAST32): Likewise.
63950         [C99-based-standards] (SCNxFAST32): Likewise.
63951         [C99-based-standards] (PRId64): Likewise.
63952         [C99-based-standards] (PRIi64): Likewise.
63953         [C99-based-standards] (PRIo64): Likewise.
63954         [C99-based-standards] (PRIu64): Likewise.
63955         [C99-based-standards] (PRIx64): Likewise.
63956         [C99-based-standards] (PRIX64): Likewise.
63957         [C99-based-standards] (SCNd64): Likewise.
63958         [C99-based-standards] (SCNi64): Likewise.
63959         [C99-based-standards] (SCNo64): Likewise.
63960         [C99-based-standards] (SCNu64): Likewise.
63961         [C99-based-standards] (SCNx64): Likewise.
63962         [C99-based-standards] (PRIdLEAST64): Likewise.
63963         [C99-based-standards] (PRIiLEAST64): Likewise.
63964         [C99-based-standards] (PRIoLEAST64): Likewise.
63965         [C99-based-standards] (PRIuLEAST64): Likewise.
63966         [C99-based-standards] (PRIxLEAST64): Likewise.
63967         [C99-based-standards] (PRIXLEAST64): Likewise.
63968         [C99-based-standards] (SCNdLEAST64): Likewise.
63969         [C99-based-standards] (SCNiLEAST64): Likewise.
63970         [C99-based-standards] (SCNoLEAST64): Likewise.
63971         [C99-based-standards] (SCNuLEAST64): Likewise.
63972         [C99-based-standards] (SCNxLEAST64): Likewise.
63973         [C99-based-standards] (PRIdFAST64): Likewise.
63974         [C99-based-standards] (PRIiFAST64): Likewise.
63975         [C99-based-standards] (PRIoFAST64): Likewise.
63976         [C99-based-standards] (PRIuFAST64): Likewise.
63977         [C99-based-standards] (PRIxFAST64): Likewise.
63978         [C99-based-standards] (PRIXFAST64): Likewise.
63979         [C99-based-standards] (SCNdFAST64): Likewise.
63980         [C99-based-standards] (SCNiFAST64): Likewise.
63981         [C99-based-standards] (SCNoFAST64): Likewise.
63982         [C99-based-standards] (SCNuFAST64): Likewise.
63983         [C99-based-standards] (SCNxFAST64): Likewise.
63984         [C99-based-standards] (PRIdMAX): Likewise.
63985         [C99-based-standards] (PRIiMAX): Likewise.
63986         [C99-based-standards] (PRIoMAX): Likewise.
63987         [C99-based-standards] (PRIuMAX): Likewise.
63988         [C99-based-standards] (PRIxMAX): Likewise.
63989         [C99-based-standards] (PRIXMAX): Likewise.
63990         [C99-based-standards] (SCNdMAX): Likewise.
63991         [C99-based-standards] (SCNiMAX): Likewise.
63992         [C99-based-standards] (SCNoMAX): Likewise.
63993         [C99-based-standards] (SCNuMAX): Likewise.
63994         [C99-based-standards] (SCNxMAX): Likewise.
63995         [C99-based-standards] (PRIdPTR): Likewise.
63996         [C99-based-standards] (PRIiPTR): Likewise.
63997         [C99-based-standards] (PRIoPTR): Likewise.
63998         [C99-based-standards] (PRIuPTR): Likewise.
63999         [C99-based-standards] (PRIxPTR): Likewise.
64000         [C99-based-standards] (PRIXPTR): Likewise.
64001         [C99-based-standards] (SCNdPTR): Likewise.
64002         [C99-based-standards] (SCNiPTR): Likewise.
64003         [C99-based-standards] (SCNoPTR): Likewise.
64004         [C99-based-standards] (SCNuPTR): Likewise.
64005         [C99-based-standards] (SCNxPTR): Likewise.
64006         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
64007         allow.
64008         * conform/data/stdint.h-data: Update comments to clarify
64009         requirements.
64010         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
64011         type.
64012         [C99-based standards] (INT8_MAX): Likewise.
64013         [C99-based standards] (INT16_MIN): Likewise.
64014         [C99-based standards] (INT16_MAX): Likewise.
64015         [C99-based standards] (INT32_MIN): Likewise.
64016         [C99-based standards] (INT32_MAX): Likewise.
64017         [C99-based standards] (INT64_MIN): Likewise.
64018         [C99-based standards] (INT64_MAX): Likewise.
64019         [C99-based standards] (UINT8_MAX): Likewise.
64020         [C99-based standards] (UINT16_MAX): Likewise.
64021         [C99-based standards] (UINT32_MAX): Likewise.
64022         [C99-based standards] (UINT64_MAX): Likewise.
64023         [C99-based standards] (INT_LEAST8_MIN): Likewise.
64024         [C99-based standards] (INT_LEAST8_MAX): Likewise.
64025         [C99-based standards] (INT_LEAST16_MIN): Likewise.
64026         [C99-based standards] (INT_LEAST16_MAX): Likewise.
64027         [C99-based standards] (INT_LEAST32_MIN): Likewise.
64028         [C99-based standards] (INT_LEAST32_MAX): Likewise.
64029         [C99-based standards] (INT_LEAST64_MIN): Likewise.
64030         [C99-based standards] (INT_LEAST64_MAX): Likewise.
64031         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64032         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64033         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64034         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64035         [C99-based standards] (INT_FAST8_MIN): Likewise.
64036         [C99-based standards] (INT_FAST8_MAX): Likewise.
64037         [C99-based standards] (INT_FAST16_MIN): Likewise.
64038         [C99-based standards] (INT_FAST16_MAX): Likewise.
64039         [C99-based standards] (INT_FAST32_MIN): Likewise.
64040         [C99-based standards] (INT_FAST32_MAX): Likewise.
64041         [C99-based standards] (INT_FAST64_MIN): Likewise.
64042         [C99-based standards] (INT_FAST64_MAX): Likewise.
64043         [C99-based standards] (UINT_FAST8_MAX): Likewise.
64044         [C99-based standards] (UINT_FAST16_MAX): Likewise.
64045         [C99-based standards] (UINT_FAST32_MAX): Likewise.
64046         [C99-based standards] (UINT_FAST64_MAX): Likewise.
64047         [C99-based standards] (INTPTR_MIN): Likewise.
64048         [C99-based standards] (INTPTR_MAX): Likewise.
64049         [C99-based standards] (UINTPTR_MAX): Likewise.
64050         [C99-based standards] (INTMAX_MIN): Likewise.
64051         [C99-based standards] (INTMAX_MAX): Likewise.
64052         [C99-based standards] (UINTMAX_MAX): Likewise.
64053         [C99-based standards] (PTRDIFF_MIN): Likewise.
64054         [C99-based standards] (PTRDIFF_MAX): Likewise.
64055         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64056         [C99-based standards] (SIZE_MAX): Likewise.
64057         [C99-based standards] (WCHAR_MAX): Likewise.
64058         [C99-based standards] (WINT_MAX): Likewise.
64059         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
64060         constraint on value.
64061         [C99-based standards] (WCHAR_MIN): Likewise.
64062         [C99-based standards] (WINT_MIN): Likewise.
64063         [C99-based standards] (*_t): Allow.
64064         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64065         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64066         Include math.h-data and complex.h-data.  Remove all expectations
64067         of math.h and complex.h contents.
64068         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64069         at end of line.
64070         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64071         (struct tm): Expect tag.
64072         [C99-based-standards] (wcstof): Expect function.
64073         [C99-based-standards] (wcstold): Likewise.
64074         [C99-based-standards] (wcstoll): Likewise.
64075         [C99-based-standards] (wcstoull): Likewise.
64076         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64077         macro-int-constant.  Specify type.
64078         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
64079         constraint on value.
64080         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64081         Specify type.
64082         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64083         Specify value.
64084         [ISO C standards]: Do not allow headers.
64085         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64086         wcs[abcdefghijklmnopqrstuvwxyz]*.
64087         [ISO C standards] (*_t): Do not allow.
64088         * conform/data/wctype.h-data [C99-based standards] (iswblank):
64089         Expect function.
64090         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64091         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64092         Specify type.
64093         [ISO C standards]: Do not allow headers.
64094         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64095         is[abcdefghijklmnopqrstuvwxyz]*.
64096         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64097         to[abcdefghijklmnopqrstuvwxyz]*.
64098         [ISO C standards] (*_t): Do not allow.
64099         * conform/data/stdalign.h-data: New file.
64100         * conform/data/stdbool.h-data: Likewise.
64101         * conform/data/stdnoreturn.h-data: Likewise.
64103 2012-11-07  Roland McGrath  <roland@hack.frob.com>
64105         [BZ #14815]
64106         * manual/filesys.texi (Directory Entries): Typo fix.
64107         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64109 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64111         * elf/elf.h (EM_AARCH64): New macro.
64112         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64113         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64114         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64115         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64116         (R_AARCH64_TLSDESC): Likewise.
64117         (NT_ARM_TLS): Likewise.
64118         (NT_ARM_HW_BREAK): Likewise.
64119         (NT_ARM_HW_WATCH): Likewise.
64121 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64123         [BZ #14811]
64124         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64125         (__ieee754_powl): Saturate nonzero exponents with absolute value
64126         below 0x1p-79 to +/- 0x1p-79.
64127         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64128         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64129         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64130         nonzero exponents with absolute value below 0x1p-32 to +/-
64131         0x1p-32.
64132         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64133         (__ieee754_powl): Saturate nonzero exponents with absolute value
64134         below 0x1p-79 to +/- 0x1p-79.
64135         * math/libm-test.inc (pow_test): Add more tests.
64137 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64139         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64140         _dl_s390_cap_flags with kernel. Increase string length.
64141         (_dl_s390_platforms): Add z196 and zEC12.
64143 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64145         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64146         Change XOPEN21K to XOPEN2K.
64148 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
64150         * string/memmove.c: Use memcpy when possible.
64152 2012-11-06  Andreas Jaeger  <aj@suse.de>
64154         * po/eo.po: Update from translation team.
64156 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
64158         [BZ #14793]
64159         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64160         exponent and small x and y exponents, scale x or y up.  Increase
64161         by 2 the exponent used in scaling up.
64162         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64164         * math/libm-test.inc (fma_test): Add more tests.
64165         (fma_test_towardzero): Likewise.
64166         (fma_test_downward): Likewise.
64167         (fma_test_upward): Likewise.
64169 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
64171         [BZ #14805]
64172         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64173         fenv_t *.
64175         [BZ #14801]
64176         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64177         namespace for names of struct fields.
64178         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64179         fenv_t fields.
64180         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64181         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64183 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64185         [BZ #3665]
64186         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64188 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64190         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64191         PTR_DEMANGLE.
64193         [BZ #5246]
64194         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64195         PTR_DEMANGLE.
64197 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
64199         [BZ #14797]
64200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64201         definitely overflow as x * y not x * y + z.
64202         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64203         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64204         * math/libm-test.inc (fma_test): Add more tests.
64205         (fma_test_towardzero): Likewise.
64206         (fma_test_downward): Likewise.
64207         (fma_test_upward): Likewise.
64209 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64211         [BZ #157]
64213         * include/stub-tag.h: Remove file.
64214         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64215         '#include' of it.
64216         * manual/maint.texi (Porting): Don't reference it.
64217         * Makerules ($(objpfx)stubs): Likewise.
64218         * dirent/closedir.c: Don't include <stub-tag.h>.
64219         * dirent/dirfd.c: Likewise.
64220         * dirent/fdopendir.c: Likewise.
64221         * dirent/getdents.c: Likewise.
64222         * dirent/getdents64.c: Likewise.
64223         * dirent/opendir.c: Likewise.
64224         * dirent/readdir.c: Likewise.
64225         * dirent/readdir64.c: Likewise.
64226         * dirent/readdir64_r.c: Likewise.
64227         * dirent/readdir_r.c: Likewise.
64228         * dirent/rewinddir.c: Likewise.
64229         * dirent/seekdir.c: Likewise.
64230         * dirent/telldir.c: Likewise.
64231         * gmon/profil.c: Likewise.
64232         * grp/setgroups.c: Likewise.
64233         * inet/if_index.c: Likewise.
64234         * io/access.c: Likewise.
64235         * io/chdir.c: Likewise.
64236         * io/chmod.c: Likewise.
64237         * io/chown.c: Likewise.
64238         * io/close.c: Likewise.
64239         * io/dup.c: Likewise.
64240         * io/dup2.c: Likewise.
64241         * io/dup3.c: Likewise.
64242         * io/euidaccess.c: Likewise.
64243         * io/faccessat.c: Likewise.
64244         * io/fchdir.c: Likewise.
64245         * io/fchmod.c: Likewise.
64246         * io/fchmodat.c: Likewise.
64247         * io/fchown.c: Likewise.
64248         * io/fchownat.c: Likewise.
64249         * io/fcntl.c: Likewise.
64250         * io/flock.c: Likewise.
64251         * io/fstatfs.c: Likewise.
64252         * io/fstatfs64.c: Likewise.
64253         * io/fstatvfs.c: Likewise.
64254         * io/fstatvfs64.c: Likewise.
64255         * io/futimens.c: Likewise.
64256         * io/fxstat.c: Likewise.
64257         * io/fxstat64.c: Likewise.
64258         * io/fxstatat.c: Likewise.
64259         * io/fxstatat64.c: Likewise.
64260         * io/getcwd.c: Likewise.
64261         * io/isatty.c: Likewise.
64262         * io/lchmod.c: Likewise.
64263         * io/lchown.c: Likewise.
64264         * io/link.c: Likewise.
64265         * io/linkat.c: Likewise.
64266         * io/lseek.c: Likewise.
64267         * io/lseek64.c: Likewise.
64268         * io/lxstat64.c: Likewise.
64269         * io/mkdir.c: Likewise.
64270         * io/mkdirat.c: Likewise.
64271         * io/mkfifo.c: Likewise.
64272         * io/mkfifoat.c: Likewise.
64273         * io/open.c: Likewise.
64274         * io/open64.c: Likewise.
64275         * io/openat.c: Likewise.
64276         * io/openat64.c: Likewise.
64277         * io/pipe.c: Likewise.
64278         * io/pipe2.c: Likewise.
64279         * io/poll.c: Likewise.
64280         * io/posix_fadvise.c: Likewise.
64281         * io/posix_fadvise64.c: Likewise.
64282         * io/posix_fallocate.c: Likewise.
64283         * io/posix_fallocate64.c: Likewise.
64284         * io/read.c: Likewise.
64285         * io/readlink.c: Likewise.
64286         * io/readlinkat.c: Likewise.
64287         * io/rmdir.c: Likewise.
64288         * io/sendfile.c: Likewise.
64289         * io/sendfile64.c: Likewise.
64290         * io/statfs.c: Likewise.
64291         * io/statfs64.c: Likewise.
64292         * io/statvfs.c: Likewise.
64293         * io/statvfs64.c: Likewise.
64294         * io/symlink.c: Likewise.
64295         * io/symlinkat.c: Likewise.
64296         * io/ttyname.c: Likewise.
64297         * io/ttyname_r.c: Likewise.
64298         * io/umask.c: Likewise.
64299         * io/unlink.c: Likewise.
64300         * io/unlinkat.c: Likewise.
64301         * io/utime.c: Likewise.
64302         * io/utimensat.c: Likewise.
64303         * io/write.c: Likewise.
64304         * io/xmknod.c: Likewise.
64305         * io/xmknodat.c: Likewise.
64306         * io/xstat.c: Likewise.
64307         * io/xstat64.c: Likewise.
64308         * login/getpt.c: Likewise.
64309         * login/grantpt.c: Likewise.
64310         * login/unlockpt.c: Likewise.
64311         * math/e_acoshl.c: Likewise.
64312         * math/e_acosl.c: Likewise.
64313         * math/e_asinl.c: Likewise.
64314         * math/e_atan2l.c: Likewise.
64315         * math/e_atanhl.c: Likewise.
64316         * math/e_coshl.c: Likewise.
64317         * math/e_expl.c: Likewise.
64318         * math/e_fmodl.c: Likewise.
64319         * math/e_gammal_r.c: Likewise.
64320         * math/e_hypotl.c: Likewise.
64321         * math/e_j0l.c: Likewise.
64322         * math/e_j1l.c: Likewise.
64323         * math/e_jnl.c: Likewise.
64324         * math/e_lgammal_r.c: Likewise.
64325         * math/e_log10l.c: Likewise.
64326         * math/e_log2l.c: Likewise.
64327         * math/e_logl.c: Likewise.
64328         * math/e_powl.c: Likewise.
64329         * math/e_rem_pio2l.c: Likewise.
64330         * math/e_sinhl.c: Likewise.
64331         * math/e_sqrtl.c: Likewise.
64332         * math/fclrexcpt.c: Likewise.
64333         * math/fedisblxcpt.c: Likewise.
64334         * math/feenablxcpt.c: Likewise.
64335         * math/fegetenv.c: Likewise.
64336         * math/fegetexcept.c: Likewise.
64337         * math/fegetround.c: Likewise.
64338         * math/feholdexcpt.c: Likewise.
64339         * math/fesetenv.c: Likewise.
64340         * math/fesetround.c: Likewise.
64341         * math/feupdateenv.c: Likewise.
64342         * math/fgetexcptflg.c: Likewise.
64343         * math/fraiseexcpt.c: Likewise.
64344         * math/fsetexcptflg.c: Likewise.
64345         * math/ftestexcept.c: Likewise.
64346         * math/k_cosl.c: Likewise.
64347         * math/k_rem_pio2l.c: Likewise.
64348         * math/k_sinl.c: Likewise.
64349         * math/k_tanl.c: Likewise.
64350         * math/s_asinhl.c: Likewise.
64351         * math/s_atanl.c: Likewise.
64352         * math/s_cbrtl.c: Likewise.
64353         * math/s_erfl.c: Likewise.
64354         * math/s_expm1l.c: Likewise.
64355         * math/s_log1pl.c: Likewise.
64356         * math/s_tanhl.c: Likewise.
64357         * misc/acct.c: Likewise.
64358         * misc/brk.c: Likewise.
64359         * misc/chflags.c: Likewise.
64360         * misc/chroot.c: Likewise.
64361         * misc/fchflags.c: Likewise.
64362         * misc/fgetxattr.c: Likewise.
64363         * misc/flistxattr.c: Likewise.
64364         * misc/fremovexattr.c: Likewise.
64365         * misc/fsetxattr.c: Likewise.
64366         * misc/fsync.c: Likewise.
64367         * misc/ftruncate.c: Likewise.
64368         * misc/futimes.c: Likewise.
64369         * misc/futimesat.c: Likewise.
64370         * misc/getdomain.c: Likewise.
64371         * misc/getdtsz.c: Likewise.
64372         * misc/gethostid.c: Likewise.
64373         * misc/gethostname.c: Likewise.
64374         * misc/getloadavg.c: Likewise.
64375         * misc/getpagesize.c: Likewise.
64376         * misc/getsysstats.c: Likewise.
64377         * misc/getxattr.c: Likewise.
64378         * misc/gtty.c: Likewise.
64379         * misc/ioctl.c: Likewise.
64380         * misc/lgetxattr.c: Likewise.
64381         * misc/listxattr.c: Likewise.
64382         * misc/llistxattr.c: Likewise.
64383         * misc/lremovexattr.c: Likewise.
64384         * misc/lsetxattr.c: Likewise.
64385         * misc/lutimes.c: Likewise.
64386         * misc/madvise.c: Likewise.
64387         * misc/mincore.c: Likewise.
64388         * misc/mlock.c: Likewise.
64389         * misc/mlockall.c: Likewise.
64390         * misc/mmap.c: Likewise.
64391         * misc/mprotect.c: Likewise.
64392         * misc/msync.c: Likewise.
64393         * misc/munlock.c: Likewise.
64394         * misc/munlockall.c: Likewise.
64395         * misc/munmap.c: Likewise.
64396         * misc/preadv.c: Likewise.
64397         * misc/preadv64.c: Likewise.
64398         * misc/ptrace.c: Likewise.
64399         * misc/pwritev.c: Likewise.
64400         * misc/pwritev64.c: Likewise.
64401         * misc/readv.c: Likewise.
64402         * misc/reboot.c: Likewise.
64403         * misc/remap_file_pages.c: Likewise.
64404         * misc/removexattr.c: Likewise.
64405         * misc/revoke.c: Likewise.
64406         * misc/select.c: Likewise.
64407         * misc/setdomain.c: Likewise.
64408         * misc/setegid.c: Likewise.
64409         * misc/seteuid.c: Likewise.
64410         * misc/sethostid.c: Likewise.
64411         * misc/sethostname.c: Likewise.
64412         * misc/setregid.c: Likewise.
64413         * misc/setreuid.c: Likewise.
64414         * misc/setxattr.c: Likewise.
64415         * misc/sstk.c: Likewise.
64416         * misc/stty.c: Likewise.
64417         * misc/swapoff.c: Likewise.
64418         * misc/swapon.c: Likewise.
64419         * misc/sync.c: Likewise.
64420         * misc/syncfs.c: Likewise.
64421         * misc/syscall.c: Likewise.
64422         * misc/truncate.c: Likewise.
64423         * misc/ualarm.c: Likewise.
64424         * misc/usleep.c: Likewise.
64425         * misc/ustat.c: Likewise.
64426         * misc/utimes.c: Likewise.
64427         * misc/vhangup.c: Likewise.
64428         * misc/writev.c: Likewise.
64429         * posix/_exit.c: Likewise.
64430         * posix/alarm.c: Likewise.
64431         * posix/execve.c: Likewise.
64432         * posix/fexecve.c: Likewise.
64433         * posix/fork.c: Likewise.
64434         * posix/fpathconf.c: Likewise.
64435         * posix/getaddrinfo.c: Likewise.
64436         * posix/getegid.c: Likewise.
64437         * posix/geteuid.c: Likewise.
64438         * posix/getgid.c: Likewise.
64439         * posix/getgroups.c: Likewise.
64440         * posix/getlogin.c: Likewise.
64441         * posix/getlogin_r.c: Likewise.
64442         * posix/getpgid.c: Likewise.
64443         * posix/getpid.c: Likewise.
64444         * posix/getppid.c: Likewise.
64445         * posix/getresgid.c: Likewise.
64446         * posix/getresuid.c: Likewise.
64447         * posix/getsid.c: Likewise.
64448         * posix/getuid.c: Likewise.
64449         * posix/glob64.c: Likewise.
64450         * posix/nanosleep.c: Likewise.
64451         * posix/pathconf.c: Likewise.
64452         * posix/pause.c: Likewise.
64453         * posix/posix_madvise.c: Likewise.
64454         * posix/pread.c: Likewise.
64455         * posix/pread64.c: Likewise.
64456         * posix/pwrite.c: Likewise.
64457         * posix/pwrite64.c: Likewise.
64458         * posix/sched_getaffinity.c: Likewise.
64459         * posix/sched_getp.c: Likewise.
64460         * posix/sched_gets.c: Likewise.
64461         * posix/sched_primax.c: Likewise.
64462         * posix/sched_primin.c: Likewise.
64463         * posix/sched_rr_gi.c: Likewise.
64464         * posix/sched_setaffinity.c: Likewise.
64465         * posix/sched_setp.c: Likewise.
64466         * posix/sched_sets.c: Likewise.
64467         * posix/sched_yield.c: Likewise.
64468         * posix/setgid.c: Likewise.
64469         * posix/setlogin.c: Likewise.
64470         * posix/setpgid.c: Likewise.
64471         * posix/setresgid.c: Likewise.
64472         * posix/setresuid.c: Likewise.
64473         * posix/setsid.c: Likewise.
64474         * posix/setuid.c: Likewise.
64475         * posix/sleep.c: Likewise.
64476         * posix/spawni.c: Likewise.
64477         * posix/sysconf.c: Likewise.
64478         * posix/times.c: Likewise.
64479         * posix/wait.c: Likewise.
64480         * posix/wait3.c: Likewise.
64481         * posix/wait4.c: Likewise.
64482         * posix/waitpid.c: Likewise.
64483         * resolv/gai_sigqueue.c: Likewise.
64484         * resource/getpriority.c: Likewise.
64485         * resource/getrlimit.c: Likewise.
64486         * resource/getrusage.c: Likewise.
64487         * resource/nice.c: Likewise.
64488         * resource/setpriority.c: Likewise.
64489         * resource/setrlimit.c: Likewise.
64490         * resource/ulimit.c: Likewise.
64491         * rt/aio_cancel.c: Likewise.
64492         * rt/aio_fsync.c: Likewise.
64493         * rt/aio_read.c: Likewise.
64494         * rt/aio_sigqueue.c: Likewise.
64495         * rt/aio_suspend.c: Likewise.
64496         * rt/aio_write.c: Likewise.
64497         * rt/clock_getres.c: Likewise.
64498         * rt/clock_gettime.c: Likewise.
64499         * rt/clock_nanosleep.c: Likewise.
64500         * rt/clock_settime.c: Likewise.
64501         * rt/lio_listio.c: Likewise.
64502         * rt/mq_close.c: Likewise.
64503         * rt/mq_getattr.c: Likewise.
64504         * rt/mq_notify.c: Likewise.
64505         * rt/mq_open.c: Likewise.
64506         * rt/mq_receive.c: Likewise.
64507         * rt/mq_send.c: Likewise.
64508         * rt/mq_setattr.c: Likewise.
64509         * rt/mq_timedreceive.c: Likewise.
64510         * rt/mq_timedsend.c: Likewise.
64511         * rt/mq_unlink.c: Likewise.
64512         * rt/shm_open.c: Likewise.
64513         * rt/shm_unlink.c: Likewise.
64514         * rt/timer_create.c: Likewise.
64515         * rt/timer_delete.c: Likewise.
64516         * rt/timer_getoverr.c: Likewise.
64517         * rt/timer_gettime.c: Likewise.
64518         * rt/timer_settime.c: Likewise.
64519         * setjmp/__longjmp.c: Likewise.
64520         * setjmp/setjmp.c: Likewise.
64521         * signal/kill.c: Likewise.
64522         * signal/killpg.c: Likewise.
64523         * signal/raise.c: Likewise.
64524         * signal/sigaction.c: Likewise.
64525         * signal/sigaltstack.c: Likewise.
64526         * signal/sigblock.c: Likewise.
64527         * signal/sigignore.c: Likewise.
64528         * signal/sigintr.c: Likewise.
64529         * signal/signal.c: Likewise.
64530         * signal/sigpause.c: Likewise.
64531         * signal/sigpending.c: Likewise.
64532         * signal/sigqueue.c: Likewise.
64533         * signal/sigreturn.c: Likewise.
64534         * signal/sigset.c: Likewise.
64535         * signal/sigsetmask.c: Likewise.
64536         * signal/sigstack.c: Likewise.
64537         * signal/sigsuspend.c: Likewise.
64538         * signal/sigtimedwait.c: Likewise.
64539         * signal/sigvec.c: Likewise.
64540         * signal/sigwait.c: Likewise.
64541         * signal/sigwaitinfo.c: Likewise.
64542         * signal/sysv_signal.c: Likewise.
64543         * socket/accept.c: Likewise.
64544         * socket/accept4.c: Likewise.
64545         * socket/bind.c: Likewise.
64546         * socket/connect.c: Likewise.
64547         * socket/getpeername.c: Likewise.
64548         * socket/getsockname.c: Likewise.
64549         * socket/getsockopt.c: Likewise.
64550         * socket/isfdtype.c: Likewise.
64551         * socket/listen.c: Likewise.
64552         * socket/recv.c: Likewise.
64553         * socket/recvfrom.c: Likewise.
64554         * socket/recvmsg.c: Likewise.
64555         * socket/send.c: Likewise.
64556         * socket/sendmsg.c: Likewise.
64557         * socket/sendto.c: Likewise.
64558         * socket/setsockopt.c: Likewise.
64559         * socket/shutdown.c: Likewise.
64560         * socket/sockatmark.c: Likewise.
64561         * socket/socket.c: Likewise.
64562         * socket/socketpair.c: Likewise.
64563         * stdio-common/ctermid.c: Likewise.
64564         * stdio-common/cuserid.c: Likewise.
64565         * stdio-common/remove.c: Likewise.
64566         * stdio-common/rename.c: Likewise.
64567         * stdio-common/renameat.c: Likewise.
64568         * stdio-common/tempname.c: Likewise.
64569         * stdlib/getcontext.c: Likewise.
64570         * stdlib/makecontext.c: Likewise.
64571         * stdlib/setcontext.c: Likewise.
64572         * stdlib/swapcontext.c: Likewise.
64573         * stdlib/system.c: Likewise.
64574         * streams/fattach.c: Likewise.
64575         * streams/fdetach.c: Likewise.
64576         * streams/getmsg.c: Likewise.
64577         * streams/getpmsg.c: Likewise.
64578         * streams/putmsg.c: Likewise.
64579         * streams/putpmsg.c: Likewise.
64580         * sysdeps/unix/bsd/getpt.c: Likewise.
64581         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64582         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64583         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64585         Likewise.
64586         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64587         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64588         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64589         * sysvipc/msgctl.c: Likewise.
64590         * sysvipc/msgget.c: Likewise.
64591         * sysvipc/msgrcv.c: Likewise.
64592         * sysvipc/msgsnd.c: Likewise.
64593         * sysvipc/semctl.c: Likewise.
64594         * sysvipc/semget.c: Likewise.
64595         * sysvipc/semop.c: Likewise.
64596         * sysvipc/semtimedop.c: Likewise.
64597         * sysvipc/shmat.c: Likewise.
64598         * sysvipc/shmctl.c: Likewise.
64599         * sysvipc/shmdt.c: Likewise.
64600         * sysvipc/shmget.c: Likewise.
64601         * termios/tcdrain.c: Likewise.
64602         * termios/tcflow.c: Likewise.
64603         * termios/tcflush.c: Likewise.
64604         * termios/tcgetattr.c: Likewise.
64605         * termios/tcgetpgrp.c: Likewise.
64606         * termios/tcsendbrk.c: Likewise.
64607         * termios/tcsetattr.c: Likewise.
64608         * termios/tcsetpgrp.c: Likewise.
64609         * time/adjtime.c: Likewise.
64610         * time/clock.c: Likewise.
64611         * time/getitimer.c: Likewise.
64612         * time/gettimeofday.c: Likewise.
64613         * time/setitimer.c: Likewise.
64614         * time/settimeofday.c: Likewise.
64615         * time/stime.c: Likewise.
64616         * time/time.c: Likewise.
64618 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
64620         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64621         /usr/old/bin.
64623         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64624         instead of spaces.
64625         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64627 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
64629         [BZ #14796]
64630         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64631         FE_TONEAREST before applying Dekker multiplication and Knuth
64632         addition.  Clear inexact exceptions and check for exact zero
64633         results afterwards.
64634         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64635         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64636         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64637         * math/libm-test.inc (fma_test): Add more tests.
64638         (fma_test_towardzero): Likewise.
64639         (fma_test_downward): Likewise.
64640         (fma_test_upward): Likewise.
64641         * sysdeps/generic/math_private.h (default_libc_fesetround): New
64642         function.
64643         (libc_fesetround): New macro.
64644         (libc_fesetroundf): Likewise.
64645         (libc_fesetroundl): Likewise.
64646         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64647         function.
64648         (libc_fesetround_387): Likewise.
64649         (libc_fesetroundf): New macro.
64650         (libc_fesetround): Likewise.
64651         (libc_fesetroundl): Likewise.
64652         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64653         function.
64654         (libc_fesetroundf): New macro.
64655         (libc_fesetround): Likewise.
64656         (libc_fesetroundl): Likewise.
64657         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64658         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64659         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64660         libm_hidden_ver.
64661         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64662         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64663         libm_hidden_def.
64664         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64665         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64666         libm_hidden_ver.
64667         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64668         libm_hidden_def.
64670         [BZ #3439]
64671         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64672         integer constant usable in #if and use that to give value to enum
64673         constant.
64674         (FE_DIVBYZERO): Likewise.
64675         (FE_UNDERFLOW): Likewise.
64676         (FE_OVERFLOW): Likewise.
64677         (FE_INVALID): Likewise.
64678         (FE_INVALID_SNAN): Likewise.
64679         (FE_INVALID_ISI): Likewise.
64680         (FE_INVALID_IDI): Likewise.
64681         (FE_INVALID_ZDZ): Likewise.
64682         (FE_INVALID_IMZ): Likewise.
64683         (FE_INVALID_COMPARE): Likewise.
64684         (FE_INVALID_SOFTWARE): Likewise.
64685         (FE_INVALID_SQRT): Likewise.
64686         (FE_INVALID_INTEGER_CONVERSION): Likewise.
64687         (FE_TONEAREST): Likewise.
64688         (FE_TOWARDZERO): Likewise.
64689         (FE_UPWARD): Likewise.
64690         (FE_DOWNWARD): Likewise.
64691         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64692         (FE_DIVBYZERO): Likewise.
64693         (FE_OVERFLOW): Likewise.
64694         (FE_UNDERFLOW): Likewise.
64695         (FE_INEXACT): Likewise.
64696         (FE_TONEAREST): Likewise.
64697         (FE_DOWNWARD): Likewise.
64698         (FE_UPWARD): Likewise.
64699         (FE_TOWARDZERO): Likewise.
64700         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64701         (FE_UNDERFLOW): Likewise.
64702         (FE_OVERFLOW): Likewise.
64703         (FE_DIVBYZERO): Likewise.
64704         (FE_INVALID): Likewise.
64705         (FE_TONEAREST): Likewise.
64706         (FE_TOWARDZERO): Likewise.
64707         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64708         (FE_OVERFLOW): Likewise.
64709         (FE_UNDERFLOW): Likewise.
64710         (FE_DIVBYZERO): Likewise.
64711         (FE_INEXACT): Likewise.
64712         (FE_TONEAREST): Likewise.
64713         (FE_TOWARDZERO): Likewise.
64714         (FE_UPWARD): Likewise.
64715         (FE_DOWNWARD): Likewise.
64716         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64717         (FE_DIVBYZERO): Likewise.
64718         (FE_OVERFLOW): Likewise.
64719         (FE_UNDERFLOW): Likewise.
64720         (FE_INEXACT): Likewise.
64721         (FE_TONEAREST): Likewise.
64722         (FE_DOWNWARD): Likewise.
64723         (FE_UPWARD): Likewise.
64724         (FE_TOWARDZERO): Likewise.
64726 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
64728         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64730 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
64732         * scripts/cross-test-ssh.sh (command): Use newlines to separate
64733         commands.  Quote $PWD.
64734         (blacklist_exports): Don't use remove_newlines.  Replace "declare
64735         -x" by "export".
64736         (remove_newlines): Remove.
64738 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
64740         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64741         * stdlib/stdlib.h (atof): Moved to ...
64742         * include/bits/stdlib-float.h: Here.  New file.
64743         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64744         * stdlib/bits/stdlib-float.h: New file.
64745         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64746         -mno-sse -mno-mmx.
64747         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64748         <xmmintrin.h>.
64750 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64752         * conform/conformtest.pl (@headers): Add fenv.h.
64753         * conform/data/fenv.h-data: New file.
64754         * include/fenv.h [_ISOMAC]: Disable all contents of file except
64755         include of <math/fenv.h>.
64757         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64758         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64759         && !UNIX98].  Enables tests for XOPEN2K8.
64760         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64761         POSIX2008]: Likewise.
64763         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64764         (struct rusage): Do not expect type or its members.
64766         [BZ #3439]
64767         * math/math.h (FP_NAN): Define macro to integer constant usable in
64768         #if and use that to give value to enum constant.
64769         (FP_INFINITE): Likewise.
64770         (FP_ZERO): Likewise.
64771         (FP_SUBNORMAL): Likewise.
64772         (FP_NORMAL): Likewise.
64774 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
64776         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64777         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64778         arguments.
64780 2012-11-02  Roland McGrath  <roland@hack.frob.com>
64782         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64783         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64784         autoconf-time if not.
64785         * configure.in: Remove AC_PREREQ.
64787 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64789         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64790         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64791         of the internal implementation.
64793 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64795         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64796         except include of <misc/sys/syslog.h>.
64798 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64801         function returns with a NULL context exit with zero.
64803 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64805         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64807 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
64809         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64810         (run_program_cmd): This.
64811         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64812         (tst_langinfo): New variable.  Use it.
64814 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
64816         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64817         floating point opcodes.
64819 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64821         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64822         variable.
64824         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64826         * sysdeps/mach/hurd/powerpc: Remove directory.
64827         * sysdeps/mach/powerpc: Likewise.
64829 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64831         * scripts/check-local-headers.sh: Ignore c++ headers.
64833 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64835         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64836         __libc_cleanup_region_start argument.
64838 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
64840         [BZ #14784]
64841         [BZ #14785]
64842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64843         x * y using scaling, not as x * y + z.
64844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64846         * math/libm-test.inc (fma_test): Add more tests.
64847         (fma_test_towardzero): Likewise.
64848         (fma_test_downward): Likewise.
64849         (fma_test_upward): Likewise.
64851 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64853         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64855 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64857         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64858         New variable.
64860 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
64862         * rt/tst-shm.c (worker): Correct checking for mmap failure.
64864 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64867         Fix sort order.
64868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64869         Likewise.
64871 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64874         Fix the order of the list for glibc 2.17.
64875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64876         Likewise.
64878 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64882 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64884         [BZ #14610]
64885         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64886         for low part of x being zero before using __atanl (y).
64887         * math/libm-test.inc (atan2_test): Add another test.
64889         * manual/install.texi (Configuring and compiling): Document
64890         general use of test-wrapper and test-wrapper-env.
64891         * INSTALL: Regenerated.
64893         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64894         (__fma): Do not extract and scale down low bits on after-rounding
64895         systems when result rounded to normal precision would have normal
64896         exponent.
64897         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64898         (__fmal): Do not extract and scale down low bits on after-rounding
64899         systems when result rounded to normal precision would have normal
64900         exponent.
64901         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64902         (__fmal): Do not extract and scale down low bits on after-rounding
64903         systems when result rounded to normal precision would have normal
64904         exponent.
64905         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64906         macro.
64907         (fma_test): Add more tests.
64908         (fma_test_towardzero): Likewise.
64909         (fma_test_downward): Likewise.
64910         (fma_test_upward): Likewise.
64912 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
64914         * sysdeps/i386/tininess.h: Renamed to ...
64915         * sysdeps/x86/tininess.h: This.
64916         * sysdeps/x86_64/tininess.h: Removed.
64918 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64920         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64921         input.  Use $(build-program-cmd).
64922         ($(objpfx)tst-array1-static.out): Likewise.
64923         ($(objpfx)tst-array2.out): Likewise.
64924         ($(objpfx)tst-array3.out): Likewise.
64925         ($(objpfx)tst-array4.out): Likewise.
64926         ($(objpfx)tst-array5.out): Likewise.
64927         ($(objpfx)tst-array5-static.out): Likewise.
64929 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
64931         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64932         if defined.
64934         * nss/nsswitch.h (nss_interface_function): Provide new
64935         macro for use with NSS functions.
64936         * grp/initgroups.c: Use new macro.
64937         * nss/getXXbyYY.c: Likewise.
64938         * nss/getXXbyYY_r.c: Likewise.
64939         * nss/getXXent.c: Likewise.
64940         * nss/getXXent_r.c: Likewise.
64941         * sysdeps/posix/getaddrinfo.c: Likewise.
64943 2012-10-30  Andreas Jaeger  <aj@suse.de>
64945         * po/ru.po: Update Russion translation from translation project.
64947 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64949         [BZ #14152]
64950         [BZ #14783]
64951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64952         result and shift together with sticky bit instead of replicating
64953         round-to-nearest rounding.
64954         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64955         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64956         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
64957         missing underflow exceptions.
64958         (fma_test_towardzero): Add more tests.
64959         (fma_test_downward): Likewise.
64960         (fma_test_upward): Likewise.
64962         [BZ #14047]
64963         * sysdeps/generic/tininess.h: New file.
64964         * sysdeps/i386/tininess.h: Likewise.
64965         * sysdeps/sh/tininess.h: Likewise.
64966         * sysdeps/x86_64/tininess.h: Likewise.
64967         * stdlib/tst-strtod-underflow.c: Likewise.
64968         * stdlib/tst-tininess.c: Likewise.
64969         * stdlib/strtod_l.c: Include <tininess.h>.
64970         (round_and_return): Do not set errno for exact underflow cases.
64971         Force an underflow exception when setting errno for underflow.
64972         Determine underflow based on rounding to normal precision if
64973         TININESS_AFTER_ROUNDING.
64974         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64975         ERANGE for exact underflow cases.
64976         * stdlib/Makefile (tests): Add tst-tininess and
64977         tst-strtod-underflow.
64978         ($(objpfx)tst-tininess): Use $(link-libm).
64979         ($(objpfx)tst-strtod-underflow): Likewise.
64981 2012-10-30  Andreas Jaeger  <aj@suse.de>
64983         [BZ#14767]
64984         * elf/Makefile (tests): Remove conditional for have-initfini-array
64985         since this is now always required and the variable does not exist
64986         anymore.
64987         (tests-static): Likewise.
64988         (modules-names): Likewise.
64990         * po/eo.po: Add Esperanto translation from translation project.
64992         * elf/tst-array1.c (fini_array): Make writeable so that it can be
64993         merged with constructor/destructor.
64994         (init_array): Likewise.
64995         * elf/tst-array2dep.c (fini_array): Likewise.
64996         (init_array): Likewise.
64998 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
65000         * manual/message.texi: Delete @cartouche tags.
65002 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
65004         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
65005         EOPNOTSUPP.
65006         * sysdeps/mach/hurd/fsync.c: Likewise.
65008         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
65009         [_POSIX_REALTIME_SIGNALS]: Change condition to
65010         [_POSIX_REALTIME_SIGNALS > 0].
65012 2012-10-27  Andreas Jaeger  <aj@suse.de>
65014         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
65015         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
65016         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
65017         [__WORDSIZE != 64]: Likewise.
65019 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
65021         *  iconvdata/tst-table.sh: Remove ${SHELL}.
65022         *  iconvdata/tst-tables.sh: Likewise.
65024 2012-10-25  David S. Miller  <davem@davemloft.net>
65026         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65027         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65028         of strtoull.
65030         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65031         ifunc-impl-list.c
65032         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65033         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65034         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65035         file.
65037 2012-10-25  Roland McGrath  <roland@hack.frob.com>
65039         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65040         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65041         __getdirentries.
65043 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
65044             Jim Blandy  <jimb@codesourcery.com>
65046         * scripts/cross-test-ssh.sh: New file.
65047         * manual/install.texi (Configuring and compiling): Document use of
65048         cross-test-ssh.sh.
65049         * INSTALL: Regenerated.
65051 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
65053         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65054         EOPNOTSUPP.
65056 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
65058         * Makeconfig (run-program-prefix): Fix comment.
65060 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65061             Jim Blandy  <jimb@codesourcery.com>
65063         * Makeconfig (test-wrapper): New variable,
65064         (test-wrapper-env): Likewise.
65065         [$(cross-compiling) = yes && $(test-wrapper) != ""]
65066         (run-built-tests): Define to yes.
65067         (run-program-prefix): Use $(test-wrapper).
65068         (built-program-cmd): Likewise.
65069         * Rules (make-test-out): Use $(test-wrapper-env) and
65070         $(host-built-program-cmd).
65071         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65072         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65073         tst-pathopt.sh.
65074         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65075         $(test-wrapper-env) to tst-rtld-load-self.sh.
65076         ($(objpfx)order2.out): Use $(test-wrapper).
65077         ($(objpfx)tst-initorder.out): Likewise.
65078         ($(objpfx)tst-initorder2.out): Likewise.
65079         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65080         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65081         (test_wrapper_env): New variable.  Use it to run ld.so.
65082         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65083         Use it to run ld.so.
65084         (test_wrapper_env): Likewise.
65085         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65086         $(test-wrapper) to run-iconv-test.sh.
65087         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65088         (ICONV): Use $test_wrapper.
65089         * posix/Makefile ($(objpfx)globtest.out): Pass
65090         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65091         globtest.sh, not $(run-program-prefix).
65092         * posix/globtest.sh (run_via_rtld_prefix): New variable.
65093         (test_wrapper): Likewise.
65094         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
65095         set together with run_via_rtld_prefix.
65096         (run_program_prefix): Define in terms of test_wrapper and
65097         run_via_rtld_prefix.
65099 2012-10-24  Roland McGrath  <roland@hack.frob.com>
65101         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65102         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65103         Targets removed.
65105         [BZ #14743]
65106         * include/time.h: Remove librt_hidden_proto (clock_gettime).
65107         Declare __clock_getres, __clock_gettime, __clock_settime,
65108         __clock_nanosleep, and __clock_getcpuclockid.
65109         * rt/clock_gettime.c: Define __clock_gettime as an alias.
65110         Remove librt_hidden_def (clock_gettime).
65111         * sysdeps/unix/clock_gettime.c: Likewise.
65112         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65113         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65114         * rt/clock_getres.c: Define __clock_getres as an alias.
65115         * sysdeps/posix/clock_getres.c: Likewise.
65116         * rt/clock_settime.c: Define __clock_settime as an alias.
65117         * sysdeps/unix/clock_settime.c: Likewise.
65118         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65119         * sysdeps/unix/clock_nanosleep.c: Likewise.
65120         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65121         * rt/clock-compat.c: New file.
65122         * rt/Makefile (librt-routines): Add clock-compat and move
65123         $(clock-routines) to ...
65124         (routines): ... here, new variable.
65125         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65126         Don't add get_clockfreq here.
65127         * rt/Versions (libc: GLIBC_2.17): New version set.
65128         Add clock_* symbols here.
65129         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
65130         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65131         (GLIBC_2.17): Add clock_* symbols.
65132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65134         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65136         Likewise.
65137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65138         Likewise.
65139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65143         * NEWS: Mention the move.
65145         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65146         Use __open, __read, __close rather than their public counterparts.
65147         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65148         (__get_clockfreq_via_cpuinfo): Likewise.
65149         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65150         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65152         * config.h.in (HAVE_IFUNC): New #undef.
65153         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65154         was successful.
65155         * configure: Regenerated.
65157 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65159         * configure.in: Move READELF check to start of file.
65160         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65161         libc_cv_asm_gnu_indirect_function in the process.
65162         * configure: Regenerated.
65164 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65166         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65167         send the output to /dev/null.
65168         (libc_cv_cc_with_libunwind): Likewise.
65169         (libc_cv_as_noexecstack): Likewise.
65170         * configure: Regenerate.
65172 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65174         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65176         * posix/globtest.sh (TMPDIR): Do not set.
65177         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65178         (testout): Likewise.
65180 2012-10-24  Andreas Jaeger  <aj@suse.de>
65182         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65183         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65184         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65185         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65186         posix_fadvise64, posix_fallocate64.
65188         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65189         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65190         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65191         Likewise.
65192         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65193         Likewise.
65194         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65196         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65197         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65198         <bits/fcntl-linux.h>.
65199         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65201         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65202         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65203         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65204         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65205         [__WORDSIZE != 64]: Likewise.
65207 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65209         * Makeconfig (run-built-tests): New variable.
65210         * Rules [$(cross-compiling) = yes]: Change condition to
65211         [$(run-built-tests) = no].
65212         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65213         to [$(run-built-tests) = yes].
65214         * elf/Makefile [$(cross-compiling) = no]: Likewise.
65215         * grp/Makefile [$(cross-compiling) = no]: Likewise.
65216         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65217         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65218         * intl/Makefile [$(cross-compiling) = no]: Likewise.
65219         * io/Makefile [$(cross-compiling) = no]: Likewise.
65220         * libio/Makefile [$(cross-compiling) = no]: Likewise.
65221         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65222         * misc/Makefile [$(cross-compiling) = no]: Likewise.
65223         * posix/Makefile [$(cross-compiling) = no]: Likewise.
65224         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65225         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65226         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65227         * string/Makefile [$(cross-compiling) = no]: Likewise.
65229         * posix/Makefile ($(objpfx)globtest.out): Pass
65230         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65231         $(rtld-installed-name).
65232         * posix/globtest.sh (elf_objpfx): Remove variable.
65233         (rtld_installed_name): Likewise.
65234         (library_path): Likewise.
65235         (run_program_prefix): New variable.  Use for running globtest
65236         binary.
65238 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
65239             Joseph Myers  <joseph@codesourcery.com>
65241         * Makeconfig (host-built-program-cmd): New variable.
65242         * elf/Makefile (tst-stackguard1-ARGS): Use
65243         $(host-built-program-cmd).
65244         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65245         (tst-spawn-ARGS): Likewise.
65246         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65248 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65249             Jim Blandy  <jimb@codesourcery.com>
65251         * Makeconfig (run-via-rtld-prefix): New variable.
65252         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65253         (built-program-cmd): Likewise.
65255 2012-10-22  Andreas Jaeger  <aj@suse.de>
65257         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65258         __O_RSYNC if it exists, otherwise to O_SYNC.
65260 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
65261             Joseph Myers  <joseph@codesourcery.com>
65263         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65264         /dev/null.
65265         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65266         from /dev/null
65267         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65268         /dev/null.
65270 2012-10-22  Andreas Jaeger  <aj@suse.de>
65272         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65273         Define always.
65274         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65276         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65277         bits/fcntl-linux.h.
65279         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65280         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65283         to __O_LARGEFILE.
65284         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65285         to __O_LARGEFILE.
65287 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
65288             Joseph Myers  <joseph@codesourcery.com>
65290         * config.make.in (NM): New variable.
65292 2012-10-21  Andreas Jaeger  <aj@suse.de>
65294         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65295         definitions and declarations that are provided by
65296         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65298 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65300         [BZ #14683]
65301         * elf/Makefile (tests-static): Add tst-leaks1-static.
65302         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65303         ($(objpfx)tst-leaks1-static): New rule.
65304         ($(objpfx)tst-leaks1-static-mem): Likewise.
65305         (tst-leaks1-static-ENV): New macro.
65306         * elf/dl-open.c (dl_open_worker): Check the main application
65307         only if SHARED is defined.
65308         * elf/tst-leaks1-static.c: New file.
65310 2012-10-20  Andreas Jaeger  <aj@suse.de>
65312         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65313         generic values for Linux.
65314         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65315         and declarations that are provided by <bits/fcntl-linux.h> and
65316         include <bits/fcntl-linux.h>.
65317         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65320 2012-10-20  Roland McGrath  <roland@hack.frob.com>
65322         * io/fcntl.h: Move include of <bits/types.h> to the top and
65323         include it unconditionally.
65325 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65327         * wcsmbs/Makefile (tests-ifunc): New variable.
65328         (tests): Add $(tests-ifunc).
65329         * wcsmbs/test-wcschr-ifunc.c: New file.
65330         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65331         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65332         * wcsmbs/test-wcslen-ifunc.c: Likewise.
65333         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65334         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65336         * string/Makefile (tests-ifunc): New variable.
65337         (tests): Add $(tests-ifunc).
65338         * string/test-memccpy.c (TEST_NAME): New macro.
65339         * string/test-memchr.c (TEST_NAME): Likewise.
65340         * string/test-memcmp.c (TEST_NAME): Likewise.
65341         * string/test-memcpy.c (TEST_NAME): Likewise.
65342         * string/test-memmem.c (TEST_NAME): Likewise.
65343         * string/test-memmove.c (TEST_NAME): Likewise.
65344         * string/test-memset.c (TEST_NAME): Likewise.
65345         * string/test-rawmemchr.c (TEST_NAME): Likewise.
65346         * string/test-stpcpy.c (TEST_NAME): Likewise.
65347         * string/test-stpncpy.c (TEST_NAME): Likewise.
65348         * string/test-strcasecmp.c (TEST_NAME): Likewise.
65349         * string/test-strcasestr.c (TEST_NAME): Likewise.
65350         * string/test-strcat.c (TEST_NAME): Likewise.
65351         * string/test-strchr.c (TEST_NAME): Likewise.
65352         * string/test-strcmp.c(TEST_NAME): Likewise.
65353         * string/test-strcpy.c (TEST_NAME): Likewise.
65354         * string/test-strcspn.c (TEST_NAME): Likewise.
65355         * string/test-strlen.c (TEST_NAME): Likewise.
65356         * string/test-strncasecmp.c (TEST_NAME): Likewise.
65357         * string/test-strncmp.c (TEST_NAME): Likewise.
65358         * string/test-strncpy.c (TEST_NAME): Likewise.
65359         * string/test-strnlen.c (TEST_NAME): Likewise.
65360         * string/test-strpbrk.c (TEST_NAME): Likewise.
65361         * string/test-strrchr.c (TEST_NAME): Likewise.
65362         * string/test-strspn.c (TEST_NAME): Likewise.
65363         * string/test-strstr.c (TEST_NAME): Likewise.
65364         * string/test-bcopy-ifunc.c: New file.
65365         * string/test-bzero-ifunc.c: Likewise.
65366         * string/test-memccpy-ifunc.c: Likewise.
65367         * string/test-memchr-ifunc.c: Likewise.
65368         * string/test-memcmp-ifunc.c: Likewise.
65369         * string/test-memcpy-ifunc.c: Likewise.
65370         * string/test-memmem-ifunc.c: Likewise.
65371         * string/test-memmove-ifunc.c: Likewise.
65372         * string/test-mempcpy-ifunc.c: Likewise.
65373         * string/test-memset-ifunc.c: Likewise.
65374         * string/test-rawmemchr-ifunc.c: Likewise.
65375         * string/test-stpcpy-ifunc.c: Likewise.
65376         * string/test-stpncpy-ifunc.c: Likewise.
65377         * string/test-strcasecmp-ifunc.c: Likewise.
65378         * string/test-strcasestr-ifunc.c: Likewise.
65379         * string/test-strcat-ifunc.c: Likewise.
65380         * string/test-strchr-ifunc.c: Likewise.
65381         * string/test-strchrnul-ifunc.c: Likewise.
65382         * string/test-strcmp-ifunc.c: Likewise.
65383         * string/test-strcpy-ifunc.c: Likewise.
65384         * string/test-strcspn-ifunc.c: Likewise.
65385         * string/test-strlen-ifunc.c: Likewise.
65386         * string/test-strncasecmp-ifunc.c: Likewise.
65387         * string/test-strncat-ifunc.c: Likewise.
65388         * string/test-strncmp-ifunc.c: Likewise.
65389         * string/test-strncpy-ifunc.c: Likewise.
65390         * string/test-strnlen-ifunc.c: Likewise.
65391         * string/test-strpbrk-ifunc.c: Likewise.
65392         * string/test-strrchr-ifunc.c: Likewise.
65393         * string/test-strspn-ifunc.c: Likewise.
65394         * string/test-strstr-ifunc.c: Likewise.
65396         * debug/Makefile (tests-ifunc): New variable.
65397         (tests): Add $(tests-ifunc).
65398         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65399         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65400         * debug/test-stpcpy_chk-ifunc.c: New file.
65401         * debug/test-strcpy_chk-ifunc.c: Likewise.
65403 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65405         [BZ #13601]
65406         * elf/dl-load.c (open_verify): Retry read if the entire ELF
65407         header is not read in.
65409 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
65411         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
65412         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
65413         directly.  Pass built executable to script as
65414         $(built-program-cmd).
65415         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
65416         $testprogram without using LD_LIBRARY_PATH and $ldso.
65418         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65419         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65420         $(rtld-installed-name).
65421         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65422         (rtld_installed_name): Likewise.
65423         (library_path): Likewise.
65424         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
65425         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65426         $(run-program-prefix) to tst-tables.sh.
65427         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
65428         it to run tst-table-from and tst-table-to.
65429         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65430         Pass it to tst-table.sh.
65431         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65432         $(run-program-prefix) to tst-gettext.sh.
65433         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65434         tst-translit.sh.
65435         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65436         tst-gettext2.sh.
65437         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
65438         to run tst-gettext.
65439         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
65440         to run tst-gettext2.
65441         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
65442         to run tst-translit.
65443         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65444         $(run-program-prefix) to tst-mtrace.sh.
65445         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
65446         to run tst-mtrace.
65447         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65448         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65449         $(rtld-installed-name).
65450         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65451         (rtld_installed_name): Likewise.
65452         (run_program_prefix): New variable.  Use it to run wordexp-test.
65454         * Makeconfig (ARCH): Remove all definitions.
65455         (machine): Likewise.
65456         [ARCH]: Remove conditional code.
65457         [!objdir]: Give error.
65458         [!objdir] (objpfx): Remove.
65459         [!objdir] (common-objpfx): Likewise.
65460         [!objdir] (common-objdir): Likewise.
65461         * configure.in (config_makefile): Remove.  Hardcode Makefile in
65462         AC_CONFIG_FILES call.
65463         * configure: Regenerated.
65465         [BZ #13888]
65466         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65467         or TMPDIR.
65468         (testout): Likewise.
65470         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65471         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65472         $(rtld-installed-name).
65473         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65474         (rtld_installed_name): Likewise.
65475         (runit): Remove function.
65476         (run_getconf): New variable,  Use it for running getconf binary.
65478 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
65480         [BZ #14716]
65481         * string/test-memmem.c (check_result): New function.
65482         (do_one_test): Use it.
65483         (check1): New function.
65484         (test_main): Use it.
65486 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
65488         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65490 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
65492         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65493         (_G_LSEEK64): Likewise.
65494         (_G_MMAP64): Likewise.
65495         (_G_FSTAT64): Likewise.
65496         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65497         (_G_LSEEK64): Likewise.
65498         (_G_MMAP64): Likewise.
65499         (_G_FSTAT64): Likewise.
65500         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65501         unconditional.  Call __mmap64 directly.
65502         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65503         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
65504         __lseek64 directly.
65505         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65506         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
65507         __mmap64 directly.
65508         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65509         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
65510         __lseek64 directly.
65511         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65512         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
65513         __lseek64 directly.
65514         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65515         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
65516         __lseek64 directly.
65517         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65518         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
65519         __fxstat64 directly.
65520         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65521         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65522         unconditional.
65523         (freopen64) [!_G_OPEN64]: Remove conditional code.
65524         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65525         unconditional.
65526         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65527         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65528         unconditional.
65529         (ftello64) [!_G_LSEEK64]: Remove conditional code.
65530         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65531         unconditional.
65532         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65533         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65534         unconditional.
65535         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65536         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65537         unconditional.
65538         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65539         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65540         unconditional.
65541         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65542         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
65543         unconditional.
65544         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65546 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65548         [BZ #12140]
65549         * manual/memory.texi (Malloc Tunable Parameters): Add note
65550         about free list pointers overwriting some perturb bytes.
65551         Wording suggested by Roland McGrath.
65553 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
65555         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
65556         (lgamma_test): Likewise.
65557         (tgamma_test): Likewise.
65559 2012-10-16  Florian Weimer  <fweimer@redhat.com>
65561         [BZ #14700]
65562         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
65563         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
65565 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
65567         * NEWS: Mention BZ #14716.
65568         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
65569         when removing AVAILABLE1_USES_J macro.
65571 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
65573         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
65574         (__bswap_64): __uint64_t for unsigned 64-bit int.
65576 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
65578         * include/string.h (memmem): Declare libc hidden alias.
65579         * string/memmem.c (memmem): Define libc hidden alias.
65580         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65581         __read, __close instead of open, read, close.
65583 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
65585         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65586         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65587         global and hidden.
65588         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65589         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65590         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65591         Likewise.
65592         (__rawmemchr_sse2): Likewise.
65593         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65594         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65595         (__strchr_sse2): Likewise.
65596         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65597         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65598         (__strcasecmp_sse2): Likewise.
65599         (__strncasecmp_sse2): Likewise.
65600         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65601         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65602         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65603         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65604         (__strrchr_sse2): Likewise.
65605         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65606         ifunc-impl-list.c.
65607         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65608         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65609         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65610         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65611         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65612         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65613         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65614         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65615         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65616         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65617         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65618         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65619         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65620         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65621         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65622         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65623         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65624         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65625         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65626         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65627         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65628         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65629         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65630         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65631         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65632         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65633         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65634         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65635         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65636         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65638         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65639         global and hidden.
65640         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65641         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65642         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65643         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65644         Likewise.
65645         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65646         Likewise.
65647         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65648         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65649         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65650         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65651         ifunc-impl-list.c.
65652         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65653         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65654         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65655         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65656         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65657         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65658         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65659         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65660         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65661         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65662         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65663         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65664         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65665         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65666         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65667         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65668         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65669         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65670         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65671         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65672         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65673         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65674         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65675         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65676         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65677         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65678         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65679         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65680         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65681         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65682         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65683         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65684         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65685         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65686         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65687         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65688         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65689         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65690         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65691         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65692         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65694         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65695         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65696         * include/ifunc-impl-list.h: New file.
65697         * misc/ifunc-impl-list.c: Likewise.
65698         * misc/Makefile (routines): Add ifunc-impl-list.
65699         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65700         * string/test-string.h: Include <ifunc-impl-list.h>.
65701         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65702         TEST_NAME]: New variables.
65703         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65704         are defined.
65705         (test_init): Call __libc_ifunc_impl_list to initialize
65706         func_list if TEST_IFUNC and TEST_NAME are defined.
65708         * string/Makefile (strop-tests): Add bcopy and bzero.
65709         * string/test-bcopy.c: New file.
65710         * string/test-bzero.c: Likewise.
65711         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65712         defined.
65713         * string/test-memset.c: Support bzero test if TEST_BZERO is
65714         defined.
65715         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65716         __libc_memmove.
65717         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65718         __libc_memset.
65719         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65720         of memset.
65722 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
65724         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65725         * configure: Regenerated.
65727         * Makeconfig (+link-static-before-libc): Don't include
65728         $(link-static-libc).
65730         * libio/libio.h (_IO_pos_t): Remove.
65732 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65734         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
65735         McGrath.
65737 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65739         * crypt/crypt-entry.c: Include fips-private.h.
65740         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65741         * crypt/md5c-test.c (main): Tolerate disabled MD5.
65742         * sysdeps/unix/sysv/linux/fips-private.h: New file.
65743         * sysdeps/generic/fips-private.h: New file, dummy fallback.
65745 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65747         * crypt/crypt-private.h: Include stdbool.h.
65748         (_ufc_setup_salt_r): Return bool.
65749         * crypt/crypt-entry.c: Include errno.h.
65750         (__crypt_r): Return NULL with EINVAL for bad salt.
65751         * crypt/crypt_util.c (bad_for_salt): New.
65752         (_ufc_setup_salt_r): Check that salt is long enough and within
65753         the specified alphabet.
65754         * crypt/badsalttest.c: New file.
65755         * crypt/Makefile (tests): Add it.
65756         ($(objpfx)badsalttest): New.
65758 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
65760         * NEWS: Add entry for BZ #14602.
65762 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65764         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65765         type-generic.
65766         * math/libm-test.inc: Update comment listing what functions and
65767         macros are tested.
65768         (isgreater_test): New function.
65769         (isgreaterequal_test): Likewise.
65770         (isless_test): Likewise.
65771         (islessequal_test): Likewise.
65772         (islessgreater_test): Likewise.
65773         (isunordered_test): Likewise.
65774         (main): Call the new functions.
65776 2012-10-09  Roland McGrath  <roland@hack.frob.com>
65778         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65779         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65780         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65781         * sysdeps/i386/configure: Regenerated.
65782         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65783         * sysdeps/mach/configure: Regenerated.
65784         * sysdeps/mach/hurd/configure: Regenerated.
65785         * sysdeps/powerpc/configure: Regenerated.
65786         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65787         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65788         * sysdeps/s390/s390-32/configure: Regenerated.
65789         * sysdeps/s390/s390-64/configure: Regenerated.
65790         * sysdeps/sh/configure: Regenerated.
65791         * sysdeps/sparc/configure: Regenerated.
65792         * sysdeps/unix/sysv/linux/configure: Regenerated.
65793         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65794         * sysdeps/x86_64/configure: Regenerated.
65796         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65797         defined.  Don't check if MAP is NULL.
65799 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65801         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65802         (_G_stat64): Likewise.
65803         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65804         (_G_stat64): Likewise.
65805         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65806         instead of struct _G_stat64.
65807         * libio/fileops.c (mmap_remap_check): Likewise.
65808         (decide_maybe_mmap): Likewise.
65809         (_IO_new_file_seekoff): Likewise.
65810         (_IO_file_stat): Likewise.
65811         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65812         _G_off64_t.
65813         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65814         instead of struct _G_stat64.
65815         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65817 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
65819         [BZ #14602]
65820         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65821         Replace with ...
65822         (CHECK_EOL): New macro.
65823         (two_way_short_needle): Check beginning of haystack for EOL.  Use
65824         CHECK_EOL.
65825         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65826         Replace with CHECK_EOL.
65827         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65828         Replace with CHECK_EOL.
65830 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
65832         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65833         type-generic.
65834         * math/libm-test.inc: Update comment listing what functions and
65835         macros are tested.
65836         (finite_test): New function.
65837         (isinf_test): Likewise.
65838         (isnan_test): Likewise.
65839         (fpclassify_test): Test subnormal input.
65840         (isfinite_test): Likewise.
65841         (isnormal_test): Likewise.
65842         (main): Call the new functions.
65844 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
65846         [BZ #14660]
65847         * Makerules (%.dynsym): Force C locale when running
65848         $(OBJDUMP) --dynamic-syms.
65850 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
65852         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65853         <stdint.h>.
65855 2012-10-06  David S. Miller  <davem@davemloft.net>
65857         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65858         upper 32-bits of the length value in %o2 since we use branch-on-register
65859         tests which consider the entire 64-bit register.
65861 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
65863         * string/test-strstr.c (check2): Add a test for page boundary.
65865 2012-10-05  David S. Miller  <davem@davemloft.net>
65867         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65868         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65869         file.
65870         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65871         sysdep_routines.
65872         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65873         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65874         and bzero when HWCAP_SPARC_CRYPTO is present.
65876 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
65878         [BZ #14602]
65879         * string/test-strstr.c (check2): New function.
65880         (test_main): Call check2.
65882         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65883         and bug-strchr1.
65884         * string/bug-strcasestr1.c (do_test): Moved to ...
65885         * string/test-strcasestr.c (check1): Here.  New function.
65886         (do_one_test): Break out result checking code into ...
65887         (check_result): This.  New function.
65888         (do_one_test): Call check_result.
65889         (test_main): Call check1.
65890         * string/bug-strchr1.c (do_test): Moved to ...
65891         * string/test-strchr.c (check1): Here.  New function.
65892         (do_one_test): Break out result checking code into ...
65893         (check_result): This.  New function.
65894         (do_one_test): Call check_result.
65895         (test_main): Call check1.
65896         * string/bug-strstr1.c (main): Moved to ...
65897         * string/test-strstr.c (check1): Here.  New function.
65898         (do_one_test): Break out result checking code into ...
65899         (check_result): This.  New function.
65900         (do_one_test): Call check_result.
65901         (test_main): Call check1.
65902         * string/bug-strcasestr1.c: Removed.
65903         * string/bug-strchr1.c: Likewise.
65904         * string/bug-strstr1.c: Likewise.
65906         * elf/Makefile (dl-routines): Add hwcaps.
65907         * elf/dl-support.c (_dl_important_hwcaps): Removed.
65908         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65909         (_dl_important_hwcaps): Moved to ...
65910         * elf/dl-hwcaps.c: Here.  New file.
65911         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65913         [BZ #14557]
65914         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65915         if IS_IN_rtld isn't defined.
65917         * elf/dl-support.c (_dl_sysinfo_map): New.
65918         Include "get-dynamic-info.h" and "setup-vdso.h".
65919         (_dl_non_dynamic_init): Call setup_vdso.
65920         * elf/dynamic-link.h: Don't include <assert.h>.
65921         (elf_get_dynamic_info): Moved to ...
65922         * elf/get-dynamic-info.h: Here.  New file.
65923         * elf/dynamic-link.h: Include "get-dynamic-info.h".
65924         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65925         * elf/setup-vdso.h: Here.  New file.
65926         * elf/rtld.c: Include "setup-vdso.h".
65927         (dl_main): Call setup_vdso.
65929 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
65931         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65932         creal in comment listing functions tested.  List finite, isinf,
65933         isnan, isless, islessequal, isgreater, isgreaterequal,
65934         islessgreater, isunordered, lgamma_r and pow10 as functions and
65935         macros not tested.  Mention which functions not tested are aliases
65936         for other functions.  Fix typo.  Note that signs of NaNs are not
65937         tested.
65939         * scripts/config.guess: Update from config.git.
65940         * scripts/config.sub: Likewise.
65942 2012-10-04  Roland McGrath  <roland@hack.frob.com>
65944         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65945         * misc/madvise.c (madvise): Renamed to __madvise.
65946         Make madvise a weak alias.
65947         * include/sys/mman.h: Declare __madvise.
65948         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65949         * sysdeps/unix/syscalls.list
65950         (madvise): Make __madvise the strong name, and madvise a weak alias.
65951         * sysdeps/unix/sysv/linux/syscalls.list
65952         (madvise, mmap): Remove redundant entries.
65953         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65954         * malloc/malloc.c (mtrim): Likewise.
65955         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65957 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65959         * sysdeps/mach/hurd/dl-cache.c: File removed.
65960         * config.h.in (USE_LDCONFIG): New #undef.
65961         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65962         * configure: Regenerated.
65963         * elf/Makefile (dl-routines): Add dl-cache only under
65964         [$(use-ldconfig) = yes].
65965         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65966         cache on [USE_LDCONFIG].
65967         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65968         [USE_LDCONFIG].
65969         * elf/rtld.c (dl_main): Likewise.
65971 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
65973         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65974         _SC_LEVEL4_CACHE_LINESIZE.
65976 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65978         * sysdeps/unix/bsd/confstr.h: File removed.
65980 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
65982         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65983         sys/sdt-config.h.
65985 2012-10-02  Roland McGrath  <roland@hack.frob.com>
65987         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65988         Make 'mapoff' field ElfW(Off) rather than off_t.
65990 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
65992         * nscd/Makefile: Remove nscd-cflags and all its users.
65993         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65994         (CFLAGS-nonlib): Add compiler flags for nscd modules.
65996         [BZ #10631]
65997         * malloc.c (malloc_printerr): Clarify error message.
65999 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
66001         [BZ #14648]
66002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66003         Set bit_FMA_Usable if FMA is supported.
66004         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
66005         macro.
66006         (bit_FMA4_Usable): Updated.
66007         (index_FMA_Usable): New macro.
66008         (CPUID_FMA): Likewise.
66009         (HAS_FMA): Defined with bit_FMA_Usable.
66011 2012-10-01  Roland McGrath  <roland@hack.frob.com>
66013         * bits/types.h (__swblk_t): Type removed.
66014         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
66015         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
66016         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66017         (__SWBLK_T_TYPE): Likewise.
66018         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66019         (__SWBLK_T_TYPE): Likewise.
66020         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66021         (__SWBLK_T_TYPE): Likewise.
66022         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66023         (__SWBLK_T_TYPE): Likewise.
66025 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
66026             Honza Horak <hhorak@redhat.com>
66028         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66029         (xdr_mapname): Use YPMAXMAP as maxsize.
66030         (xdr_peername): Use YPMAXPEER as maxsize.
66031         (xdr_keydat): Use YPAXRECORD as maxsize.
66032         (xdr_valdat): Use YPMAXRECORD as maxsize.
66034 2012-10-01  Roland McGrath  <roland@hack.frob.com>
66036         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66038         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66039         * csu/init-first.c: ... here.
66040         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66041         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66042         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66043         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66044         * sysdeps/i386/init-first.c: File removed.
66045         * sysdeps/sh/init-first.c: File removed.
66047 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
66049         [BZ #14645]
66050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66051         if x * y might underflow to zero and z is zero.
66052         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66053         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66054         * math/libm-test.inc (min_subnorm_value): New variable.
66055         (fma_test): Add more tests.
66056         (fma_test_towardzero): Likewise.
66057         (fma_test_downward): Likewise.
66058         (fma_test_upward): Likewise.
66059         (initialize): Set min_subnorm_value.
66061 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
66063         [BZ #14638]
66064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66065         0 + 0.
66066         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66067         mode for addition resulting in exact zero.
66068         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66069         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66070         exact 0 + 0.
66071         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66072         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66073         * math/libm-test.inc (fma_test): Add more tests.
66074         (fma_test_towardzero): New function.
66075         (fma_test_downward): Likewise.
66076         (fma_test_upward): Likewise.
66077         (main): Call the new functions.
66079 2012-09-28  David S. Miller  <davem@davemloft.net>
66081         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66083 2012-09-28  Roland McGrath  <roland@hack.frob.com>
66085         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66086         instead of SIGALRM.
66088         * sysdeps/gnu/_G_config.h: Moved to ...
66089         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66090         * sysdeps/mach/hurd/_G_config.h: Moved to ...
66091         * sysdeps/generic/_G_config.h: ... here.
66093         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
66095         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66097         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66098         Conditionalize target on [libnss_test1.so-version].
66100         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66102         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66103         (elfobjdir): Move out of conditionals.
66105         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66106         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66107         (__nss_lookup_function): Conditionalize label remove_from_tree on
66108         [!DO_STATIC_NSS || SHARED], matching its only use.
66110 2012-09-28  David S. Miller  <davem@davemloft.net>
66112         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66113         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66114         file.
66115         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66116         sysdep_routines.
66117         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66118         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66119         when HWCAP_SPARC_CRYPTO is present.
66121 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66123         * io/tst-mknodat.c: Create a FIFO instead of a socket.
66125 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
66127         [BZ #6530]
66128         * stdio-common/vfprintf.c (process_string_arg): Revert
66129         2000-07-22 change.
66131 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
66133         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66134         for testcase.
66135         * stdio-common/tst-sprintf.c: Include <locale.h>
66136         (main): Test sprintf's handling of incomplete multibyte
66137         characters.
66139 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
66141         * elf/dl-runtime.c (VERSYMIDX): Removed.
66142         * elf/dl-version.c (VERSYMIDX): Likewise.
66143         * elf/do-rel.h (VERSYMIDX): Likewise.
66144         (VALIDX): Likewise.
66145         * elf/dynamic-link.h (VERSYMIDX): Likewise.
66146         * elf/rtld.c (VALIDX): Likewise.
66147         (ADDRIDX): Likewise.
66148         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66149         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66150         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66151         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66152         (VALIDX): Likewise.
66153         (ADDRIDX): Likewise.
66155 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66157         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66159 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
66161         [BZ #11438]
66162         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66163         to global scope.
66164         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66165         addresses are in the same scope as 192.0.2/24.
66166         * posix/gai.conf: Document new scope table defaults.
66168 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66170         [BZ #5298]
66171         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66172         for ftell.  Compute offsets from write pointers instead.
66173         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66175 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66177         [BZ #14543]
66178         * libio/Makefile (tests): New test case tst-fseek.
66179         * libio/tst-fseek.c: New test case to verify that fseek/ftell
66180         combination works in wide mode.
66181         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66182         state when the external buffer state changes.
66184 2012-09-27  David S. Miller  <davem@davemloft.net>
66186         [BZ #14376]
66187         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66188         pass reloc->r_addend in as the 'high' argument to
66189         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66193 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66195         * rt/tst-aio2.c: Include <pthread.h>.
66196         * rt/tst-aio3.c: Likewise.
66198 2012-09-27  Steve Ellcey  <sellcey@mips.com>
66200         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66202 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
66204         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66205         contents on [SHARED].
66207 2012-09-26  Marek Polacek  <polacek@redhat.com>
66209         [BZ #14530]
66210         [BZ #13741]
66211         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66212         for C++ and GCC <4.3 as well as for non GCC compilers.
66214 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66216         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66218 2012-09-25  Roland McGrath  <roland@hack.frob.com>
66220         * Makefile.in (all, install): Declare with .PHONY.
66221         Reported by Michael Hope <michael.hope@linaro.org>.
66223 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66225         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66226         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66227         system header.
66228         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66229         Likewise.
66230         (sydep_routines): Add the new and the internal functions.
66231         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66232         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66234         (GLIBC_2.17): Add the new function.
66235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66236         (GLIBC_2.17): Likewise.
66237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66238         (GLIBC_2.17): Likewise.
66239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66240         (GLIBC_2.17): Likewise.
66241         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66243 2012-09-25  Alan Modra  <amodra@gmail.com>
66245         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66246         Add release barrier before setting once_control to say
66247         initialisation is done.  Add hints on lwarx.  Use macro in
66248         place of isync.
66249         (clear_once_control): Add release barrier.
66251 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66253         [BZ #13629]
66254         * math/s_clog.c (__clog): Handle more values close to |z| = 1
66255         specially.
66256         * math/s_clog10.c (__clog10): Likewise.
66257         * math/s_clog10f.c (__clog10f): Likewise.
66258         * math/s_clog10l.c (__clog10l): Likewise.
66259         * math/s_clogf.c (__clogf): Likewise.
66260         * math/s_clogl.c (__clogl): Likewise.
66261         * math/Makefile (libm-calls): Add x2y2m1.
66262         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66263         (__x2y2m1): Likewise.
66264         (__x2y2m1l): Likewise.
66265         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66266         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66267         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66268         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66269         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66270         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66271         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66272         * sysdeps/i386/fpu/libm-test-ulps: Update.
66273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66275         [BZ #14621]
66276         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66277         int as type of variable DEPTH.
66278         (glob): Use size_t instead of int as type of variables NEWCOUNT
66279         and OLD_PATHC.
66281 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66283         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66284         Add s_sincosf-sse2.
66285         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66286         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66287         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66288         macros for using routine as __sincosf_ia32.
66289         Use macro for function declaration and weak_alias.
66290         * sysdeps/i386/fpu/libm-test-ulps: Update.
66292         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66295         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66296         subnormal argument.
66297         * math/s_cexpf.c (__cexpf): Likewise.
66298         * math/s_csinf.c (__csinf): Likewise.
66299         * math/s_csinhf.c (__csinhf): Likewise.
66300         * math/s_ctanf.c (__ctanf): Likewise.
66301         * math/s_ctanhf.c (__ctanhf): Likewise.
66302         * math/s_ccosh.c (__ccoshf): Likewise.
66303         * math/s_cexp.c (__cexpl): Likewise.
66304         * math/s_csin.c (__csin): Likewise.
66305         * math/s_csinh.c (__csinh): Likewise.
66306         * math/s_ctan.c (__ctan): Likewise.
66307         * math/s_ctanh.c (ctanh): Likewise.
66308         * math/s_ccoshl.c (__ccoshl): Likewise.
66309         * math/s_cexpl.c (__cexpl): Likewise.
66310         * math/s_csinl.c (__csinl): Likewise.
66311         * math/s_csinhl.c (__csinhl): Likewise.
66312         * math/s_ctanl.c (__ctanl): Likewise.
66313         * math/s_ctanhl.c (__ctanhl): Likewise.
66315 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66317         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66318         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66319         (_IO_off_t): Define to __off_t, not _G_off_t.
66320         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66321         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66322         (_IO_wint_t): Define to wint_t, not _G_wint_t.
66323         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66324         type of __dummy and __dummy2 fields.
66325         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66326         (_G_ssize_t): Likewise.
66327         (_G_off_t): Likewise.
66328         (_G_pid_t): Likewise.
66329         (_G_uid_t): Likewise.
66330         (_G_wchar_t): Likewise.
66331         (_G_wint_t): Likewise.
66332         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66333         (_G_ssize_t): Likewise.
66334         (_G_off_t): Likewise.
66335         (_G_pid_t): Likewise.
66336         (_G_uid_t): Likewise.
66337         (_G_wchar_t): Likewise.
66338         (_G_wint_t): Likewise.
66339         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66340         (_G_ssize_t): Likewise.
66341         (_G_off_t): Likewise.
66342         (_G_pid_t): Likewise.
66343         (_G_uid_t): Likewise.
66344         (_G_wchar_t): Likewise.
66345         (_G_wint_t): Likewise.
66347 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66349         * malloc/arena.c: Include malloc-sysdep.h.
66350         (shrink_heap): Use check_may_shrink_heap to decide if madvise
66351         is sufficient to shrink the heap or an unmap is needed.
66352         * sysdeps/generic/malloc-sysdep.h: New file.  Define
66353         new function check_may_shrink_heap.
66354         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
66355         new function check_may_shrink_heap.
66357 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66359         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66360         comments.
66362 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
66364         * catgets/test-gencat.sh: Add "set -e".
66365         * elf/tst-pathopt.sh: Likewise.
66366         * grp/tst_fgetgrent.sh: Likewise.
66367         * iconvdata/run-iconv-test.sh: Likewise.
66368         * intl/tst-gettext.sh: Likewise.
66369         * intl/tst-gettext2.sh: Likewise.
66370         * intl/tst-gettext4.sh: Likewise.
66371         * intl/tst-gettext6.sh: Likewise.
66372         * intl/tst-translit.sh: Likewise.
66373         * io/ftwtest-sh: Likewise.
66374         * libio/test-freopen.sh: Likewise.
66375         * malloc/tst-mtrace.sh: Likewise.
66376         * posix/globtest.sh: Likewise.
66377         * posix/tst-getconf.sh: Likewise.
66378         * posix/wordexp-tst.sh: Likewise.
66379         * stdio-common/tst-printf.sh: Likewise.
66380         * stdio-common/tst-unbputc.sh: Likewise.
66381         * stdlib/tst-fmtmsg.sh: Likewise.
66382         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66383         * catgets/Makefile: Do not specify -e option when running
66384         testsuite shell scripts.
66385         * elf/Makefile: Likewise.
66386         * grp/Makefile: Likewise.
66387         * iconvdata/Makefile: Likewise.
66388         * intl/Makefile: Likewise.
66389         * io/Makefile: Likewise.
66390         * libio/Makefile: Likewise.
66391         * malloc/Makefile: Likewise.
66392         * posix/Makefile: Likewise.
66393         * stdio-common/Makefile: Likewise.
66394         * stdlib/Makefile: Likewise.
66395         * sysdeps/x86_64/Makefile: Likewise.
66397         * io/ftwtest-sh: Add copyright header.
66398         * posix/globtest.sh: Likewise.
66399         * posix/tst-getconf.sh: Likewise.
66400         * posix/wordexp-tst.sh: Likewise.
66401         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66403 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
66405         [BZ #13679]
66406         * Makeconfig (+link): Defined as $(+link-static) if
66407         $(build-shared) isn't yes.
66408         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66409         isn't yes.
66410         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66412         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66414         [BZ #14562]
66415         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66416         new chunk size with MALLOC_ALIGN_MASK.
66418 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
66420         [BZ #5044]
66421         * stdio-common/printf_fphex.c: Include <stdbool.h> and
66422         <rounding-mode.h>.
66423         (__printf_fphex): Determine rounding using get_rounding_mode and
66424         round_away.
66425         * stdio-common/tst-printf-round.c (struct hex_test): New
66426         structure.
66427         (hex_tests): New variable.
66428         (test_hex_in_one_mode): New function.
66429         (do_test): Also run tests for hex float output.
66431 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
66433         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66434         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66435         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66436         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66437         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66438         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66439         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66440         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66442 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
66444         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66445         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66446         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66447         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66449 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
66451         [BZ #14579]
66452         * elf/rtld.c (dl_main): Limit the check for self loading to normal
66453         mode only.
66454         * elf/tst-rtld-load-self.sh: New test.
66455         * elf/Makefile: Run it.
66457 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
66459         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66460         (tst-writev-ENV): Remove.
66461         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66463 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
66465         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66467 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
66469         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66470         unconditional.
66471         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66472         Likewise.
66473         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66474         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66475         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66476         Likewise.
66478 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
66480         [BZ #14587]
66481         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66482         * config.make.in (have-cpp-asm-debuginfo): Removed.
66483         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66484         * configure: Regenerated.
66486 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
66488         [BZ #5044]
66489         * stdio-common/printf_fp.c: Include <stdbool.h> and
66490         <rounding-mode.h>.
66491         (___printf_fp): Determine rounding using get_rounding_mode and
66492         round_away.
66493         * stdio-common/tst-printf-round.c: New file.
66494         * stdio-common/Makefile (tests): Add tst-printf-round.
66495         (link-libm): New variable.
66496         ($(objpfx)tst-printf-round): Depend in $(link-libm).
66498 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
66500         [BZ #14576]
66501         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66502         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66503         Likewise.
66504         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66505         Likewise.
66507 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
66509         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66510         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66511         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66512         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66514 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
66516         [BZ #14518]
66517         * include/rounding-mode.h: New file.
66518         * sysdeps/generic/get-rounding-mode.h: Likewise.
66519         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66520         * stdlib/strtod_l.c: Include <rounding-mode.h>.
66521         (MAX_VALUE): New macro.
66522         (MIN_VALUE): Likewise.
66523         (overflow_value): New function.
66524         (underflow_value): Likewise.
66525         (round_and_return): Use overflow_value and underflow_value to
66526         determine return values in overflow and underflow cases.  Use
66527         round_away to determine rounding depending on rounding mode.
66528         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66529         determine return values in overflow and underflow cases.
66530         * stdlib/tst-strtod-round.c: Include <fenv.h>.
66531         (struct test_results): New structure.
66532         (struct test): Use struct test_results to store expected results
66533         for all rounding modes.
66534         (TEST): Include expected results for all rounding modes.
66535         (test_in_one_mode): New function.
66536         (do_test): Use test_in_one_mode to compute and check results.
66537         Check results for all rounding modes.
66538         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66539         $(link-libm).
66541 2012-12-09  Allan McRae  <allan@archlinux.org>
66543         * sysdeps/i386/fpu/libm-test-ulps: Update
66545 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
66547         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
66548         (_G_int32_t): Likewise.
66549         (_G_uint16_t): Likewise.
66550         (_G_uint32_t): Likewise.
66551         (_G_HAVE_BOOL): Likewise.
66552         (_G_HAVE_ATEXIT): Likewise.
66553         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66554         (_G_HAVE_IO_FILE_OPEN): Likewise.
66555         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
66556         (_G_int32_t): Likewise.
66557         (_G_uint16_t): Likewise.
66558         (_G_uint32_t): Likewise.
66559         (_G_HAVE_BOOL): Likewise.
66560         (_G_HAVE_ATEXIT): Likewise.
66561         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66562         (_G_HAVE_IO_FILE_OPEN): Likewise.
66563         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
66564         (_G_int32_t): Likewise.
66565         (_G_uint16_t): Likewise.
66566         (_G_uint32_t): Likewise.
66567         (_G_HAVE_BOOL): Likewise.
66568         (_G_HAVE_ATEXIT): Likewise.
66569         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66570         (_G_HAVE_IO_FILE_OPEN): Likewise.
66572 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
66574         * csu/libc-tls.c: Update copyright years.
66576 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
66578         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66579         [!_G_USING_THUNKS]: Remove conditional code.
66580         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66581         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66583         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66584         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66585         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66586         (_G_VTABLE_LABEL_PREFIX): Likewise.
66587         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66588         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66589         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66590         (_G_VTABLE_LABEL_PREFIX): Likewise.
66591         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66592         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66593         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66594         (_G_VTABLE_LABEL_PREFIX): Likewise.
66595         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66597 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
66599         * libio/Makefile: Include ../Makeconfig before tests.
66600         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66601         only if $(build-shared) is yes.
66603         * iconv/gconv_db.c: Update copyright years.
66605 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66607         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66608         unwind info if defined PIC. Fix special cases description.
66609         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66611         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66612         DP_HI_MASK entry.
66613         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66615 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
66617         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66619         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66620         is NULL.
66622         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66623         (LDLIBS-tst-chk4): This.
66624         (LDFLAGS-tst-chk5): Renamed to ...
66625         (LDLIBS-tst-chk5): This.
66626         (LDFLAGS-tst-chk6): Renamed to ...
66627         (LDLIBS-tst-chk6): This.
66628         (LDFLAGS-tst-lfschk4): Renamed to ...
66629         (LDLIBS-tst-lfschk4): This.
66630         (LDFLAGS-tst-lfschk5): Renamed to ...
66631         (LDLIBS-tst-lfschk5): This.
66632         (LDFLAGS-tst-lfschk6): Renamed to ...
66633         (LDLIBS-tst-lfschk6): This.
66635         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66636         on $(common-objpfx)soversions.mk.
66638 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
66640         [BZ #10014]
66641         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66642         example host name.
66644 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66646         * malloc/arena.c (arena_get_retry): New function that gets
66647         another arena for the caller to try its request on.
66648         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66649         current arena cannot fulfill the request.
66650         (__libc_memalign): Likewise.
66651         (__libc_memalign): Likewise.
66652         (__libc_pvalloc): Likewise.
66653         (__libc_calloc): Likewise.
66655 2012-09-05  John Tobey  <john.tobey@gmail.com>
66657         [BZ #13542]
66658         * manual/arith.texi (Operations on Complex): Fix description
66659         of carg branch cut.
66661 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66663         [BZ #10014]
66664         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66665         host name.
66667         [BZ #10038]
66668         * manual/memory.texi (Memory): Make order of menu items match
66669         order of sections.
66671 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66673         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66674         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
66675         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66677 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66679         * csu/libc-tls.c (static_dtv): Renamed to ...
66680         (_dl_static_dtv): This.  Make it global.
66681         (_dl_initial_dtv): Removed.
66682         (__libc_setup_tls): Updated.
66683         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66684         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66685         DL_INITIAL_DTV.
66687 2012-09-06  Petr Machata  <pmachata@redhat.com>
66689         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66690         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66691         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66692         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66694 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66696         [BZ #14545]
66697         * csu/libc-tls.c (_dl_initial_dtv): New variable.
66698         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66699         freeing dtv[-1].
66701 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66703         [BZ #14544]
66704         * Makeconfig (link-static-before-libc): Replace $(+prector)
66705         with $(+prectorT).
66706         (link-static-after-libc): Replace $(+postctor) with
66707         $(+postctorT).
66708         (link-bounded): Replace $(+prector)/$(+postctor) with
66709         $(+prectorT)/$(+postctorT).
66710         (+prectorT): New macro.
66711         (+postctorT): Likewise.
66713 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66715         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66716         (round_str): Handle values above the maximum for IBM long double
66717         as inexact.
66718         * stdlib/tst-strtod-round.c (tests): Regenerated.
66720 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66722         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66723         assembler flag.
66724         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66725         zarch_nohighgprs around the zarch optimized routines.
66726         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66727         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66728         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66729         for zarch.
66731 2012-09-05  David S. Miller  <davem@davemloft.net>
66733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66735         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66736         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66737         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66738         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66739         entries.
66741 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66743         * malloc/arena.c: Fold copyright years.
66744         * malloc/mcheck.c, malloc/memusage.c: Likewise.
66746 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66748         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66750 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66752         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
66754 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66756         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66757         change internal state upon failure.
66759 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66761         * malloc/mcheck.c (mcheck_check_all): Fix typo.
66762         * malloc/memusage.c (mmap): Likewise.
66763         (mmap64, mremap): Likewise.  Adjust name in comment.
66765 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66767         * libio/fileops.c: Fix typos in comments.
66768         * libio/oldfileops.c: Likewise.
66769         * libio/wfileops.c: Likewise.
66771 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66773         [BZ #1349]
66774         * malloc/Makefile (tests): Add tst-malloc-usable test case.
66775         (tst-malloc-usable-ENV): Set environment for test case.
66776         * malloc/hooks.c (malloc_check_get_size): New function to get
66777         requested size.
66778         * malloc/malloc.c (musable): Use malloc_check_get_size.
66779         * malloc/tst-malloc-usable.c: New test case.
66781 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66783         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66785 2012-09-05  Allan McRae  <allan@archlinux.org>
66787         [BZ #13966]
66788         * configure.in (CXX_SYSINCLUDES): Use compiler output to
66789         determine header location.
66790         * configure: Regenerated.
66792 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66794         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66795         float format.
66796         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66797         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66798         format.
66799         (test): Regenerate.
66801 2012-09-04  David S. Miller  <davem@davemloft.net>
66803         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66804         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66805         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66807 2012-09-04  Florian Weimer  <fweimer@redhat.com>
66809         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66810         failures.
66812         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66814 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
66816         [BZ #9914]
66817         * libio/iogetdelim.c: Include <limits.h>.
66818         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66819         + len + 1 would overflow.
66821 2012-09-03  Andreas Jaeger  <aj@suse.de>
66823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66824         * sysdeps/i386/fpu/libm-test-ulps: Update.
66826 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66828         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66829         Add s_sinf-sse2, s_conf-sse2.
66831         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66832         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66833         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66834         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66836         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66837         for using routine as __sinf_ia32.
66838         Use macro for function declaration and weak_alias.
66839         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66840         for using routine as __cosf_ia32.
66841         Use macro for function declaration and weak_alias.
66843         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66844         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66846         * sysdeps/x86_64/fpu/s_sinf.S: New file.
66847         * sysdeps/x86_64/fpu/s_cosf.S: New file.
66848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66850         * math/libm-test.inc (cos_test): Add more test cases.
66851         (sin_test): Likewise.
66852         (sincos_test): Likewise.
66854 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66856         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66857         (IFUNC_RESOLVE): Make pointers to the specialized implementations
66858         hidden.
66859         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66861 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
66863         [BZ #14538]
66864         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66865         first element of the GOT.
66866         (elf_machine_load_address): Return the difference between
66867         the runtime address of _DYNAMIC and elf_machine_dynamic ().
66869 2012-09-01  Allan McRae  <allan@archlinux.org>
66871         [BZ #13412]
66872         * configure.in (AWK): Require gawk version 3.0 or later.
66873         * configure: Regenerated.
66875 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
66877         * sysdeps/unix/sysv/linux/kernel-features.h
66878         (__ASSUME_POSIX_CPU_TIMERS): Remove.
66879         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66880         [__NR_clock_getres]: Make code unconditional.
66881         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66882         (clock_getcpuclockid): Remove code left unreachable by removal of
66883         conditionals.
66884         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66885         code unconditional.
66886         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66887         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66888         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66889         Make code unconditional.
66890         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66891         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66892         * sysdeps/unix/sysv/linux/clock_settime.c
66893         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66894         conditional code.
66895         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66896         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66898 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
66900         [BZ #14476]
66901         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66902         scripts/test-installation.pl.
66904         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66905         and $ld_so_version if it is set.
66907 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66909         [BZ #14516]
66910         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66911         failure if reading from procfs failed.
66912         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66914 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66916         * sysdeps/unix/sysv/linux/kernel-features.h
66917         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66918         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66919         Remove conditional code.
66920         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66921         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66922         Remove conditional code.
66923         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66924         * sysdeps/unix/sysv/linux/i386/fxstat.c
66925         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66926         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66927         * sysdeps/unix/sysv/linux/i386/fxstatat.c
66928         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66929         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66930         * sysdeps/unix/sysv/linux/i386/lxstat.c
66931         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66932         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66933         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66934         Remove conditional code.
66935         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66936         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66937         Remove conditional code.
66938         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66939         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66940         <kernel-features.h>.
66941         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66942         Remove.
66943         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66944         Remove conditional code.
66945         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66946         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66947         Remove conditional.
66949 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
66951         [BZ #5400]
66952         * NEWS: Add fixed bug number.
66954 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66956         [BZ #14519]
66957         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66958         underflowing exponent in case of negative sign.
66959         * stdlib/tst-strtod-round-data: Add more tests.
66960         * stdlib/tst-strtod-round.c (tests): Regenerated.
66962         [BZ #3479]
66963         * stdlib/strtod_l.c (NDIG): Remove.
66964         (HEXNDIG): Likewise.
66965         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66966         smallest representable value.
66967         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66968         lie within an exact representation of 1/2 ulp of the result.
66969         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66970         unconditionally.
66971         (TENS_P9_IDX): Define unconditionally.
66972         (TENS_P9_SIZE): Likewise.
66973         (TENS_P10_IDX): Likewise.
66974         (TENS_P10_SIZE): Likewise.
66975         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66976         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66977         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66978         entries for 10^2^13 and 10^2^14.
66979         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66980         (TENS_P13_IDX): Define.
66981         (TENS_P13_SIZE): Likewise.
66982         (TENS_P14_IDX): Likewise.
66983         (TENS_P14_SIZE): Likewise.
66984         (_fpioconst_pow10): Change array size to
66985         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
66986         unconditional.
66987         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66988         1024]: Add entries for 10^2^13 and 10^2^14.
66989         [LAST_POW10 > _LAST_POW10]: Remove #error.
66990         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66991         (_fpioconst_pow10): Change array size to
66992         FPIOCONST_POW10_ARRAY_SIZE.
66993         * stdlib/gen-fpioconst.c: New file.
66994         * stdlib/gen-tst-strtod-round.c: Likewise.
66995         * stdlib/tst-strtod-round-data: Likewise.
66996         * stdlib/tst-strtod-round.c: Likewise.
66997         * stdlib/Makefile (tests): Add tst-strtod-round.
66999         [BZ #14459]
67000         * stdlib/strtod_l.c: Include <stdint.h>.
67001         (NDEBUG): Do not define.
67002         (round_and_return): Change EXPONENT parameter to type intmax_t.
67003         Rearrange calculations to avoid internal overflow possibilities.
67004         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
67005         Rearrange calculations to avoid internal overflow possibilities.
67006         Assert that number fits inside MPNSIZE limbs.
67007         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
67008         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
67009         calculations and add assertions to avoid internal overflow
67010         possibilities.  Add casts to avoid signed/unsigned operations.
67011         * stdlib/tst-strtod-overflow.c: New file.
67012         * stdlib/Makefile (tests): Add tst-strtod-overflow.
67014 2012-08-25  Marek Polacek  <polacek@redhat.com>
67016         * time/time.h: Fix some typos in comments.
67018 2012-08-23  Roland McGrath  <roland@hack.frob.com>
67020         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
67021         * posix/tst-rfc3484-2.c: Likewise.
67022         * posix/tst-rfc3484-3.c: Likewise.
67024 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
67026         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67027         (EF_ARM_ABI_FLOAT_HARD): Likewise.
67029 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
67031         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67032         #include of fxstatat64.c.
67034 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67036         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67037         * shadow/getspent_r.c: Likewise.
67038         * shadow/getspnam.c: Likewise.
67039         * shadow/getspnam_r.c: Likewise.
67040         * gshadow/getsgent.c: Likewise.
67041         * gshadow/getsgent_r.c: Likewise.
67042         * gshadow/getsgnam.c: Likewise.
67043         * gshadow/getsgnam_r.c: Likewise.
67044         * inet/getnetbyad.c: Likewise.
67045         * inet/getnetbyad_r.c: Likewise.
67046         * inet/getnetbynm.c: Likewise.
67047         * inet/getnetbynm_r.c: Likewise.
67048         * inet/getnetent.c: Likewise.
67049         * inet/getnetent_r.c: Likewise.
67050         * inet/getproto.c: Likewise.
67051         * inet/getproto_r.c: Likewise.
67052         * inet/getprtent.c: Likewise.
67053         * inet/getprtent_r.c: Likewise.
67054         * inet/getprtname.c: Likewise.
67055         * inet/getprtname_r.c: Likewise.
67056         * inet/getrpcbyname.c: Likewise.
67057         * inet/getrpcbyname_r.c: Likewise.
67058         * inet/getrpcbynumber.c: Likewise.
67059         * inet/getrpcbynumber_r.c: Likewise.
67060         * inet/getrpcent.c: Likewise.
67061         * inet/getrpcent_r.c: Likewise.
67062         * inet/getaliasent.c: Likewise.
67063         * inet/getaliasent_r.c: Likewise.
67064         * inet/getaliasname.c: Likewise.
67065         * inet/getaliasname_r.c: Likewise.
67066         * nscd/getgrgid_r.c: Likewise.
67067         * nscd/getgrnam_r.c: Likewise.
67068         * nscd/gethstbyad_r.c: Likewise.
67069         * nscd/gethstbynm3_r.c: Likewise.
67070         * nscd/getpwnam_r.c: Likewise.
67071         * nscd/getpwuid_r.c: Likewise.
67072         * nscd/getsrvbynm_r.c: Likewise.
67073         * nscd/getsrvbypt_r.c: Likewise.
67074         * nscd/gai.c: Likewise.
67076         * configure.in (build_nscd): New substituted variable, set
67077         by --disable-build-nscd and defaults to $use_nscd.
67078         * configure: Regenerated.
67079         * config.make.in (build-nscd): New substituted variable.
67080         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67081         Change conditional to require [$(build-nscd) = yes] as well.
67082         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67084         [BZ# 13696]
67085         * configure.in (use_nscd): New substituted variable, set by
67086         --disable-nscd.  If enabled, define USE_NSCD.
67087         * configure: Regenerated.
67088         * config.h.in: Add USE_NSCD.
67089         * config.make.in (use-nscd): New substituted variable.
67090         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67091         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67092         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67093         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67094         (CFLAGS-getgrnam_r.c): Likewise.
67095         (CFLAGS-initgroups.c): Likewise.
67096         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67097         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67098         Variables removed.
67099         * inet/getnetgrent_r.c
67100         (nscd_setnetgrent): New function, broken out of ...
67101         (setnetgrent): ... here.  Call it.
67102         (innetgr): Conditionalize nscd bits on [USE_NSCD].
67103         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67104         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67105         * nscd/Makefile (routines, aux): Move definitions after include of
67106         Makeconfig.  Conditionalize on [$(use-nscd) != no].
67107         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67108         Conditionalize on [USE_NSCD].
67109         (is_nscd, nscd_init_cb): Likewise.
67110         (nss_load_library): Conditionalize init callback on [USE_NSCD].
67111         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67112         * nss/nss_db/db-init.c: Likewise.
67113         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67114         [USE_NSCD].
67115         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67116         (make_request): Use it.
67117         (cache_valid_p): New function.
67118         (__check_pf): Use it.
67119         * NEWS: Add item for --disable-nscd.
67121 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
67123         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67124         to support sed >= 4.2.1-20-ga9bf076.
67125         * configure: Regenerated.
67127 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67129         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67130         Conditionalize whole body on [IREL].
67132 2012-08-22  Jeff Law <law@redhat.com>
67134         [BZ #14505]
67135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67136         if the family is PF_UNSPEC.
67138 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
67140         * Makerules (lib-version): Rename from V.
67141         (install-lib-nosubdir): Change V to lib-version.
67143 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
67145         [BZ #14252]
67146         * powerpc32/power6/wcschr.c: New file.
67147         * powerpc32/power6/wcscpy.c: New file.
67148         * powerpc32/power6/wcsrchr.c: New file.
67149         * powerpc64/power6/wcschr.c: New file.
67150         * powerpc64/power6/wcscpy.c: New file.
67151         * powerpc64/power6/wcsrchr.c: New file.
67153 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67155         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67156         (two_way_short_needle): Use it.
67157         * string/strstr.c (AVAILABLE1_USES_J): Define.
67158         * string/strcasestr.c: Likewise.
67160         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67161         array references.
67162         * string/strcasestr.c (TOLOWER): Make side-effect safe.
67164         [BZ #11607]
67165         * NEWS: Add an entry.
67166         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67167         define their defaults.
67168         (two_way_short_needle): Detect end-of-string on-the-fly.
67169         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67170         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67171         * string/bug-strcasestr1.c: New test.
67172         * string/Makefile: Run it.
67174 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67176         [BZ #11607]
67177         * string/str-two-way.h (two_way_short_needle): Optimize matching of
67178         the first character.
67180 2012-08-21  Roland McGrath  <roland@hack.frob.com>
67182         * csu/elf-init.c (__libc_csu_irel): Function removed.
67183         * csu/libc-start.c (apply_irel): New function.
67184         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67186 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
67188         * sysdeps/unix/sysv/linux/kernel-features.h
67189         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67190         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67191         <kernel-features.h>.
67192         [__NR_fadvise64_64]: Make code unconditional.
67193         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67194         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67195         !__NR_fadvise64_64)]: Likewise.
67196         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67197         !__NR_fadvise64_64))]: Likewise.
67198         [__NR_fadvise64]: Make code unconditional.
67199         [!__NR_fadvise64]: Remove conditional code.
67200         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67201         <kernel-features.h>.
67202         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67203         unconditional.
67204         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67205         conditional code.
67206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67207         not include <kernel-features.h>.
67208         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67209         unconditional.
67210         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67211         conditional code.
67212         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67213         include <kernel-features.h>.
67214         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67215         unconditional.
67216         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67217         conditional code.
67219 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67221         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67222         slight instruction rearrangements per scrollpipe analysis.
67223         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67225 2012-08-20  Roland McGrath  <roland@hack.frob.com>
67227         * manual/syslog.texi (syslog; vsyslog, closelog):
67228         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67229         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67231         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67232         DSOCAPS to match condition on defining it.
67234 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
67236         * sysdeps/unix/sysv/linux/kernel-features.h
67237         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67239         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67240         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67242         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67243         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67245         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67246         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67248         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67249         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67251         * sysdeps/unix/sysv/linux/kernel-features.h
67252         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67253         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67254         unconditional.
67255         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67256         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67257         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67258         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67259         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67260         Make code unconditional.
67261         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67262         (__mmap64) [!__NR_mmap2]: Likewise.
67263         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67264         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67265         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67266         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67267         [__NR_mmap2]: Make code unconditional.
67268         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67269         (__mmap64) [!__NR_mmap2]: Likewise.
67271 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67273         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67275 2012-08-18  Andreas Jaeger  <aj@suse.de>
67277         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67279 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67281         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67282         * include/unistd.h (__have_sock_cloexec): Likewise.
67283         (__have_pipe2): Likewise.
67284         (__have_dup3): Likewise.
67286 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67288         [BZ #9685]
67289         * include/unistd.h (__have_pipe2): Change define into an extern int.
67290         (__have_dup3): Likewise.
67291         * socket/have_sock_cloexec.c: Include fcntl.h.
67292         (__have_pipe2): New variable.
67293         (__have_dup3): Likewise.
67295 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
67297         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67299 2012-08-17  Marek Polacek  <polacek@redhat.com>
67301         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67302         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67304 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67306         * configure.in: Add AC_SUBST for sysheaders.
67307         * configure: Regenerated.
67308         * config.make.in (sysheaders): New substituted variable.
67310         * sysdeps/unix/mkfifo.c: Moved ...
67311         * sysdeps/posix/mkfifo.c: ... here.
67312         * sysdeps/unix/mkfifoat.c: Moved ...
67313         * sysdeps/posix/mkfifoat.c: ... here.
67315         * sysdeps/unix/utime.c: Moved ...
67316         * sysdeps/posix/utime.c: ... here.
67318         * sysdeps/unix/time.c: Moved ...
67319         * sysdeps/posix/time.c: ... here.
67320         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67321         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67323         * sysdeps/unix/nice.c: Moved ...
67324         * sysdeps/posix/nice.c: ... here.
67326         * sysdeps/unix/alarm.c: Moved ...
67327         * sysdeps/posix/alarm.c: ... here.
67329         * intl/Makefile ($(codeset_mo)): Depend on the input file.
67331 2012-08-17  Jeff Law <law@redhat.com>
67333         * intl/Makefile (codeset_mo): New variable.
67334         ($(codeset_mo)): New target.
67335         (tst-codeset.out): Depend on that.  Remove explicit rule.
67336         (tst-gettext3.out, tst-gettext5.out): Likewise.
67337         (LOCPATH-ENV, tst-codeset-ENV): New variables.
67338         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67339         * intl/tst-codeset.sh: Remove.
67340         * intl/tst-gettext3.sh: Likewise.
67341         * intl/tst-gettext5.sh: Likewise.
67343 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67345         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
67346         * sysdeps/unix/syscalls.list: ... here.
67348         * sysdeps/posix/getaddrinfo.c
67349         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67350         (gaiconf_init, gaiconf_reload): Use them.
67351         [!_STATBUF_ST_NSEC]
67352         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67353         Define using time_t rather than struct timespec.
67355         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67356         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67357         Macros removed.
67358         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67359         [!NO_THREADS].
67360         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67361         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67362         Likewise.
67364         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67365         __libc_cleanup_push argument.
67367         * bits/param.h: New file.
67368         * misc/sys/param.h: New file.
67369         * include/sys/param.h: New file.
67370         * misc/Makefile (headers): Add bits/param.h.
67371         * sysdeps/generic/sys/param.h: File removed.
67372         * sysdeps/unix/sysv/linux/bits/param.h: New file.
67373         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67374         * sysdeps/mach/hurd/bits/param.h: New file.
67375         * sysdeps/mach/hurd/sys/param.h: File removed.
67377         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67378         last change.
67380         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67381         [_IO_MTSAFE_IO].
67382         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67383         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67384         New macros.
67386         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67387         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67388         rather than -D_IO_MTSAFE_IO conditionally.
67389         * stdio-common/Makefile (CPPFLAGS): Likewise.
67390         * wcsmbs/Makefile (CPPFLAGS): Likewise.
67391         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67392         Use $(libio-mtsafe).
67393         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67394         of -D_IO_MTSAFE_IO.
67395         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67396         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67397         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67398         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67399         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67400         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67401         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67402         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67403         (CFLAGS-fread_u_chk.c): Likewise.
67404         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67405         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67406         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67407         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67408         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67409         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67410         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67411         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67412         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67414         * libio/Makefile: Test [$(libc-reentrant) = yes]
67415         instead of [$(filter %REENTRANT, $(defines)) nonempty].
67417         * Makeconfig
67418         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67419         * sysdeps/pthread/configure: File removed.
67420         * sysdeps/pthread/Makeconfig: New file.
67421         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67422         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67424 2012-08-16  Gary Benson  <gbenson@redhat.com>
67426         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67427         unmapping the first object in a namespace.
67429 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67431         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67432         (__internal_setnetgrent): ... this.  Add internal_function to
67433         definition.  Add libc_hidden_def.
67434         (setnetgrent): Update caller.
67435         (internal_endnetgrent): Renamed to ...
67436         (__internal_endnetgrent): ... this.  Add internal_function to
67437         definition.  Add libc_hidden_def.
67438         (endnetgrent): Update caller.
67439         (internal_getnetgrent_r): Renamed to ...
67440         (__internal_getnetgrent_r): ... this.  Add internal_function to
67441         definition.  Add libc_hidden_def.
67442         (__getnetgrent_r): Update caller.
67443         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
67445 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67447         * stdlib/longlong.h: Update from GCC.
67449 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67451         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67452         on _QL, which is set by umul_ppmm but never used.
67453         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67454         variables, which are set by GMP macros but never used.
67455         * stdio-common/_itowa.c (_itowa): Likewise.
67456         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67457         * stdlib/mod_1.c (mpn_mod_1): Likewise.
67459 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
67461         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67462         struct La_sh_regs is not constant.
67463         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67464         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67465         and struct La_sparc64_regs are not constant.
67467 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67469         * sysdeps/unix/sysv/linux/kernel-features.h
67470         (__ASSUME_POSIX_TIMERS): Remove.
67471         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67472         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67473         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67474         Make code unconditional.
67475         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67476         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67477         Make code unconditional.
67478         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67479         * sysdeps/unix/sysv/linux/clock_nanosleep.c
67480         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67481         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67482         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67483         Make code unconditional.
67484         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67485         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67486         (__libc_missing_posix_timers): Remove.
67488 2012-08-15  Roland McGrath  <roland@hack.frob.com>
67490         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67491         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67493         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67495         * elf/dl-sym.c: Include <stdlib.h>.
67497         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67498         constants, which avoids warnings in 32-bit builds.
67500         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67501         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67503         * misc/lseek.c: File moved to ...
67504         * io/lseek.c: ... here.
67506         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67508         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67509         shifting LEN more than 31 bits at once.
67511 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67513         [BZ #14195]
67514         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67515         segmentation fault for a case of two empty input strings.
67516         * string/test-strncasecmp.c (check1): Renamed to...
67517         (bz12205): ...this.
67518         (bz14195): Add new testcase for two empty input strings and N > 0.
67519         (test_main): Call new testcase, adapt for renamed function.
67521 2012-08-15  Andreas Jaeger  <aj@suse.de>
67523         [BZ #14090]
67524         * crypt/md5test2.c: New test, based on test supplied by Serge
67525         Belyshev <belyshev@depni.sinp.msu.ru>.
67526         * crypt/Makefile (xtests): Add md5test-giant..
67527         * crypt/Makefile ($(objpfx)md5test-giant): Add.
67529 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
67531         [BZ #14090]
67532         * crypt/md5.c (md5_process_block): Don't assume the buffer
67533         length is less than 2**32.
67534         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67535         length is less than 2**64.
67537 2012-08-15  Roland McGrath  <roland@hack.frob.com>
67539         * string/str-two-way.h: Include <sys/param.h>.
67540         (MAX): Macro removed.
67542         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
67543         Move #define and #undef of memmove to just before and after
67544         including <string.h>.
67546         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
67547         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
67548         and after including <string.h>.  Move declarations of
67549         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
67550         to before #include "string/memmove.c".
67552         * include/dirent.h: Declare __getdirentries.
67554         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
67555         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
67557 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
67559         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
67560         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
67561         * sysdeps/i386/configure: Regenerated.
67562         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
67563         STABS_CURRENT_FILE, and STABS_FUN.
67564         (END): Remove call to STABS_FUN_END.
67565         (STABS_CURRENT_FILE1): Delete.
67566         (STABS_CURRENT_FILE): Likewise.
67567         (STABS_FUN): Likewise.
67568         (STABS_FUN_END): Likewise.
67569         (STABS_FUN2): Likewise.
67570         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
67571         * sysdeps/x86_64/configure: Regenerated.
67573 2012-08-14  Roland McGrath  <roland@hack.frob.com>
67575         * elf/dl-open.c: Include <atomic.h>.
67576         * elf/dl-lookup.c: Likewise.
67578 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
67580         * sysdeps/unix/sysv/linux/kernel-features.h
67581         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67582         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67583         unconditionally.
67584         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67585         unconditionally.
67586         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67587         condition on __ASSUME_CLONE_THREAD_FLAGS.
67589 2012-08-14  Andreas Jaeger  <aj@suse.de>
67591         * sysdeps/i386/fpu/libm-test-ulps: Update.
67593 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
67595         * include/atomic.h (atomic_exchange_and_add): Split into ...
67596         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67597         New atomic macros.
67599 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
67601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67603 2012-08-13  Jeff Law <law@redhat.com>
67605         * manual/stdio.texi (snprintf): Clarify handling of the trailing
67606         null byte in the output string.
67608 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
67610         * sysdeps/unix/sysv/linux/kernel-features.h
67611         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67612         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67613         (__ASSUME_ARG_MAX_STACK_BASED): Define.
67614         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67615         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67616         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
67617         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67619 2012-08-09  Jeff Law <law@redhat.com>
67621         [BZ #13939]
67622         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67623         When avoid_arena is set, don't retry in the that arena.  Pick the
67624         next one, whatever it might be.
67625         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67626         (arena_lock): Pass in new parameter to arena_get2.
67627         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67628         arena_get2.
67629         (__libc_malloc): Unify retrying after main arena failure with
67630         __libc_memalign version.
67631         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67633 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
67635         [BZ #14166]
67636         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67637         to __redirect_strstr.
67638         (__strstr_sse42): Use typeof __redirect_strstr.
67639         (__strstr_ia32): Likewise.
67640         (__libc_strstr): New prototype.
67641         (strstr): Renamed to ...
67642         (__libc_strstr): This.
67643         (strstr): New strong alias of __libc_strstr.
67644         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67645         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67646         __redirect_time.
67647         Include <time.h>.
67648         (__libc_time): New prototype.
67649         (time_ifunc): Replace time with __libc_time.
67650         (time): New strong alias and hidden definition of __libc_time.
67651         (__GI_time): Remove strong alias.
67652         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67653         Include <stddef.h>.
67654         (memmove): Redefined to __redirect_memmove.
67655         (__memmove_sse2): Use typeof __redirect_memmove.
67656         (__memmove_ssse3): Likewise.
67657         (__memmove_ssse3_back): Likewise.
67658         (__libc_memmove): New prototype.
67659         (memmove): Renamed to ...
67660         (__libc_memmove): This.
67661         (memmove): New strong alias of __libc_memmove.
67663 2012-08-08  Mark Salter  <msalter@redhat.com>
67665         * elf/elf.h
67666         (R_MN10300_TLS_GD): Define.
67667         (R_MN10300_TLS_LD): Likewise.
67668         (R_MN10300_TLS_LDO): Likewise.
67669         (R_MN10300_TLS_GOTIE): Likewise.
67670         (R_MN10300_TLS_IE): Likewise.
67671         (R_MN10300_TLS_LE): Likewise.
67672         (R_MN10300_TLS_DTPMOD): Likewise.
67673         (R_MN10300_TLS_DTPOFF): Likewise.
67674         (R_MN10300_TLS_TPOFF): Likewise.
67675         (R_MN10300_SYM_DIFF): Likewise.
67676         (R_MN10300_ALIGN): Likewise.
67677         (R_MN10300_NUM): Update.
67679 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
67681         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67682         Remove.
67684 2012-08-08  Roland McGrath  <roland@hack.frob.com>
67686         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67688         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67689         sysdeps/unix -> sysdeps/posix move.
67690         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67692 2012-08-07      Allan McRae     <allan@archlinux.org>
67694         [BZ #14303]
67695         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67696         (SUNOS_CPP): Likewise.
67697         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67698         not found.
67699         (open_input): Call CPP using execvp.
67701 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67703         * sysdeps/unix/sysv/linux/kernel-features.h
67704         (__ASSUME_PROT_GROWSUPDOWN): Remove.
67705         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67706         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67707         (__ASSUME_WAITID_SYSCALL): Likewise.
67708         * sysdeps/unix/sysv/linux/dl-execstack.c
67709         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67710         code unconditional.
67711         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67712         conditional code.
67713         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67714         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67715         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67716         code.
67717         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67718         unconditional.
67719         [__ASSUME_WAITID_SYSCALL]: Likewise.
67720         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67722 2012-08-07  Roland McGrath  <roland@hack.frob.com>
67724         * sysdeps/unix/closedir.c: Renamed to ...
67725         * sysdeps/posix/closedir.c: ... here.
67726         * sysdeps/unix/dirfd.c: Renamed to ...
67727         * sysdeps/posix/dirfd.c: ... here.
67728         * sysdeps/unix/dirstream.h: Renamed to ...
67729         * sysdeps/posix/dirstream.h: ... here.
67730         * sysdeps/unix/fdopendir.c: Renamed to ...
67731         * sysdeps/posix/fdopendir.c: ... here.
67732         * sysdeps/unix/opendir.c: Renamed to ...
67733         * sysdeps/posix/opendir.c: ... here.
67734         * sysdeps/unix/readdir.c: Renamed to ...
67735         * sysdeps/posix/readdir.c: ... here.
67736         * sysdeps/unix/readdir_r.c: Renamed to ...
67737         * sysdeps/posix/readdir_r.c: ... here.
67738         * sysdeps/unix/rewinddir.c: Renamed to ...
67739         * sysdeps/posix/rewinddir.c: ... here.
67740         * sysdeps/unix/seekdir.c: Renamed to ...
67741         * sysdeps/posix/seekdir.c: ... here.
67742         * sysdeps/unix/telldir.c: Renamed to ...
67743         * sysdeps/posix/telldir.c: ... here.
67744         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67745         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67746         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67747         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67749         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67750         * bits/fcntl.h: ... here.
67752         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67753         not 0.
67754         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67755         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67756         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67757         (struct flock): Move l_start, l_len to the beginning.
67758         Use __pid_t for l_pid.
67759         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67760         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67761         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67762         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67763         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67764         [__USE_LARGEFILE64] (struct flock64): New type.
67765         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67767         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67768         * bits/dirent.h: ... here.
67770         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67771         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67773 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67775         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67776         Change from 2.6.0 to 2.6.16.
67777         * sysdeps/unix/sysv/linux/configure: Regenerated.
67778         * sysdeps/unix/sysv/linux/kernel-features.h
67779         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67780         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67781         version.
67782         (__ASSUME_UTIMES): Likewise.
67783         (__ASSUME_CLONE_STOPPED): Remove.
67784         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67785         architectures, not kernel version.
67786         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67787         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67788         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67789         (__ASSUME_WAITID_SYSCALL): Likewise.
67790         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67791         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67792         * README: State 2.6.16 as minimum Linux kernel version.  Do not
67793         refer to older versions.
67795 2012-08-06  Roland McGrath  <roland@hack.frob.com>
67797         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67798         Define alphasort64 as an alias.
67799         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67800         Define versionsort64 as an alias.
67801         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67802         Define scandir64 as an alias.
67803         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67804         Define scandirat64 as an alias.
67805         * dirent/alphasort64.c (alphasort64):
67806         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67807         * dirent/versionsort64.c: Likewise.
67808         * dirent/scandir64.c: Likewise.
67809         * dirent/scandirat64.c: Likewise.
67810         * sysdeps/wordsize-64/alphasort.c: File removed.
67811         * sysdeps/wordsize-64/alphasort64.c: File removed.
67812         * sysdeps/wordsize-64/scandir.c: File removed.
67813         * sysdeps/wordsize-64/scandir64.c: File removed.
67814         * sysdeps/wordsize-64/scandirat.c: File removed.
67815         * sysdeps/wordsize-64/scandirat64.c: File removed.
67816         * sysdeps/wordsize-64/versionsort.c: File removed.
67817         * sysdeps/wordsize-64/versionsort64.c: File removed.
67818         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67819         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67820         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67821         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67822         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67823         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67824         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67825         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67827         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67828         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67829         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67830         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67831         [defined __arch64__ || defined __sparcv9]
67832         (__INO_T_MATCHES_INO64_T): New macro.
67833         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67834         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67835         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67836         * sysdeps/unix/sysv/linux/bits/dirent.h
67837         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67838         (_DIRENT_MATCHES_DIRENT64): New macro.
67840         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67841         Define lockf64 as an alias.
67842         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67843         Define fseeko64 as an alias.
67844         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67845         Define ftello64 as an alias.
67846         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67847         Define _IO_fgetpos64 and fgetpos64 as aliases.
67848         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67849         Define _IO_fsetpos64 and fsetpos64 as aliases.
67850         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67851         Conditionalize body on this.
67852         * libio/fseeko64.c: Likewise.
67853         * libio/ftello64.c: Likewise.
67854         * libio/iofgetpos64.c: Likewise.
67855         * libio/iofsetpos64.c: Likewise.
67856         * sysdeps/wordsize-64/lockf.c: File removed.
67857         * sysdeps/wordsize-64/lockf64.c: File removed.
67858         * sysdeps/wordsize-64/fseeko.c: File removed.
67859         * sysdeps/wordsize-64/fseeko64.c: File removed.
67860         * sysdeps/wordsize-64/ftello.c: File removed.
67861         * sysdeps/wordsize-64/ftello64.c: File removed.
67862         * sysdeps/wordsize-64/iofgetpos.c: File removed.
67863         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67864         * sysdeps/wordsize-64/iofsetpos.c: File removed.
67865         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67866         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67867         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67868         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67869         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67870         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67871         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67872         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67873         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67874         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67875         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67877         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67878         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67879         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67880         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67881         [defined __arch64__ || defined __sparcv9]
67882         (__OFF_T_MATCHES_OFF64_T): New macro.
67883         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67884         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67885         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67886         (__OFF_T_MATCHES_OFF64_T): New macro.
67888 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67890         * stdlib/secure-getenv.c (__secure_getenv): Replace
67891         GLIBC_2_16 with GLIBC_2_17.
67893 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67895         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67896         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67898 2012-08-03  David S. Miller  <davem@davemloft.net>
67900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67902 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67904         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67905         Remove.
67906         (__ASSUME_CORRECT_SI_PID): Likewise.
67907         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67908         (__ASSUME_TMPFS_NAME): Likewise.
67909         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67910         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67911         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67912         (HAVE_AUX_SECURE): Make definition unconditional.
67913         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67914         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67916 2012-08-03  Roland McGrath  <roland@hack.frob.com>
67918         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67919         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67920         * sysdeps/mach/hurd/eloop-threshold.h: New file.
67921         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67922         __eloop_threshold instead of SYMLOOP_MAX.
67924         * sysdeps/generic/eloop-threshold.h: New file.
67925         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67926         of MAXSYMLINKS.
67927         * elf/chroot_canon.c (chroot_canon): Likewise.
67929 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67931         [BZ #13717]
67932         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67933         Change to 2.6.0 everywhere.
67934         * sysdeps/unix/sysv/linux/configure: Regenerated.
67935         * sysdeps/unix/sysv/linux/kernel-features.h
67936         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67937         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67938         kernel versions.
67939         (__ASSUME_POSIX_TIMERS): Define unconditionally.
67940         (__ASSUME_FUTEX_REQUEUE): Remove.
67941         (__ASSUME_STATFS64): Define unconditionally.
67942         (__ASSUME_AT_SECURE): Likewise.
67943         (__ASSUME_CORRECT_SI_PID): Likewise.
67944         (__ASSUME_TGKILL): Define without depending on kernel version for
67945         i386.
67946         (__ASSUME_UTIMES): Likewise.
67947         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67948         kernel version.
67949         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67950         (__ASSUME_TMPFS_NAME): Likewise.
67951         * README: Update reference to Linux kernel versions.
67953 2012-08-02  Marek Polacek  <polacek@redhat.com>
67955         [BZ# 14150]
67956         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
67957         libc_cv_asm_type_prefix with %.
67958         * configure: Regenerated.
67959         * include/libc-symbols.h: Remove comment about
67960         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67961         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67962         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67963         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67964         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67965         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67966         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67967         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67968         * elf/tst-unique2mod1.c: Likewise.
67969         * elf/tst-unique1mod2.c: Likewise.
67970         * elf/tst-unique1mod1.c: Likewise.
67971         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67972         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67973         Replace ASM_TYPE_DIRECTIVE with .type.
67974         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67975         * sysdeps/i386/sysdep.h: Likewise.
67976         * sysdeps/x86_64/sysdep.h: Likewise.
67977         * sysdeps/sh/sysdep.h: Likewise.
67978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67979         Do not define ASM_TYPE_DIRECTIVE.
67980         * sysdeps/powerpc/sysdep.h: Likewise.
67981         * sysdeps/powerpc/powerpc32/sysdep.h:
67982         Replace ASM_TYPE_DIRECTIVE with .type.
67983         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67984         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67985         * sysdeps/i386/fpu/e_powf.S: Likewise.
67986         * sysdeps/i386/fpu/e_expl.S: Likewise.
67987         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67988         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67989         * sysdeps/i386/fpu/e_pow.S: Likewise.
67990         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67991         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67992         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67993         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67994         * sysdeps/i386/fpu/e_log2.S: Likewise.
67995         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67996         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67997         * sysdeps/i386/fpu/e_powl.S: Likewise.
67998         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67999         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68000         * sysdeps/i386/fpu/e_logl.S: Likewise.
68001         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68002         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68003         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68004         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68005         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68006         * sysdeps/i386/fpu/e_log.S: Likewise.
68007         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68008         * sysdeps/i386/fpu/e_logf.S: Likewise.
68009         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68010         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68011         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68012         * sysdeps/i386/fpu/e_log10.S: Likewise.
68013         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68014         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68015         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68016         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68017         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68018         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
68019         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68020         * sysdeps/i386/i686/strtok.S: Likewise.
68021         * sysdeps/i386/i386-mcount.S: Likewise.
68022         * sysdeps/i386/strtok.S: Likewise.
68023         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
68024         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68025         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68026         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68027         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68028         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68029         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68030         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68031         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68032         * sysdeps/x86_64/_mcount.S: Likewise.
68033         * sysdeps/x86_64/strtok.S: Likewise.
68034         * sysdeps/sh/_mcount.S: Likewise.
68036 2012-08-01  Roland McGrath  <roland@hack.frob.com>
68038         * libio/iofopen.c: Include <fcntl.h>.
68039         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68040         (_IO_fopen64, fopen64): Define as aliases.
68041         * libio/iofopen64.c: Include <fcntl.h>.
68042         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68043         Conditionalize body on this.
68044         * sysdeps/wordsize-64/iofopen.c: File removed.
68045         * sysdeps/wordsize-64/iofopen64.c: File removed.
68047 2012-08-01  Marek Polacek  <polacek@redhat.com>
68049         * libc/Makeconfig: Use elf in place of binfmt-subdir.
68050         Use dlfcn directly instead of a variable.
68051         (binfmt-subdir): Do not define.
68052         (dlfcn): Likewise.
68054 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
68056         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68057         Remove all definitions.
68058         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68059         <kernel-features.h>.
68060         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68061         (miss_F_GETOWN_EX): Remove all definitions.
68062         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68063         macro definition.
68064         [!__ASSUME_FCNTL64]: Remove conditional code.
68065         [__ASSUME_FCNTL64]: Make code unconditional.
68066         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68067         <kernel-features.h>.
68068         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68069         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68070         (lockf64) [__NR_fcntl64]: Make code unconditional.
68071         (lockf64) [__ASSUME_FCNTL64]: Likewise.
68073         * sysdeps/unix/sysv/linux/kernel-features.h
68074         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68075         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68076         Make code unconditional.
68077         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68078         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68080         [__NR_vfork]: Make code unconditional.
68081         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68082         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68084         [__NR_vfork]: Make code unconditional.
68085         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68086         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68088 2012-08-01  Roland McGrath  <roland@hack.frob.com>
68090         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68091         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68093         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68094         Define mkstemp64 as an alias.
68095         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68096         Define mkstemps64 as an alias.
68097         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68098         Define mkostemp64 as an alias.
68099         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68100         Define mkostemps64 as an alias.
68101         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68102         Conditionalize body on this.
68103         * misc/mkostemp64.c: Likewise.
68104         * misc/mkostemps64.c: Likewise.
68105         * misc/mkstemps64.c: Likewise.
68106         * sysdeps/wordsize-64/mkstemp64.c: File removed.
68107         * sysdeps/wordsize-64/mkostemp64.c: File removed.
68108         * sysdeps/wordsize-64/mkostemp.c: File removed.
68109         * sysdeps/wordsize-64/mkstemp.c: File removed.
68110         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68111         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68112         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68113         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68115         [BZ #14138]
68116         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68117         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68118         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68119         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68121         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68122         compat_symbol macros from <shlib-compat.h> rather than the underlying
68123         default_symbol_version and symbol_version macros, so that DEFAULT
68124         lines in shlib-versions are respected.
68125         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68127 2012-08-01  Florian Weimer  <fweimer@redhat.com>
68129         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68130         Declare with warn_unused_result.
68131         (setgid, setregid, setegid, setresgid): Likewise.
68132         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68133         Likewise.
68134         * WUR-REPORT: Remove set*id functions.
68136 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
68138         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68140 2012-07-31  Roland McGrath  <roland@hack.frob.com>
68142         [BZ #10191]
68143         * include/sys/socket.h (__libc_accept, __libc_accept4):
68144         Add attribute_hidden.
68145         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68147         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68148         use of PTR_MANGLE.
68149         * inet/getnetgrent_r.c (setup): Likewise.
68151         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68153 2012-07-31  David S. Miller  <davem@davemloft.net>
68155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68157 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
68159         [BZ #13629]
68160         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68161         value between 1.0 and 2.0 and smaller part has absolute value less
68162         than 1.0.
68163         * math/s_clog10.c (__clog10): Likewise.
68164         * math/s_clog10f.c (__clog10f): Likewise.
68165         * math/s_clog10l.c (__clog10l): Likewise.
68166         * math/s_clogf.c (__clogf): Likewise.
68167         * math/s_clogl.c (__clogl): Likewise.
68168         * math/libm-test.inc (clog_test): Add more tests.
68169         (clog10_test): Likewise.
68170         * sysdeps/i386/fpu/libm-test-ulps: Update.
68171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68173 2012-07-31  Florian Weimer  <fweimer@redhat.com>
68175         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68176         Exit with zero in case no suitable GID is found, and write a
68177         message to standard error.
68179 2012-07-30  Roland McGrath  <roland@hack.frob.com>
68181         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68182         rather than to 1.
68183         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68184         (MAXPATHLEN): Removed.
68185         (NOGROUP, NODEV): New macros.
68186         (setbit, clrbit, isset, isclr): New macros.
68187         (howmany, roundup, powerof2): New macros.
68188         (DEV_BSIZE): New macro.
68190         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68191         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68193         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68194         definition on [!__NO_LONG_DOUBLE_MATH].
68196         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68197         PTR_MANGLE and PTR_DEMANGLE.
68199         * socket/accept4.c (accept4): Rename to __libc_accept4.
68200         Define accept4 as a weak alias.
68202         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68203         on [_DIRENT_HAVE_D_TYPE].
68204         * io/ftw.c (ftw_dir): Likewise.
68206         * io/xmknod.c (__xmknod): Don't check PATH for being null.
68208         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68210         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68211         Use the BSD numbers rather than the arbitrary ones we had.
68212         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68213         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68214         (SIGXCPU, SIGXFSZ): New macros.
68215         (_NSIG): Now 32.
68217         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68218         initializer on [_LIBC_REENTRANT].
68220         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68221         definitions inside [_POSIX_MAPPED_FILES].
68223         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68225         * dirent/opendir.c: Include <fcntl.h>.
68227         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68228         (__libc_getspecific): Likewise.
68229         (__libc_key_create): Likewise.
68231         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68232         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68233         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68234         (tmpfile64): Define as alias.
68235         * sysdeps/wordsize-64/tmpfile.c: File removed.
68236         * sysdeps/wordsize-64/tmpfile64.c: File removed.
68237         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68238         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68240         * stdio-common/vfscanf.c: Include <stdbool.h>.
68241         * nss/makedb.c: Likewise.
68242         * stdio-common/_i18n_number.h: Likewise.
68243         * argp/argp-help.c: Likewise.
68244         * posix/wordexp.c: Likewise.
68245         * sysdeps/posix/spawni.c: Likewise.
68246         * nss/nss_files/files-initgroups.c: Likewise.
68247         * stdio-common/reg-modifier.c: Include <stdlib.h>.
68248         * nss/nss_files/files-initgroups.c: Likewise.
68249         * nss/nss_db/db-netgrp.c: Likewise.
68250         * nss/nss_db/db-initgroups.c: Likewise.
68251         * io/fchmodat.c: Include <sys/stat.h>.
68253         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68254         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68256         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68257         [HAVE_MMAP].
68259         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68260         Add multiple inclusion protection.
68262 2012-07-27  David S. Miller  <davem@davemloft.net>
68264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68266 2012-07-27  Gary Benson  <gbenson@redhat.com>
68268         [BZ #14298]
68269         * elf/rtld.c: Include <stap-probe.h>.
68270         (dl_main): Added static probes "init_start" and "init_complete".
68271         * elf/dl-load.c: Include <stap-probe.h>.
68272         (lose): Take new parameter "nsid".
68273         Added static probe "map_failed".
68274         (_dl_map_object_from_fd): Pass namespace id to lose.
68275         Added static probe "map_start".
68276         (open_verify): Pass namespace id to lose.
68277         * elf/dl-open.c: Include <stap-probe.h>.
68278         (dl_open_worker) Added static probes "map_complete", "reloc_start"
68279         and "reloc_complete".
68280         * elf/dl-close.c: Include <stap-probe.h>.
68281         (_dl_close_worker): Added static probes "unmap_start" and
68282         "unmap_complete".
68283         * elf/rtld-debugger-interface.txt: New file documenting the above.
68285 2012-07-26  Roland McGrath  <roland@hack.frob.com>
68287         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68288         rather than a string variable.
68289         * sunrpc/rpc_main.c (h_output): Likewise.
68290         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68292 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
68294         * inet/check_native.c: New file.
68296 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
68298         [BZ #13629]
68299         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68300         if larger part has absolute value 1.0.
68301         * math/s_clog10.c (__clog10): Likewise.
68302         * math/s_clog10f.c (__clog10f): Likewise.
68303         * math/s_clog10l.c (__clog10l): Likewise.
68304         * math/s_clogf.c (__clogf): Likewise.
68305         * math/s_clogl.c (__clogl): Likewise.
68306         * math/libm-test.inc (clog_test): Add more tests.
68307         (clog10_test): Likewise.
68308         * sysdeps/i386/fpu/libm-test-ulps: Update.
68309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68311         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68312         (pltexit): Likewise.
68313         (La_regs): Likewise.
68314         (La_retval): Likewise.
68315         (int_retval): Likewise.
68316         Update #error for removed macros to refer only to definitions in
68317         tst-audit.h.
68318         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68319         macro.
68320         (pltexit): Likewise.
68321         (La_regs): Likewise.
68322         (La_retval): Likewise.
68323         (int_retval): Likewise.
68324         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68325         macro.
68326         (pltexit): Likewise.
68327         (La_regs): Likewise.
68328         (La_retval): Likewise.
68329         (int_retval): Likewise.
68330         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68331         macro.
68332         (pltexit): Likewise.
68333         (La_regs): Likewise.
68334         (La_retval): Likewise.
68335         (int_retval): Likewise.
68336         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68337         macro.
68338         (pltexit): Likewise.
68339         (La_regs): Likewise.
68340         (La_retval): Likewise.
68341         (int_retval): Likewise.
68342         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68343         macro.
68344         (pltexit): Likewise.
68345         (La_regs): Likewise.
68346         (La_retval): Likewise.
68347         (int_retval): Likewise.
68348         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68349         macro.
68350         (pltexit): Likewise.
68351         (La_regs): Likewise.
68352         (La_retval): Likewise.
68353         (int_retval): Likewise.
68354         * sysdeps/generic/tst-audit.h: Update comment to refer only to
68355         macro definitions in tst-audit.h.
68356         * sysdeps/i386/tst-audit.h: New file.
68357         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68358         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68359         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68360         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68361         * sysdeps/sh/tst-audit.h: Likewise.
68362         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68363         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68364         * sysdeps/x86_64/tst-audit.h: Likewise.
68366 2012-07-26  Andreas Jaeger  <aj@suse.de>
68368         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68369         ptrace.
68371         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68372         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68373         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68374         PTRACE_O_MASK.
68375         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68376         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68377         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68379         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68380         value.
68382         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68383         _sigsys.
68384         (si_call_addr, si_syscall, si_arch): Define new macro.
68385         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68386         _sigsys.
68387         (si_call_addr, si_syscall, si_arch): Define new marcro.
68388         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68389         _sigsys.
68390         (si_call_addr, si_syscall, si_arch): Define new macro.
68391         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68392         _sigsys.
68393         (si_call_addr, si_syscall, si_arch): Define new macro.
68395 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68397         [BZ #13717]
68398         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68399         Change to 2.4.21 where previously 2.4.1.
68400         * sysdeps/unix/sysv/linux/configure: Regenerated.
68401         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68402         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68403         Linux kernel version.
68404         (__ASSUME_STD_AUXV): Remove.
68405         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68406         kernel version.
68407         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68408         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68409         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68410         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68411         (__ASSUME_NETLINK_SUPPORT): Likewise.
68412         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68413         (__no_netlink_support): Remove conditional definition.
68414         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68415         Remove.
68416         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68417         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68418         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68419         (if_nameindex_ioctl): Remove.
68420         (if_nameindex_netlink): Do not handle __no_netlink_support.
68421         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68422         code.
68423         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68424         Remove conditional code.
68425         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68426         code.
68427         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68428         unconditional.
68429         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68430         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68431         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68432         Remove.
68433         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68434         [!__ASSUME_STD_AUXV]: Remove conditional code.
68435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68436         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68437         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68439         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68440         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68441         code.
68442         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68444         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68445         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68446         conditional code.
68447         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68449         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68450         code.
68451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68452         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68453         conditional code.
68454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68455         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68456         code unconditional.
68457         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68458         conditional code.
68459         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68460         unconditional.
68461         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68462         conditional code.
68463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68464         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68465         unconditional.
68466         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68467         conditional code.
68468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68469         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68470         code unconditional.
68471         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68472         conditional code.
68473         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68474         unconditional.
68475         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68476         conditional code.
68477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68478         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68479         code unconditional.
68480         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68481         conditional code.
68482         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68483         unconditional.
68484         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68485         conditional code.
68487 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
68489         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68490         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68491         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68492         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68493         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68494         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68495         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68496         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68497         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68498         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68499         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68500         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68501         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68502         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68503         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68504         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68505         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68506         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68507         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68509         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68510         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68511         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68513 2012-07-25  Florian Weimer  <fweimer@redhat.com>
68515         * Versions.def: Add GLIBC_2.17.
68516         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68517         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68518         Introduce __libc_secure_getenv.
68519         * stdlib/Versions (2.17): Add secure_getenv
68520         (GLIBC_PRIVATE): Add __libc_secure_getenv.
68521         * stdlib/secure-getenv.c: Rename __secure_getenv to
68522         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
68523         symbol __secure_getenv for GLIBC_2.0.
68524         * stdlib/tst-secure-getenv.c: New.
68525         * stdlib/Makefile (tests): Add testcase.
68526         * manual/startup.texi (Environment Access): Document
68527         secure_getenv.
68528         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68529         __libc_secure_getenv.
68530         * inet/ruserpass.c (ruserpass): Likewise.
68531         * malloc/mtrace.c (mtrace): Likewise.
68532         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68533         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68534         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68535         * sysdeps/posix/tempname.c: Likewise.  Evaluate
68536         HAVE_SECURE_GETENV.
68537         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68538         __secure_getenv to __libc_secure_getenv.
68539         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68541         Likewise.
68542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68543         Likewise.
68544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68546         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68548         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68552 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68554         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
68555         (struct La_i86_retval): Likewise.
68556         (struct La_x86_64_regs): Likewise.
68557         (struct La_x86_64_retval): Likewise.
68558         (struct La_x32_regs): Likewise.
68559         (struct La_x32_retval): Likewise.
68560         (struct La_ppc32_regs): Likewise.
68561         (struct La_ppc32_retval): Likewise.
68562         (struct La_ppc64_regs): Likewise.
68563         (struct La_ppc64_retval): Likewise.
68564         (struct La_sh_regs): Likewise.
68565         (struct La_sh_retval): Likewise.
68566         (struct La_s390_32_regs): Likewise.
68567         (struct La_s390_32_retval): Likewise.
68568         (struct La_s390_64_regs): Likewise.
68569         (struct La_s390_64_retval): Likewise.
68570         (struct La_sparc32_regs): Likewise.
68571         (struct La_sparc32_retval): Likewise.
68572         (struct La_sparc64_regs): Likewise.
68573         (struct La_sparc64_retval): Likewise.
68574         (struct audit_ifaces): Remove architecture-specific pltenter and
68575         pltexit members.
68576         * sysdeps/i386/ldsodefs.h: New file.
68577         * sysdeps/powerpc/ldsodefs.h: Likewise.
68578         * sysdeps/s390/ldsodefs.h: Likewise.
68579         * sysdeps/sh/ldsodefs.h: Likewise.
68580         * sysdeps/sparc/ldsodefs.h: Likewise.
68581         * sysdeps/x86_64/ldsodefs.h: Likewise.
68583 2012-07-25  Marek Polacek  <polacek@redhat.com>
68585         [BZ #6808]
68586         * math/libm-test.inc (yn_test): Add another test.
68587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68588         to ERANGE when the result is +-Inf.
68589         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68590         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68591         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68592         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68594 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
68596         * conform/data/time.h-data (NULL): Use macro-constant.  Require
68597         equal to 0.
68598         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
68599         clock_t.
68600         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
68602 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
68604         * configure.in <sysdeps resolving>: Correct printing
68605         Implies_before.
68606         * configure: Regenerate.
68608 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
68610         * math/w_ilogb.c: Include <limits.h>.
68611         * math/w_ilogbl.c: Likewise.
68613 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68615         * manual/lang.texi (__va_copy): Document primarily as ISO C99
68616         va_copy.  Document allowing for unavailable va_copy only as
68617         pre-C99 compatibility.
68618         * manual/string.texi (Copying and Concatenation): Use va_copy
68619         instead of __va_copy in concat example.
68621 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
68623         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68624         (__sendto): Use create_address_port.  Initialize APORT and deallocate
68625         it if not null.
68627         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68628         with O_NOLINK passed to __file_name_lookup.
68630         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68631         with O_NOLINK passed to __file_name_lookup.
68633         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68634         negative N or less than NGIDS.
68636         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68637         type to string_t.  Set ERANGE as errno and return it if NAME is not big
68638         enough.  Use memcpy instead of strncpy.
68640 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68642         * elf/Makefile (check-data): Remove.
68643         (localplt.data): New vpath directive.
68644         ($(objpfx)check-localplt.out): Use localplt.data from vpath
68645         instead of $(check-data).
68646         * scripts/data/localplt-generic.data: Move to ...
68647         * sysdeps/generic/localplt.data: ... here.
68648         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68649         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68650         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68652         ... here.
68653         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68655         ... here.
68656         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68658         ... here.
68659         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68661         ... here.
68662         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68664         ... here.
68665         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68667         ... here.
68669 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68671         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68672         PPC32 and PPC64 files.
68673         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68674         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68676 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68678         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68679         __makecontext_ret to ...
68680         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68681         ... here and call exit if uc_link is NULL.  New file.
68682         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68683         __makecontext_ret.S.
68684         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68685         __makecontext_ret to ...
68686         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68687         ... here and call exit if uc_link is NULL.  New file.
68688         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68689         __makecontext_ret.S.
68691 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68693         * elf/elf.h (R_390_IRELATIVE): New definition.
68694         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68695         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
68696         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68697         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68698         (elf_machine_lazy_rel): Likewise.
68699         * sysdeps/s390/dl-irel.h: New file.
68700         * sysdeps/s390/s390-64/memcpy.S: New asm code.
68701         * sysdeps/s390/s390-64/memset.S: New asm code.
68702         * sysdeps/s390/s390-64/memcmp.S: New asm code.
68703         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68704         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68705         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68706         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68707         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68708         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68709         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68710         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68711         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68712         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68713         * sysdeps/s390/s390-32/memcpy.S: New asm code.
68714         * sysdeps/s390/s390-32/memset.S: New asm code.
68715         * sysdeps/s390/s390-32/memcmp.S: New asm code.
68717 2012-07-17  Marek Polacek  <polacek@redhat.com>
68719         [BZ #14349]
68720         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68721         * sysdeps/s390/s390-64/configure.in: Likewise.
68722         * sysdeps/sparc/configure.in: Likewise.
68723         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68724         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68725         * sysdeps/i386/configure.in: Likewise.
68726         * sysdeps/x86_64/configure.in: Likewise.
68727         * sysdeps/sh/configure.in: Likewise.
68728         * sysdeps/s390/s390-32/configure: Regenerated.
68729         * sysdeps/s390/s390-64/configure: Likewise.
68730         * sysdeps/x86_64/configure: Likewise.
68731         * sysdeps/sh/configure: Likewise.
68732         * sysdeps/powerpc/powerpc64/configure: Likewise.
68733         * sysdeps/powerpc/powerpc32/configure: Likewise.
68734         * sysdeps/sparc/configure: Likewise.
68735         * sysdeps/i386/configure: Likewise.
68737         * elf/dl-open.c: Comment fixes.
68739 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
68741         * Makefile [CXX] (check-data): Remove.
68742         [CXX] (c++-types.data): New vpath directive.
68743         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68744         vpath.  Do not allow for C++ type data being missing.
68745         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68746         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68747         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68748         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68749         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68750         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68751         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68753         ... here.
68754         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68756         ... here.
68757         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68759         ... here.
68760         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68762         ... here.
68763         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68765         ... here.
68766         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68768         ... here.
68769         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68771         ... here.
68772         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68775         * elf/tls-macros.h (TLS_LE): Move architecture-specific
68776         definitions to architecture-specific files.
68777         (TLS_IE): Likewise.
68778         (TLS_LD): Likewise.
68779         (TLS_GD): Likewise.
68780         * sysdeps/i386/tls-macros.h: New file.
68781         * sysdeps/powerpc/tls-macros.h: Likewise.
68782         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68783         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68784         * sysdeps/sh/tls-macros.h: Likewise.
68785         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68786         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68787         * sysdeps/x86_64/tls-macros.h: Likewise.
68789 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68791         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68792         zero value for regular exit case.
68794         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68795         (__start_context): Preserve zero value for regular exit case.
68797 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68798             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68800         * manual/setjmp.texi (setcontext): Clarify normal process
68801         termination when uc_link is the null pointer.
68802         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68803         exit call.
68805 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
68807         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68808         preprocessor.  Test for each exception mask separately.
68810 2012-07-16  Andreas Jaeger  <aj@suse.de>
68812         * po/ru.po: Update from translation team.
68814 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
68816         * conform/data/string.h-data (NULL): Use macro-constant.  Require
68817         equal to 0.
68818         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68819         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68820         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68821         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68822         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68824 2012-07-13  Andreas Jaeger  <aj@suse.de>
68826         * po/fr.po: Update from translation team.
68828 2012-07-12  Marek Polacek  <polacek@redhat.com>
68830         [BZ #14173]
68831         * math/libm-test.inc (yn_test): Add test for BZ #14173.
68832         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68833         loop condition.
68835 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
68837         [BZ #13717]
68838         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68839         Change to 2.4.1 where previously 2.4.0.
68840         * sysdeps/unix/sysv/linux/configure: Regenerated.
68841         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68842         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68843         version.
68844         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68845         (__ASSUME_AT_CLKTCK): Remove.
68846         (__ASSUME_AT_PAGESIZE): Likewise.
68847         (__ASSUME_AT_XID): Likewise.
68848         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68849         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68850         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68851         unconditionally.
68852         (HAVE_AUX_PAGESIZE): Likewise.
68853         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68854         [__ASSUME_AT_CLKTCK]: Make code unconditional.
68855         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68857 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
68859         [BZ #14307]
68860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68861         the temporary buffer used to invoke __gethostbyname2_r,
68862         __gethostbyaddr_r and gethostbyname4_r to make room for struct
68863         host_data / struct gaih_addrtuple.
68864         * resolv/nss_dns/dns-host.c (global scope): Move definition of
68865         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68866         header file nss/nsswitch.h.
68867         * nss/nsswitch.h (global scope): Add definition of implementation
68868         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68869         resolv/nss_dns/dns-host.c).
68871 2012-07-11  Andreas Jaeger  <aj@suse.de>
68873         * po/fr.po: Update from translation team.
68875         * po/sv.po: Update from translation team
68876         * po/fr.po: Another update from translation team.
68878 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68880         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68881         for subnormals or multiply small sinh result by itself.
68882         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68885 2012-07-11  David S. Miller  <davem@davemloft.net>
68887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68889 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
68891         [BZ #14347]
68892         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68893         (INTERNAL_MARK): Shift it here.
68895 2012-07-10  Marek Polacek  <polacek@redhat.com>
68897         [BZ #14151]
68898         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
68899         libc_cv_asm_global_directive with .globl.
68900         * configure: Regenerated.
68901         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68902         with .globl.
68903         * sysdeps/i386/configure: Regenerated.
68904         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68905         with .globl.
68906         * sysdeps/x86_64/configure: Regenerated.
68907         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68908         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68909         * elf/tst-unique2mod2.c: Likewise.
68910         * elf/tst-unique2mod1.c: Likewise.
68911         * elf/tst-unique1mod2.c: Likewise.
68912         * elf/tst-unique1mod1.c: Likewise.
68913         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68914         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68915         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68916         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68917         * sysdeps/mach/sysdep.h: Likewise.
68918         * sysdeps/i386/sysdep.h: Likewise.
68919         * sysdeps/i386/i386-mcount.S: Likewise.
68920         * sysdeps/x86_64/_mcount.S: Likewise.
68921         * sysdeps/x86_64/sysdep.h: Likewise.
68922         * sysdeps/sh/_mcount.S: Likewise.
68923         * sysdeps/sh/sysdep.h: Likewise.
68924         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68925         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68926         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68927         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68928         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68929         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68930         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68931         * locale/localeinfo.h: Likewise.
68932         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68933         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68935 2012-07-09  Roland McGrath  <roland@hack.frob.com>
68937         [BZ #14336]
68938         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68939         system".
68940         * manual/message.texi (The Uniforum approach): Likewise.
68941         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68942         (glibc iconv Implementation): Likewise.
68944 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
68946         [BZ #14337]
68947         * math/s_clog.c (__clog): Avoid scaling a value down where that
68948         could result in underflow.
68949         * math/s_clog10.c (__clog10): Likewise.
68950         * math/s_clog10f.c (__clog10f): Likewise.
68951         * math/s_clog10l.c (__clog10l): Likewise.
68952         * math/s_clogf.c (__clogf): Likewise.
68953         * math/s_clogl.c (__clogl): Likewise.
68954         * math/libm-test.inc (clog_test): Add more tests.
68955         (clog10_test): Likewise.
68956         * sysdeps/i386/fpu/libm-test-ulps: Update.
68957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68959 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
68961         [BZ #14283]
68962         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68963         by 7 not 8 to examine high bit of fractional part.
68965         [BZ #14042]
68966         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68967         for call to __mcount_internal.
68968         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68969         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68970         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68972 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
68974         [BZ #14154]
68975         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68976         approximation for values within 0x1p-13f of an odd multiple of
68977         pi/4.
68978         * math/libm-test.inc (tan_test): Do not allow spurious underflow
68979         exception.  Add more tests.
68980         * sysdeps/i386/fpu/libm-test-ulps: Update.
68982         [BZ #6778]
68983         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68984         inputs and return -1 for them.  Do not check for +Inf in case not
68985         reachable for +Inf.
68986         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68987         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68988         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68989         and return -1 for them.  Do not check for +Inf in case not
68990         reachable for +Inf.
68991         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68992         define.
68993         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68994         and return -1 for them.  Do not check for +Inf in case not
68995         reachable for +Inf.
68996         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
68997         spurious underflow.
68998         * sysdeps/i386/fpu/libm-test-ulps: Update.
68999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69001 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
69003         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
69005 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
69007         [BZ #14157]
69008         [BZ #14331]
69009         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
69010         could result in spurious underflow.  Scale down values above
69011         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69012         * math/s_csqrtf.c (__csqrtf): Likewise.
69013         * math/s_csqrtl.c (__csqrtl): Likewise.
69014         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
69015         spurious underflow.
69016         * sysdeps/i386/fpu/libm-test-ulps: Update.
69017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69019 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
69021         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
69022         xopen-msg.sed.
69023         * catgets/xopen-msg.awk: New file.
69024         * catgets/xopen-msg.sed: Removed.
69026         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69027         po2text.sed.
69028         * intl/po2test.awk: New file.
69029         * intl/po2test.sed: Removed.
69031 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
69033         [BZ #14328]
69034         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69035         or multiply small sinh result by itself.
69036         * math/s_ctanf.c (__ctanf): Likewise.
69037         * math/s_ctanh.c (__ctanh): Likewise.
69038         * math/s_ctanhf.c (__ctanhf): Likewise.
69039         * math/s_ctanhl.c (__ctanhl): Likewise.
69040         * math/s_ctanl.c (__ctanl): Likewise.
69041         * math/libm-test.inc (ctan_test_tonearest): New function.
69042         (ctan_test_towardzero): Likewise.
69043         (ctan_test_downward): Likewise.
69044         (ctan_test_upward): Likewise.
69045         (ctanh_test_tonearest): Likewise.
69046         (ctanh_test_towardzero): Likewise.
69047         (ctanh_test_downward): Likewise.
69048         (ctanh_test_upward): Likewise.
69049         (main): Call these new functions.
69050         * sysdeps/i386/fpu/libm-test-ulps: Update.
69051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69053 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
69055         * .gitignore: Delete /ports entry.
69057 2012-07-03  Andreas Jaeger  <aj@suse.de>
69059         * po/bg.po: Update from translation team.
69060         * po/cs.po: Likewise.
69061         * po/de.po: Likewise.
69062         * po/hr.po: Likewise.
69063         * po/nl.pl: Likewise.
69064         * po/pl.po: Likewise.
69065         * po/vi.po: Likewise.
69067 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
69069         * Makeconfig [!+link] (+link-before-libc): New variable.
69070         [!+link] (+link-after-libc): Likewise.
69071         [!+link] (+link-tests): Likewise.
69072         [!+link] (+link): Define in terms of $(+link-before-libc) and
69073         $(+link-after-libc).
69074         [!+link-static] (+link-static-before-libc): New variable.
69075         [!+link-static] (+link-static-after-libc): Likewise.
69076         [!+link-static] (+link-static-tests): Likewise.
69077         [!+link-static] (+link-static): Define in terms of
69078         $(+link-static-before-libc) and $(+link-static-after-libc).
69079         [build-shared] (link-libc-before-gnulib): New variable.
69080         [build-shared] (link-libc-tests): Likewise.
69081         [build-shared] (link-libc): Define in terms of
69082         $(link-libc-before-gnulib).
69083         [!build-shared] (link-libc-tests): New variable.
69084         (link-libc-static-tests): New variable.
69085         [!gnulib] (gnulib-arch): New variable.
69086         [!gnulib] (gnulib-tests): Likewise.
69087         [!gnulib] (static-gnulib-arch): Likewise.
69088         [!gnulib] (static-gnulib-tests): Likewise.
69089         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
69090         Define with "=" instead of ":=".
69091         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
69092         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
69093         * Rules (binaries-all-notests): New variable.
69094         (binaries-all-tests): Likewise.
69095         (binaries-static-notests): Likewise.
69096         (binaries-static-tests): Likewise.
69097         (binaries-all): Define using $(binaries-all-notests) and
69098         $(binaries-all-tests).
69099         (binaries-static): Define using $(binaries-static-notests) and
69100         $(binaries-static-tests).
69101         (binaries-shared-tests): New variable.
69102         (binaries-shared-notests): Likewise.
69103         (binaries-shared): Remove variable.
69104         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69105         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69106         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69107         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69108         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69109         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69110         * elf/Makefile (sln-modules): New variable.
69111         (extra-objs): Add $(sln-modules:=.o).
69112         (ldconfig-modules): Add static-stubs.
69113         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69114         * elf/static-stubs.c: New file.
69116         [BZ #14283]
69117         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69118         by 7 not 8 to examine high bit of fractional part.  Use volatile
69119         variables when splitting into final array of floats if
69120         __FLT_EVAL_METHOD__ != 0.
69121         * math/libm-test.inc (cos_test): Add another test.
69122         (sin_test): Likewise.
69123         * sysdeps/i386/fpu/libm-test-ulps: Update.
69125         [BZ #14273]
69126         * math/libm-test.inc (cosh_test): Add more tests.
69128         * version.h (RELEASE): Set to "development".
69129         (VERSION): Set to "2.16.90".
69131 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
69133         * NEWS: Update copyright. Remove last-updated date.
69134         Mention math library bug fixes and timezone data changes.
69135         * README: Mention GNU/Hurd, x32, and HPPA support status.
69137 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
69139         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69141 2012-06-27  Andreas Jaeger  <aj@suse.de>
69143         * manual/contrib.texi (Contributors): Add Samuel Thibault.
69145 2012-06-25  Andreas Jaeger  <aj@suse.de>
69147         * sysdeps/s390/fpu/libm-test-ulps: Update.
69149 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
69150             Thomas Schwinge  <thomas@codesourcery.com>
69152         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69153         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69154         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69155         fanotify_mark.
69157 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
69159         * sysdeps/mach/start.c: Remove file.
69160         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69161         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69162         * sysdeps/sh/init-first.c: Likewise.
69164         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69165         registers for frame unwinding purposes, add CFI directives.
69166         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69167         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69168         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69169         Likewise.
69171         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69172         __fortify_fail returning.
69173         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69175         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69176         sysdeps/sh/____longjmp_chk.S.
69177         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69178         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69179         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69180         (gen-as-const-headers): Append sigaltstack-offsets.sym.
69182         * sysdeps/sh/abort-instr.h: New file.
69183         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69184         process in case exit returns.
69186         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69187         initialize the GOT register before use.
69189         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69190         calculation of ARGC > 4.
69192         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69193         meaningful names to some local labels.
69195 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69196             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69198         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69199         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69200         (__arch_compare_and_exchange_val_16_acq): Likewise.
69201         (__arch_compare_and_exchange_val_32_acq): Likewise.
69202         (atomic_exchange_and_add): Fix gUSA sequence.
69203         (atomic_add): Likewise.
69204         (atomic_add_negative): Likewise.
69205         (atomic_add_zero): Likewise.
69206         (atomic_bit_test_set): Likewise.
69208 2012-06-22  Andreas Schwab  <schwab@redhat.com>
69210         [BZ #13579]
69211         * include/link.h (struct link_map): Add l_free_initfini.
69212         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69213         l_initfini.
69214         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69215         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69216         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69217         set.
69219 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
69221         * configure.in: Use AC_LANG_SOURCE.
69222         * configure: Regenerate.
69224 2012-06-22  Roland McGrath  <roland@hack.frob.com>
69226         * configure.in (libc_cv_localstatedir): New substituted variable.
69227         * configure: Regenerated.
69228         * config.make.in (localstatedir): New variable, substituted from
69229         libc_cv_localstatedir.
69230         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69231         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69232         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69233         * sysdeps/gnu/configure: Regenerated.
69235 2012-06-21  Jeff Law  <law@redhat.com>
69237         [BZ #14277]
69238         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69239         free.  Simplify list management for _LIBC case.
69241 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
69243         [BZ #14273]
69244         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69245         Clear sign bit of 64-bit integer value before comparing against
69246         overflow value.
69248         * sysdeps/mach/configure: Regenerated.
69250 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
69252         [BZ #14278]
69253         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69255 2012-06-21  Jeff Law  <law@redhat.com>
69257         [BZ #13882]
69258         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
69259         uint16_t for elements in the "seen" array to avoid char overflows.
69260         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69261         * elf/dl-open.c (dl_open_worker): Likewise.
69263 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
69265         * scripts/list-sources.sh: Scan PORTS for translations.
69266         * po/libc.pot: Regenerated.
69268 2012-06-21  Andreas Jaeger  <aj@suse.de>
69270         [BZ #12194]
69271         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69272         warning.
69273         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69274         * bits/byteswap-16.h (__bswap_16): Likewise.
69275         * bits/byteswap.h (__bswap_constant_16): Likewise.
69277 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
69279         [BZ #14117]
69280         * sysdeps/i386/fpu_control.h: Removed.
69281         * sysdeps/x86_64/fpu_control.h: Moved to ...
69282         * sysdeps/x86/fpu_control.h: Here.
69284         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69285         (_FPU_SETCW): Likewise.
69287 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
69289         [BZ #14117]
69290         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69291         * sysdeps/x86/fpu/bits/mathinline.h: This.
69292         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69294         [BZ #14050]
69295         [BZ #14117]
69296         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69297         functions if __x86_64__ is defined.
69299 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
69301         * string/endian.h: Add !__ASSEMBLER__ condition for including
69302         conversion interfaces.
69304 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
69306         [BZ #14241]
69307         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69308         of ABS(x) in calculating zero to negative powers other than odd
69309         integers.
69310         * math/libm-test.inc (pow_test): Add more tests.
69312 2012-06-15  Andreas Jaeger  <aj@suse.de>
69314         * manual/contrib.texi (Contributors): Update entry of Liubov
69315         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69316         Machado Filho.
69318 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
69320         * string/string.h: Add __wur to GNU version of strerror_r.
69322 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
69324         [BZ #14229]
69325         * string/Makefile (tests): Add tst-strtok_r.
69326         * string/tst-strtok_r.c: New file.
69327         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69328         RAX_LP/RDX_LP on SAVE_PTR.
69330 2012-06-14  Roland McGrath  <roland@hack.frob.com>
69332         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69334 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
69336         * libm_test.inc (csqrt_test): Allow more spurious underflow
69337         exceptions.
69338         (j0_test): Likewise.
69339         (j1_test): Likewise.
69340         (y0_test): Likewise.
69341         (y1_test): Likewise.
69343 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
69345         * po/Makefile (libc.pot): Use UTF-8 charset.
69347 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
69349         [BZ #14210]
69350         Suppress sign-conversion warning from FD_SET.
69351         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69352         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69353         not unsigned long int.
69354         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69356 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
69358         [BZ #14050]
69359         [BZ #14117]
69360         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69361         __extern_always_inline instead of __extern_inline.
69362         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69363         (__signbit): Likewise.
69364         (__signbitl): Support C++ namespace.
69365         (lrintf): New inline function.
69366         (lrint): Likewise.
69367         (llrintf): Likewise.
69368         (llrint): Likewise.
69369         (fmaxf): Likewise.
69370         (fmax): Likewise.
69371         (fminf): Likewise.
69372         (fmin): Likewise.
69373         (rint): Likewise.
69374         (rintf): Likewise.
69375         (ceil): Likewise.
69376         (ceilf): Likewise.
69377         (floor): Likewise.
69378         (floorf): Likewise.
69379         (nearbyint): Likewise.
69380         (nearbyintf): Likewise.
69382 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
69384         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69385         non-default versions.
69387 2012-06-11  Roland McGrath  <roland@hack.frob.com>
69389         [BZ #14218]
69390         * manual/argp.texi (Argp): Reword argp_parse description slightly.
69392 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
69394         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69395         (FE_UPWARD, FE_DOWNWARD): Don't define.
69396         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69397         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69399         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69400         reading it.
69401         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69402         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69404 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69406         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69407         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69408         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69409         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69411 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
69413         [BZ #14117]
69414         * sysdeps/i386/fpu/bits/fenv.h: Removed.
69415         * sysdeps/i386/fpu/Implies: New file.
69416         * sysdeps/x86_64/fpu/Implies: Likewise.
69417         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69418         * sysdeps/x86/fpu/bits/fenv.h: This.
69420         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69421         __SSE_MATH__.
69423 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69425         [BZ #14134]
69426         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69427         character 0xffff that matches the last element of the
69428         conversion table.
69430 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69432         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69433         fmodl commit.
69435 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69437         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69438         values higher than 25.6283.
69440 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69442         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69443         subnormal exponent extraction and add some __builtin_expect.
69444         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69445         Fix for subnormal mantissa calculation.
69447 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
69449         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69450         cpu2 is -1 and errno is not ENOSYS.
69452 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
69454         [BZ #14117]
69455         * sysdeps/i386/i486/bits/string.h: Renamed to ...
69456         * sysdeps/x86/bits/string.h: This.
69457         * sysdeps/x86_64/bits/string.h: Removed.
69459         * sysdeps/i386/i486/bits/string.h: Define inline functions only
69460         if not compiling for x86-64, but compiling for >= i486.
69462         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69463         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69465         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69466         New macro from Linux kernel 3.4.0.
69467         (FP_XSTATE_MAGIC2): Likewise.
69468         (FP_XSTATE_MAGIC2_SIZE): Likewise.
69469         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69470         (struct _fpx_sw_bytes): New struct.
69471         (struct _xsave_hdr): Likewise.
69472         (struct _ymmh_state): Likewise.
69473         (struct _xstate): Likewise.
69475         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69476         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69477         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69478         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69479         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69480         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69482         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69483         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69484         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69485         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69486         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69487         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69489 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69491         [BZ #13743]
69492         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69493         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69494         (sysdep_headers): Include sys/platform/ppc.h.
69495         * sysdeps/powerpc/test-gettimebase.c: Test for
69496         __ppc_get_timebase() to catch future ISA opcode/insn changes.
69497         * manual/Makefile (appendices): Include platform.texi.
69498         * manual/contrib.texi (Contributors): Update @node pointers.
69499         * manual/maint.texi (Maintenance): Likewise.
69500         (Platform): New node.
69501         * manual/platform.texi: New file.  Document the new features.
69503 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69504             Jakub Jelinek  <jakub@redhat.com>
69506         [BZ #14188]
69507         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69508         where __builtin_expect is unavailable.
69510 2012-06-03  David S. Miller  <davem@davemloft.net>
69512         * stdlib/longlong.h: Updated from GCC.
69514 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
69516         [BZ #14042]
69517         * sysdeps/powerpc/powerpc32/mcount.c: New file.
69518         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69519         __mcount_internal.
69520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69521         (GLIBC_2.16): Likewise.
69523 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69525         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69527 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
69529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69530         (default-abi): New variable.
69531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69532         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69533         variable.
69534         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69535         Likewise.
69536         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69537         Likewise.
69538         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69539         Likewise.
69541         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
69542         definition.  Document in comment.
69544 2012-06-01  David S. Miller  <davem@davemloft.net>
69546         * stdlib/longlong.h: Updated from GCC.
69548 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69550         [BZ #14117]
69551         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
69552         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
69553         sys/debugreg.h sys/io.h here.
69554         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
69555         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
69556         sys/io.h.
69557         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
69558         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
69559         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
69560         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
69561         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
69562         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
69564         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
69565         Define only if __x86_64__ is defined.
69567 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
69569         [BZ #14048]
69570         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69571         Use int64_t for variable i.
69572         * math/libm-test.inc (fmod_test): Add more tests.
69574         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
69575         z computation is not scheduled after fetestexcept.
69576         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
69577         Use math_force_eval instead of asm to ensure calculation scheduled
69578         before exception test.
69579         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69580         Ensure a1 + u.d computation is not scheduled after fetestexcept.
69582 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
69584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69585         computation is not scheduled after fetestexcept.
69587 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69589         [BZ #14117]
69590         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69591         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69593 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69595         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69596         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69598 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69600         [BZ #14117]
69601         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69602         <bits/wordsize.h>.
69603         (__WCHAR_MIN): Support __WORDSIZE == 64.
69604         (__WCHAR_MAX): Likewise.
69606         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69607         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69609         [BZ #14183]
69610         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69611         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69613         [BZ #14117]
69614         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69615         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69617         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69618         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69620         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69621         Defined to 1 if __x86_64__ isn't defined.
69622         (_STAT_VER_LINUX_OLD): New.
69623         (st_atime): Remove duplicate.
69624         (st_mtime): Likewise.
69625         (st_ctime): Likewise.
69627 2012-05-31  David S. Miller  <davem@davemloft.net>
69629         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69630         entries.
69632 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
69634         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69635         gen-libm-test.pl.
69637         [BZ #14132]
69638         * elf/dl-reloc.c: Include <_itoa.h>.
69639         (_dl_reloc_bad_type): Remove use of INTUSE.
69640         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69641         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69642         * stdio-common/psiginfo.c (psiginfo): Likewise.
69643         * stdio-common/psignal.c (psignal): Likewise.
69644         * string/strsignal.c (strsignal): Likewise.
69645         * include/signal.h (_sys_siglist): Declare hidden proto.
69646         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
69647         INTVARDEF with libc_hidden_data_def.
69648         * stdio-common/itoa-udigits.c: Likewise.
69649         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69650         (_itoa_lower_digits_internal): Remove declaration.
69651         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69652         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69653         (_sys_sigabbrev_internal): Remove aliases.
69654         (_sys_siglist): Define hidden alias.
69656 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
69658         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69659         bits/sysctl.h.
69661 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69663         [BZ #14117]
69664         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69665         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69667         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69668         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69669         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69670         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69671         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69672         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69674         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69675         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69676         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69678         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69679         with __addr.
69680         (insw): Likewise.
69681         (insl): Likewise.
69682         (outsb): Likewise.
69683         (outsw): Likewise.
69684         (outsl): Likewise.
69686         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69687         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69688         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69690         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69691         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69692         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69693         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69694         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69695         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69697         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69698         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69700         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69701         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69703         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69704         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69705         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69707         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69708         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69709         to ...
69710         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69712         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69713         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69714         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69716         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69717         for x86-64.
69718         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69720 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
69722         * math/math.h (M_El): Use two more decimal places.
69723         (M_LOG2El): Likewise.
69724         (M_LOG10El): Likewise.
69725         (M_LN2l): Likewise.
69726         (M_LN10l): Likewise.
69727         (M_PIl): Likewise.
69728         (M_PI_2l): Likewise.
69729         (M_PI_4l): Likewise.
69730         (M_1_PIl): Likewise.
69731         (M_2_PIl): Likewise.
69732         (M_2_SQRTPIl): Likewise.
69733         (M_SQRT2l): Likewise.
69734         (M_SQRT1_2l): Likewise.
69736 2012-05-31  David S. Miller  <davem@davemloft.net>
69738         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69739         values between float registers.
69740         * sysdeps/sparc/sparc64/memset.S: Likewise.
69741         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69743 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
69745         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69746         -D_FORTIFY_SOURCE=1.
69747         (CPPFLAGS-tst-longjmp_chk.c): Define.
69748         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69749         (CPPFLAGS-tst-longjmp_chk2.c): Define.
69750         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69751         CFLAGS-tst-wchar-h.c.
69753 2012-05-31  Marek Polacek  <polacek@redhat.com>
69755         [BZ #14132]
69756         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69757         __endmntent_internal): Remove declaration.
69758         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69759         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69760         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69762 2012-05-30  David S. Miller  <davem@davemloft.net>
69764         * sysdeps/sparc/sparc32/soft-fp/q_util.c
69765         (___Q_simulate_exceptions): Use real FP ops rather than writing
69766         into the %fsr.
69767         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69768         Likewise.
69770 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69772         [BZ #14117]
69773         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69774         * sysdeps/x86/bits/xtitypes.h: This.
69776         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69777         * sysdeps/x86/bits/wordsize.h: This.
69779         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69780         * sysdeps/x86/bits/huge_vall.h: This.
69782         * sysdeps/i386/bits/select.h: Removed.
69783         * sysdeps/x86_64/bits/select.h: Renamed to ...
69784         * sysdeps/x86/bits/select.h: This.
69786         * sysdeps/i386/bits/setjmp.h: Removed.
69787         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69788         * sysdeps/x86/bits/setjmp.h: This.
69790         * sysdeps/i386/bits/mathdef.h: Removed.
69791         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69792         * sysdeps/x86/bits/mathdef.h: This.
69794 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
69796         [BZ #14132]
69797         * include/sys/socket.h (__connect_internal)
69798         (__libc_sa_len_internal): Remove declaration.
69799         (__connect, __libc_sa_len): Declare hidden_proto.
69800         (SA_LEN): Remove use of INTUSE.
69801         * socket/connect.c: Add libc_hidden_def.
69802         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69803         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69804         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69805         alias.
69806         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69807         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69808         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69809         of adding _internal alias.
69811 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69813         [BZ #14117]
69814         * sysdeps/i386/bits/link.h: Removed.
69815         * sysdeps/i386/bits/linkmap.h: Likewise.
69816         * sysdeps/x86_64/bits/link.h: Renamed to ...
69817         * sysdeps/x86/bits/link.h: This.
69818         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69819         * sysdeps/x86/bits/linkmap.h: This.
69821         * sysdeps/i386/bits/endian.h: Removed.
69822         * sysdeps/x86_64/bits/endian.h: Renamed to ...
69823         * sysdeps/x86/bits/endian.h: This.
69825         * sysdeps/i386/bits/byteswap.h: Removed.
69826         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69827         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69828         * sysdeps/x86/bits/byteswap.h: This.
69829         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69830         * sysdeps/x86/bits/byteswap-16.h: This.
69831         * sysdeps/i386/Implies: Add x86.
69832         * sysdeps/x86_64/Implies: Likewise.
69834 2012-05-30  David S. Miller  <davem@davemloft.net>
69836         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69837         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69838         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69839         (FP_TRAPPING_EXCEPTIONS): Define.
69840         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69841         (FP_TRAPPING_EXCEPTIONS): Define.
69842         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69843         subnormals only when inexact has been signalled or underflow
69844         exceptions are enabled.
69845         (_FP_PACK_CANONICAL): Likewise.
69847 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69849         [BZ #14183]
69850         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69851         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69853 2012-05-30  Richard Henderson  <rth@twiddle.net>
69855         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69856         with #ifndef NOT_IN_libc.
69858         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
69859         marked to avoid plt entry.
69861 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69863         [BZ #14112]
69864         * Makeconfig (default-abi): New macro.
69865         (abi-includes): Likewise.
69866         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
69867         $(abi-$(default-abi)-lib-soname) for soname if defined.
69868         ($(common-objpfx)gnu/lib-names.stmp): Generate from
69869         abi-variants.
69870         * Makefile (installed-stubs): Likewise.
69871         * include/stubs-biarch.h: Removed.
69872         * scripts/lib-names.awk: Only handle one library at a time.
69873         * scripts/soversions.awk: Remove WORDSIZE support.
69874         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69875         entries.
69876         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69877         Removed.
69878         (syscall-list-default-condition): Likewise.
69879         (syscall-list-default-condition): Likewise.
69880         (syscall-list-includes): Likewise.
69881         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69882         syscall-list-* with abi-*.  Handle undefined abi-variants.
69883         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69884         * sysdeps/unix/sysv/linux/i386/Implies: New file.
69885         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69886         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69887         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69888         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69889         Removed.
69890         (syscall-list-32-options): Likewise.
69891         (syscall-list-32-condition): Likewise.
69892         (syscall-list-64-options): Likewise.
69893         (syscall-list-64-condition): Likewise.
69894         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69895         macro.
69896         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69897         Renamed to ...
69898         (abi-*): This.
69899         (abi-64-ld-soname): New macro.
69900         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69901         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69902         Renamed to ...
69903         (abi-*): This.
69904         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69905         * sysdeps/x86_64/x32/shlib-versions: Likewise.
69907 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
69909         * sysdeps/unix/sysv/linux/kernel-features.h
69910         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69911         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69912         include <kernel-features.h>.
69913         [!__NR_ftruncate64]: Remove conditional code.
69914         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69915         [__NR_ftruncate64]: Make code unconditional.
69916         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69917         * sysdeps/unix/sysv/linux/truncate64.c: Do not
69918         include <kernel-features.h>.
69919         [!__NR_ftruncate64]: Remove conditional code.
69920         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69921         [__NR_ftruncate64]: Make code unconditional.
69922         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69924         include <kernel-features.h>.
69925         [!__NR_ftruncate64]: Remove conditional code.
69926         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69927         [__NR_ftruncate64]: Make code unconditional.
69928         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69930         include <kernel-features.h>.
69931         [!__NR_ftruncate64]: Remove conditional code.
69932         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69933         [__NR_ftruncate64]: Make code unconditional.
69934         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69936         * configure.in (libc_cv_fpie): Weaken to a compile test using
69937         LIBC_TRY_CC_OPTION.
69938         * configure: Regenerated.
69940 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69946         Refreshed.
69947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69953         Refreshed.
69955 2012-05-27  David S. Miller  <davem@davemloft.net>
69957         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69958         (___Q_zero): New.
69959         (__Q_simulate_exceptions): Return void.  Change to simulate
69960         exceptions by writing into the %fsr.
69961         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69962         (__Qp_handle_exceptions): Likewise.
69963         (numbers): Delete.
69964         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69965         __Qp_handle_exceptions.
69966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69967         __Qp_handle_exceptions.
69968         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69969         as unused and give dummy FP_RND_NEAREST initializer.
69970         (FP_INHIBIT_RESULTS): Define.
69971         (___Q_simulate_exceptions): Update declaration.
69972         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69973         formatting.
69974         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69975         as unused and give dummy FP_RND_NEAREST initializer.
69976         (__Qp_handle_exceptions): Update declaration.
69977         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69978         formatting.
69980 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
69982         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69983         the temporary FPU control word.
69984         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69985         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69986         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69987         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69988         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69989         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69990         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69991         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69992         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69993         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69994         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69996 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69998         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69999         fields.
70001 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
70003         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
70004         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
70005         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
70006         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
70007         Likewise.
70008         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70009         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
70010         Likewise.
70012 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
70014         * po/h.po: Update from translation team.
70016 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
70018         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
70020         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
70021         handling of denormals.
70022         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70023         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
70024         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70025         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70026         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70028         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70029         Likewise.
70031 2012-05-26  Marek Polacek  <polacek@redhat.com>
70033         [BZ #14152]
70034         * math/libm-test.inc (fma_test): Don't always expect underflow
70035         exception.
70037 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70039         [BZ #12416]
70040         * elf/tst-execstack.c: Include stackinfo.h.
70041         (do_test): Adjust test case to ensure that pthread_getattr_np
70042         behaviour remains the same after marking stack executable.
70044 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
70046         * sysdeps/unix/sysv/linux/kernel-features.h
70047         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70048         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70049         kernel-features.h.
70050         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70051         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70052         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70053         kernel-features.h.
70054         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70055         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70057 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
70059         * configure.in: Define the default includes to being none.
70060         * configure: Regenerated.
70062 2012-05-25  Roland McGrath  <roland@hack.frob.com>
70064         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70065         * sysdeps/x86_64/setjmp.S: Likewise.
70066         * sysdeps/i386/bsd-setjmp.S: Likewise.
70067         * sysdeps/i386/bsd-_setjmp.S: Likewise.
70068         * sysdeps/i386/setjmp.S: Likewise.
70069         * sysdeps/i386/__longjmp.S: Likewise.
70070         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70071         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70073         * include/stap-probe.h: New file.
70074         * configure.in: Handle --enable-systemtap.
70075         * configure: Regenerated.
70076         * config.h.in (USE_STAP_PROBE): New #undef.
70077         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70078         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70079         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70081 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
70083         [BZ #13717]
70084         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70085         to 2.4.0 where earlier.
70086         * sysdeps/unix/sysv/linux/configure: Regenerated.
70087         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70088         <kernel-features.h>.
70089         [__ASSUME_32BITUIDS]: Make code unconditional.
70090         [!__ASSUME_32BITUIDS]: Remove conditional code.
70091         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
70092         <kernel-features.h>.
70093         [__ASSUME_32BITUIDS]: Make code unconditional.
70094         [!__ASSUME_32BITUIDS]: Remove conditional code.
70095         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
70096         [__ASSUME_32BITUIDS]: Make code unconditional.
70097         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70098         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
70099         <kernel-features.h>.
70100         [__ASSUME_32BITUIDS]: Make code unconditional.
70101         [!__ASSUME_32BITUIDS]: Remove conditional code.
70102         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70103         <kernel-features.h>.
70104         [__ASSUME_32BITUIDS]: Make code unconditional.
70105         [!__ASSUME_32BITUIDS]: Remove conditional code.
70106         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70107         <kernel-features.h>.
70108         [__ASSUME_32BITUIDS]: Make code unconditional.
70109         [!__ASSUME_32BITUIDS]: Remove conditional code.
70110         * sysdeps/unix/sysv/linux/i386/getgroups.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/i386/getresgid.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/i386/getresuid.c: Do not include
70119         <kernel-features.h>.
70120         [__ASSUME_32BITUIDS]: Make code unconditional.
70121         [!__ASSUME_32BITUIDS]: Remove conditional code.
70122         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
70123         <kernel-features.h>.
70124         [__ASSUME_32BITUIDS]: Make code unconditional.
70125         [!__ASSUME_32BITUIDS]: Remove conditional code.
70126         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70127         <kernel-features.h>.
70128         [__ASSUME_32BITUIDS]: Make code unconditional.
70129         [!__ASSUME_32BITUIDS]: Remove conditional code.
70130         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70131         <kernel-features.h>.
70132         [__ASSUME_32BITUIDS]: Make code unconditional.
70133         [!__ASSUME_32BITUIDS]: Remove conditional code.
70134         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70135         <kernel-features.h>.
70136         [__ASSUME_32BITUIDS]: Make code unconditional.
70137         [!__ASSUME_32BITUIDS]: Remove conditional code.
70138         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70139         <kernel-features.h>.
70140         [__NR_setresgid] (__setresgid): Do not declare.
70141         [__ASSUME_32BITUIDS]: Make code unconditional.
70142         [!__ASSUME_32BITUIDS]: Remove conditional code.
70143         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70144         <kernel-features.h>.
70145         [__NR_setresuid] (__setresuid): Do not declare.
70146         [__ASSUME_32BITUIDS]: Make code unconditional.
70147         [!__ASSUME_32BITUIDS]: Remove conditional code.
70148         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70149         <kernel-features.h>.
70150         [__ASSUME_32BITUIDS]: Make code unconditional.
70151         [!__ASSUME_32BITUIDS]: Remove conditional code.
70152         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70153         <kernel-features.h>.
70154         [__ASSUME_32BITUIDS]: Make code unconditional.
70155         [!__ASSUME_32BITUIDS]: Remove conditional code.
70156         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70157         <kernel-features.h>.
70158         [__ASSUME_32BITUIDS]: Make code unconditional.
70159         [!__ASSUME_32BITUIDS]: Remove conditional code.
70160         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70161         <kernel-features.h>.
70162         [__ASSUME_32BITUIDS]: Make code unconditional.
70163         [!__ASSUME_32BITUIDS]: Remove conditional code.
70164         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70165         <kernel-features.h>.
70166         [__ASSUME_32BITUIDS]: Make code unconditional.
70167         [!__ASSUME_32BITUIDS]: Remove conditional code.
70168         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70169         <kernel-features.h>.
70170         [__ASSUME_32BITUIDS]: Make code unconditional.
70171         [!__ASSUME_32BITUIDS]: Remove conditional code.
70172         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70173         <kernel-features.h>.
70174         [__ASSUME_32BITUIDS]: Make code unconditional.
70175         [!__ASSUME_32BITUIDS]: Remove conditional code.
70176         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70177         <kernel-features.h>.
70178         [__ASSUME_32BITUIDS]: Make code unconditional.
70179         [!__ASSUME_32BITUIDS]: Remove conditional code.
70180         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70181         <kernel-features.h>.
70182         [__ASSUME_32BITUIDS]: Make code unconditional.
70183         [!__ASSUME_32BITUIDS]: Remove conditional code.
70184         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70185         <kernel-features.h>.
70186         [__ASSUME_32BITUIDS]: Make code unconditional.
70187         [!__ASSUME_32BITUIDS]: Remove conditional code.
70188         * sysdeps/unix/sysv/linux/kernel-features.h
70189         (__ASSUME_SETRESUID_SYSCALL): Remove.
70190         (__ASSUME_SETRESGID_SYSCALL): Likewise.
70191         (__ASSUME_32BITUIDS): Likewise.
70192         (__ASSUME_LDT_WORKS): Likewise.
70193         (__ASSUME_O_DIRECTORY): Likewise.
70194         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70195         architecture but not kernel version.
70196         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70197         (__ASSUME_MMAP2_SYSCALL): Likewise.
70198         (__ASSUME_STAT64_SYSCALL): Likewise.
70199         (__ASSUME_IPC64): Likewise.
70200         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70201         <kernel-features.h>.
70202         [__ASSUME_32BITUIDS]: Make code unconditional.
70203         [!__ASSUME_32BITUIDS]: Remove conditional code.
70204         * sysdeps/unix/sysv/linux/opendir.c: Do not include
70205         <kernel-features.h>.
70206         [__ASSUME_O_DIRECTORY]: Make code unconditional.
70207         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70208         132096]: Remove conditional code.
70209         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70210         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70211         <kernel-features.h>.
70212         [__ASSUME_32BITUIDS]: Make code unconditional.
70213         [!__ASSUME_32BITUIDS]: Remove conditional code.
70214         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70215         <kernel-features.h>.
70216         [__ASSUME_32BITUIDS]: Make code unconditional.
70217         [!__ASSUME_32BITUIDS]: Remove conditional code.
70218         * sysdeps/unix/sysv/linux/setegid.c: Do not include
70219         <kernel-features.h>.
70220         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70221         unconditional.
70222         (__setresgid): Do not declare.
70223         [__ASSUME_32BITUIDS]: Make code unconditional.
70224         [!__ASSUME_32BITUIDS]: Remove conditional code.
70225         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70226         <kernel-features.h>.
70227         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70228         unconditional.
70229         (__setresuid): Do not declare.
70230         [__ASSUME_32BITUIDS]: Make code unconditional.
70231         [!__ASSUME_32BITUIDS]: Remove conditional code.
70232         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70233         <kernel-features.h>.
70234         [__ASSUME_32BITUIDS]: Make code unconditional.
70235         [!__ASSUME_32BITUIDS]: Remove conditional code.
70236         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70237         <kernel-features.h>.
70238         [__ASSUME_32BITUIDS]: Make code unconditional.
70239         [!__ASSUME_32BITUIDS]: Remove conditional code.
70241 2012-05-25  Richard Henderson  <rth@twiddle.net>
70243         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70244         dl_hwcap to ifunc resolver.
70245         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70246         elf_ifunc_invoke.
70247         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70248         dl_hwcap to ifunc resolver.
70249         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70251 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70253         [BZ #14153]
70254         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70255         for |x| <= 2**-26, not 2**-57.
70256         * math/libm-test.inc (acos_test): Do not allow spurious underflow
70257         exception.
70259 2012-05-24  Jeff Law  <law@redhat.com>
70261         * stdio-common/Makefile (tests): Add bug25.
70262         * stdio-common/bug25.c: New test.
70264 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70266         [BZ #13576]
70267         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70268         multiple of MALLOC_ALIGNMENT in size.
70269         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70271 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70273         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70274         Require >= 256.
70275         (FILENAME_MAX): Use macro-int-constant.
70276         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
70277         (_IOFBF): Use macro-int-constant.
70278         (_IOLBF): Likewise.
70279         (_IONBF): Likewise.
70280         (SEEK_CUR): Likewise.
70281         (SEEK_END): Likewise.
70282         (SEEK_SET): Likewise.
70283         (TMP_MAX): Likewise.
70284         (EOF): Use macro-int-constant.  Require < 0.
70285         (NULL): Use macro-constant.  Require == 0.
70286         (stdin): Require type to be FILE *.
70287         (stdout): Likewise.
70288         (stderr): Likewise.
70289         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70290         macro-int-constant.
70291         (EXIT_SUCCESS): Likewise.
70292         (NULL): Use macro-constant.  Require == 0.
70293         (RAND_MAX): Use macro-int-constant.
70294         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70295         [C99-based standards] (strtof): Require function.
70296         [C99-based standards] (strtold): Likewise.
70297         [C99-based standards] (strtoll): Likewise.
70298         [C99-based standards] (strtoull): Likewise.
70299         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70300         [ISO || ISO99 || ISO11] (limits.h): Likewise.
70301         [ISO || ISO99 || ISO11] (math.h): Likewise.
70302         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70303         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70304         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70306 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
70308         [BZ #14132]
70309         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70310         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70311         * intl/dgettext.c (DCGETTEXT): Likewise.
70312         * intl/gettext.c (DCGETTEXT): Likewise.
70313         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70314         * posix/regex_internal.h (gettext): Likewise.
70315         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70316         Remove declaration.
70317         * include/argz.h (__argz_count_internal)
70318         (__argz_stringify_internal): Remove declaration.
70319         (__argz_count, __argz_stringify): Declare hidden proto.
70320         * intl/dcgettext.c: Remove use of INTDEF.
70321         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70322         * string/argz-stringify.c: Likewise.
70323         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70324         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70325         Declare hidden proto.
70326         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70327         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70328         Declare hidden proto.
70329         * include/stdio.h (__asprintf_internal): Don't declare.
70330         (__asprintf): Don't define as macro.  Declare hidden proto.
70331         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70332         (__fsetlocking): Declare hidden proto.
70333         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70334         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70335         hidden proto.
70336         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70337         (_IO_setlinebuf): Remove use of INTUSE.
70338         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70339         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70340         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70341         Remove declaration.
70342         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70343         (_IO_do_flush): Remove use of INTUSE.
70344         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70345         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70346         (_IO_adjust_column, _IO_least_wmarker)
70347         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70348         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70349         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70350         (_IO_default_doallocate, _IO_wdefault_doallocate)
70351         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70352         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70353         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70354         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70355         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70356         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70357         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70358         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70359         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70360         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70361         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70362         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70363         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70364         proto.
70365         (_IO_flush_all_internal, _IO_adjust_column_internal)
70366         (_IO_default_uflow_internal, _IO_default_finish_internal)
70367         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70368         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70369         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70370         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70371         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70372         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70373         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70374         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70375         (_IO_file_close_internal, _IO_file_close_it_internal)
70376         (_IO_file_underflow_internal, _IO_file_overflow_internal)
70377         (_IO_file_init_internal, _IO_file_attach_internal)
70378         (_IO_file_fopen_internal, _IO_file_read_internal)
70379         (_IO_file_sync_internal, _IO_file_seek_internal)
70380         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70381         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70382         (_IO_str_underflow_internal, _IO_str_overflow_internal)
70383         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70384         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70385         (_IO_list_all_internal, _IO_link_in_internal)
70386         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70387         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70388         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70389         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70390         (_IO_do_write_internal, _IO_padn_internal)
70391         (_IO_getline_info_internal, _IO_getline_internal)
70392         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70393         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70394         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70395         (_IO_vfscanf_internal, _IO_vfprintf_internal)
70396         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70397         (_IO_init_internal, _IO_un_link_internal): Don't declare.
70398         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70399         with libc_hidden_ver, remove use of INTUSE.
70400         * libio/genops.c: Likewise.
70401         * libio/freopen.c: Likewise.
70402         * libio/freopen64.c: Likewise.
70403         * libio/iofclose.c: Likewise.
70404         * libio/iofdopen.c: Likewise.
70405         * libio/iofflush.c: Likewise.
70406         * libio/iofflush_u.c: Likewise.
70407         * libio/iofgets.c: Likewise.
70408         * libio/iofgets_u.c: Likewise.
70409         * libio/iofopen.c: Likewise.
70410         * libio/iofopncook.c: Likewise.
70411         * libio/iofread.c: Likewise.
70412         * libio/iofread_u.c: Likewise.
70413         * libio/ioftell.c: Likewise.
70414         * libio/iofwrite.c: Likewise.
70415         * libio/iogetline.c: Likewise.
70416         * libio/iogets.c: Likewise.
70417         * libio/iogetwline.c: Likewise.
70418         * libio/iopadn.c: Likewise.
70419         * libio/iopopen.c: Likewise.
70420         * libio/ioseekoff.c: Likewise.
70421         * libio/ioseekpos.c: Likewise.
70422         * libio/iosetbuffer.c: Likewise.
70423         * libio/iosetvbuf.c: Likewise.
70424         * libio/ioungetc.c: Likewise.
70425         * libio/ioungetwc.c: Likewise.
70426         * libio/iovdprintf.c: Likewise.
70427         * libio/iovsprintf.c: Likewise.
70428         * libio/iovsscanf.c: Likewise.
70429         * libio/memstream.c: Likewise.
70430         * libio/obprintf.c: Likewise.
70431         * libio/oldfileops.c: Likewise.
70432         * libio/oldiofclose.c: Likewise.
70433         * libio/oldiofdopen.c: Likewise.
70434         * libio/oldiofopen.c: Likewise.
70435         * libio/oldiopopen.c: Likewise.
70436         * libio/oldstdfiles.c: Likewise.
70437         * libio/putc.c: Likewise.
70438         * libio/setbuf.c: Likewise.
70439         * libio/setlinebuf.c: Likewise.
70440         * libio/stdfiles.c: Likewise.
70441         * libio/strops.c: Likewise.
70442         * libio/vasprintf.c: Likewise.
70443         * libio/vscanf.c: Likewise.
70444         * libio/vsnprintf.c: Likewise.
70445         * libio/vswprintf.c: Likewise.
70446         * libio/wfiledoalloc.c: Likewise.
70447         * libio/wfileops.c: Likewise.
70448         * libio/wgenops.c: Likewise.
70449         * libio/wmemstream.c: Likewise.
70450         * libio/wstrops.c: Likewise.
70451         * libio/__fpurge.c: Likewise.
70452         * libio/__fsetlocking.c: Likewise.
70453         * assert/assert.c: Likewise.
70454         * debug/fgets_chk.c: Likewise.
70455         * debug/fgets_u_chk.c: Likewise.
70456         * debug/fread_chk.c: Likewise.
70457         * debug/fread_u_chk.c: Likewise.
70458         * debug/gets_chk.c: Likewise.
70459         * debug/obprintf_chk.c: Likewise.
70460         * debug/vasprintf_chk.c: Likewise.
70461         * debug/vdprintf_chk.c: Likewise.
70462         * debug/vsnprintf_chk.c: Likewise.
70463         * debug/vsprintf_chk.c: Likewise.
70464         * malloc/mtrace.c: Likewise.
70465         * misc/error.c: Likewise.
70466         * misc/syslog.c: Likewise.
70467         * stdio-common/asprintf.c: Likewise.
70468         * stdio-common/fxprintf.c: Likewise.
70469         * stdio-common/getw.c: Likewise.
70470         * stdio-common/isoc99_fscanf.c: Likewise.
70471         * stdio-common/isoc99_scanf.c: Likewise.
70472         * stdio-common/isoc99_vfscanf.c: Likewise.
70473         * stdio-common/isoc99_vscanf.c: Likewise.
70474         * stdio-common/isoc99_vsscanf.c: Likewise.
70475         * stdio-common/printf-prs.c: Likewise.
70476         * stdio-common/printf_fp.c: Likewise.
70477         * stdio-common/printf_fphex.c: Likewise.
70478         * stdio-common/printf_size.c: Likewise.
70479         * stdio-common/putw.c: Likewise.
70480         * stdio-common/scanf.c: Likewise.
70481         * stdio-common/sprintf.c: Likewise.
70482         * stdio-common/tmpfile.c: Likewise.
70483         * stdio-common/vfprintf.c: Likewise.
70484         * stdio-common/vfscanf.c: Likewise.
70485         * stdlib/strfmon_l.c: Likewise.
70486         * sunrpc/openchild.c: Likewise.
70487         * sunrpc/xdr_stdio.c: Likewise.
70488         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70489         * sysdeps/mach/hurd/tmpfile.c: Likewise.
70491 2012-05-24  Roland McGrath  <roland@hack.frob.com>
70493         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70495         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70496         in the third column, to generate for the shared library an IFUNC
70497         that uses _dl_vdso_vsym.
70498         * Makerules (COMPILE.c, compile-stdin.c): New variables.
70499         * Makeconfig (object-suffixes-noshared): New variable.
70501         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70502         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70503         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70504         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70506         [BZ #14132]
70507         * include/sys/time.h (__gettimeofday): Remove macro.
70508         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70509         * time/gettimeofday.c (__gettimeofday): Remove #undef.
70510         Remove INTDEF.
70511         (__gettimeofday): Add libc_hidden_def.
70512         (gettimeofday): Add libc_hidden_weak.
70513         * sysdeps/mach/gettimeofday.c: Likewise.
70514         * sysdeps/posix/gettimeofday.c: Likewise.
70515         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70516         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70517         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70518         (__gettimeofday_internal): Remove strong_alias.
70519         (__gettimeofday): Add libc_hidden_def.
70520         (gettimeofday): Add libc_hidden_weak.
70521         * sysdeps/unix/syscalls.list (gettimeofday):
70522         Remove __gettimeofday_internal alias.
70524 2012-05-24  Daniel Jacobowitz  <drow@false.org>
70525             H.J. Lu  <hongjiu.lu@intel.com>
70527         [BZ #12495]
70528         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70529         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70530         (largebin_index_32_big): New.
70531         (largebin_index): Use it for 16-byte alignment.
70532         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
70533         correction with front_misalign.
70535 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70539         Likewise.
70540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
70541         Likewise.
70542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70543         Likewise.
70544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
70545         Likewise.
70546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
70547         Likewise.
70548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
70549         Likewise.
70550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
70551         Likewise.
70552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
70553         Likewise.
70554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
70555         Likewise.
70556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
70557         Likewise.
70558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
70559         Likewise.
70560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
70561         Likewise.
70563         * scripts/data/c++-types-x32-linux-gnu.data: New file.
70564         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
70566 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70568         [BZ #10846]
70569         [BZ #14036]
70570         * math/libm-test.inc (exp_test): Add test from bug 14036.
70571         (pow_test): Add test from bug 10846.
70573         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
70574         and other flags.
70575         (special_function): Do not include flags in test name.
70576         (parse_args): Likewise.
70577         * sysdeps/i386/fpu/libm-test-ulps: Update.
70578         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70579         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70580         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70583         * math/gen-libm-test.pl (%beautify): Add entries for underflow
70584         exceptions.
70585         * math/libm-test.inc ("Philosophy"): Update comment about
70586         exception testing.
70587         (UNDERFLOW_EXCEPTION): New macro.
70588         (UNDERFLOW_EXCEPTION_OK): Likewise.
70589         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70590         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70591         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70592         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70593         (INVALID_EXCEPTION_OK): Update value.
70594         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70595         (OVERFLOW_EXCEPTION_OK): Likewise.
70596         (IGNORE_ZERO_INF_SIGN): Likewise.
70597         (test_exceptions): Handle underflow exceptions.
70598         (acos_test): Update for underflow exception expectations.
70599         (cexp_test): Likewise.
70600         (clog_test): Likewise.
70601         (clog10_test): Likewise.
70602         (csqrt_test): Likewise.
70603         (ctan_test): Likewise.
70604         (ctanh_test): Likewise.
70605         (exp_test): Likewise.
70606         (exp10_test): Likewise.
70607         (exp2_test): Likewise.
70608         (expm1_test): Likewise.
70609         (fma_test): Likewise.
70610         (j0_test): Likewise.
70611         (jn_test): Likewise.
70612         (nexttoward_test): Likewise.
70613         (pow_test): Likewise.
70614         (scalbn_test): Likewise.
70615         (scalbln_test): Likewise.
70616         (tan_test): Likewise.
70617         (y1_test): Likewise.
70618         * sysdeps/i386/fpu/libm-test-ulps: Update.
70619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70621 2012-05-23  David S. Miller  <davem@davemloft.net>
70623         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70624         (__libc_sigaction): Remove unused local variables.
70626 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70628         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70630 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
70632         mktime: avoid signed integer overflow
70633         * time/mktime.c (__mktime_internal): Do not mishandle the case
70634         where diff == INT_MIN.
70636         mktime: simplify computation of average
70637         * time/mktime.c (ranged_convert): Use new time_t_avg function
70638         instead of rolling our own (probably-slower) code.
70640         mktime: do not assume signed right shift propagates sign bit
70641         * time/mktime.c (isdst_differ): New static function.
70642         (__mktime_internal): No need to normalize tm_isdst now.
70643         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70644         tm_isdst values.
70646         mktime: merge another wrapv change from gnulib
70647         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70648         from some compilers.
70650         mktime: remove incorrect attempt at unusual arithmetics
70651         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70652         The code didn't really work on such machines anyway.
70653         (TYPE_MINIMUM): Assume two's complement.
70654         (twos_complement_arithmetic): Verify that long_int and time_t
70655         are two's complement (or unsigned, in the latter case).
70657         mktime: check signed shifts on long_int and time_t, too
70658         * time/mktime.c (SHR): Check that shifts work as desired
70659         on the types long_int and time_t too, as SHR is used on
70660         such types.
70662         mktime: do not assume 'long' is wide enough
70663         * time/mktime.c (verify): Move decl up.
70664         (long_int): New type.
70665         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70666         to remove assumption in the code that 'long' is wide enough to
70667         store year values.  This assumption is not true on x32 and on
70668         some non-glibc platforms.
70670         mktime: merge wrapv change from gnulib
70671         * time/mktime.c (WRAPV): New macro.
70672         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70673         (guess_time_tm, __mktime_internal): Do not assume that signed
70674         integer overflow wraps around; modern compilers generate code
70675         where this assumption is no longer valid.
70677 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70679         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70680         Replace "jmp L(pseudo_end)" with "ret".
70681         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70682         Likewise.
70684 2012-05-23  Andreas Jaeger  <aj@suse.de>
70686         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70687         * sysdeps/unix/sysv/linux/poll.c: Remove file.
70689 2012-05-23  Andreas Jaeger  <aj@suse.de>
70690             Maximilian Attems  <max@stro.at>
70692         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70693         New macros.
70695 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70697         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70698         code so that pseudo_end is just ret and the stack pointer is
70699         correct also for static library in error case.
70701 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
70703         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70704         move to syscalls.list.
70705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70710         * manual/install.texi (Running make install): Do not mention Linux
70711         kernel version for which pt_chown is not needed.
70712         (Linux): Do not mention problems with nscd with 2.0 kernels.
70713         * INSTALL: Regenerated.
70715 2012-05-23  Andreas Jaeger  <aj@suse.de>
70717         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70718         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70719         macro.
70720         * sysdeps/unix/sysv/linux/s390/bits/mman.h
70721         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70722         * sysdeps/unix/sysv/linux/sh/bits/mman.h
70723         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70724         * sysdeps/unix/sysv/linux/i386/bits/mman.h
70725         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70726         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70727         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70728         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70729         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70730         * sysdeps/unix/sysv/linux/bits/in.h
70731         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70733 2012-05-22  Roland McGrath  <roland@hack.frob.com>
70735         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70736         (PREPARE_VERSION): Just use assert instead, it will be elided
70737         under [NDEBUG] anyway.
70739 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70741         * sysdeps/unix/sysv/linux/Makefile: Include
70742         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70743         (sysdep_routines): Remove sysctl.
70744         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70745         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70746         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70747         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70748         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70750 2012-05-22  Andreas Jaeger  <aj@suse.de>
70752         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70753         that pseudo_end is just ret and the stack pointer is correct also
70754         for static library in error case.
70756 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
70758         [BZ #14122]
70759         * nss/nsswitch.c (defconfig_entries): New variable.
70760         (__nss_database_lookup): Don't leak defconfig entries.
70761         (nss_parse_service_list): Don't leak on error paths.
70762         (free_database_entries): New function.
70763         (free_defconfig): New function.
70764         (free_mem): Move common code to free_database_entries.
70766 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70768         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70769         Add arch_prctl.
70770         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70772         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70773         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70775         New macro.
70776         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70777         (INTERNAL_SYSCALL_TYPES): Likewise.
70778         (LOAD_ARGS_TYPES_[1-6]): Likewise.
70779         (LOAD_REGS_TYPES_[1-6]): Likewise.
70780         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70781         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70783 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70785         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70786         copysignl for GLIBC_2_0.
70787         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70788         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70789         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70790         logbl for GLIBC_2_0.
70791         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70792         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70794 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70796         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70797         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70799         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70800         Use "neg %eax".
70802         * time/mktime.c: Update copyright years.
70804 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
70806         mktime: merge comment-quoting-style change from gnulib
70807         * time/mktime.c: Quote 'like this' in comments.
70808         The GNU coding standards suggest that we no longer quote `like this',
70809         as "`" and "'" are typically rendered asymmetrically nowadays.
70810         The typical gnulib style is to quote 'like this' when quoting
70811         code, and "like this" when quoting English.
70813         * time/mktime.c (compile-command): Add "-I.".
70815         mktime: merge mktime-internal.h change from gnulib
70816         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70818         mktime: merge time_r change from gnulib
70819         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70821         mktime: merge DEBUG change from gnulib
70822         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70823         case system <time.h> has a #define.
70825         mktime: merge <sys/types.h> change from gnulib
70826         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70827         since <time.t> is now guaranteed to define time_t.
70829         mktime: merge HAVE_CONFIG_H change from gnulib
70830         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70832 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70835         Use "neg %eax".
70837         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70838         __rlim_t cast.
70839         (struct rusage): Use anonymous union to pad each field to
70840         __syscall_slong_t.
70842 2012-05-21  David S. Miller  <davem@davemloft.net>
70844         * Makefules (o-iterator): Remove .s cases.
70845         (compile-command.s): Delete.
70846         (COMPILE.s): Delete.
70847         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70849 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
70851         * configure.in (libc_cv_predef_stack_protector): Only consider
70852         "foobar" and "__stack_chk_fail" lines in libc_undefs.
70853         * configure: Regenerated.
70855 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70857         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70858         New macro.  Use R*LP on int and pointer.
70859         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70860         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70861         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70862         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70864         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70865         [__WORDSIZE_TIME64_COMPAT32] instead of
70866         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70867         (struct utmp): Likewise.
70868         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70869         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70870         Renamed to ...
70871         (__WORDSIZE_TIME64_COMPAT32): This.
70872         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70873         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70874         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70875         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70876         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70877         (__WORDSIZE_TIME64_COMPAT32): New macro.
70879 2012-05-21  Andreas Jaeger  <aj@suse.de>
70881         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70882         only if [SHARED]. Add prototype for __wcschr_ia32.
70884 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70886         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70887         of %rbp unmolested in the jmp_buf while mangling the low bits.
70888         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70889         unmolested high bits of %rbp while demangling the low bits.
70890         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70892 2012-05-21  Andreas Jaeger  <aj@suse.de>
70894         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70895         * sunrpc/svc_simple.c: Use it for registerrpc.
70896         * sunrpc/xcrypt.c: Use it for passwd2des.
70898         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70900 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70902         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70903         Don't define if [__SYSCALL_WORDSIZE != 32].
70904         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70905         New macro.
70907 2012-05-21  Bruno Haible  <bruno@clisp.org>
70908             Andreas Jaeger  <aj@suse.de>
70910         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70911         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70912         inptr and inend for must_buffer_ch.
70913         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70914         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70915         * stdio-common/Makefile (tests): Remove bug15.
70916         (bug15-ENV): Remove macro.
70917         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70918         anymore.
70920 2012-05-19  Andreas Jaeger  <aj@suse.de>
70921             Roland McGrath  <roland@hack.frob.com>
70923         * manual/contrib.texi: Completely rewritten. It contains now an
70924         alphabetical list of contributors and their contributions.
70926 2012-05-21  Richard Henderson  <rth@twiddle.net>
70928         * misc/getauxval.c (__getauxval): Use unsigned long int.
70929         * misc/sys/auxv.h: Include <sys/cdefs.h>.
70930         (getauxval): Use unsigned long int.
70932 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70934         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70936 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70938         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70939         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70940         __alignof__ (long double).
70942 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70946 2012-05-20  Richard Henderson  <rth@twiddle.net>
70948         * misc/getauxval.c: New file.
70949         * misc/sys/auxv.h: New file.
70950         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70951         (routines): Add getauxval.
70952         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70953         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70954         * elf/dl-sysdep.c (_dl_auxv): Remove.
70955         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70956         * elf/dl-support.c (_dl_auxv): New variable.
70957         (_dl_aux_init): Initialize it.
70958         * manual/startup.texi (Auxiliary Vector): New node.
70959         * sysdeps/generic/bits/hwcap.h: New file.
70960         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70961         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
70962         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70963         * sysdeps/sparc/sysdep.h: ... here.  Include it.
70964         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70965         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70967         Update.
70968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70971         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70977 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70981 2012-05-19  David S. Miller  <davem@davemloft.net>
70983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70985 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70987         [BZ #14123]
70988         * math/s_ccosh.c: Include <float.h>
70989         (__ccosh): Avoid internal overflow calculating sinh and cosh
70990         values before multiplying by sin and cos values.
70991         * math/s_ccoshf.c: Likewise.
70992         * math/s_ccoshl.c: Likewise.
70993         * math/s_csin.c: Likewise.
70994         * math/s_csinf.c: Likewise.
70995         * math/s_csinl.c: Likewise.
70996         * math/s_csinh.c: Likewise.
70997         * math/s_csinhf.c: Likewise.
70998         * math/s_csinhl.c: Likewise.
70999         * math/libm-test.inc (ccos_test): Add more tests.
71000         (ccosh_test): Likewise.
71001         (csin_test): Likewise.
71002         (csinh_test): Likewise.
71003         * sysdeps/i386/fpu/libm-test-ulps: Update.
71004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71006 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
71008         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
71009         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
71011         * sysdeps/x86_64/x32/_itoa.h: Add comment.
71013 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
71015         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
71016         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71017         * sysdeps/powerpc/soft-fp/Versions: Likewise.
71018         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
71019         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
71020         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
71021         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
71022         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
71023         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
71024         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
71025         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
71026         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71027         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71028         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71029         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71030         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71031         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71032         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71033         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71034         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71035         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71036         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71037         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71038         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71039         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71040         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71041         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71042         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71043         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71044         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71045         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71047 2012-05-18  Andreas Jaeger  <aj@suse.de>
71049         * csu/.gitignore: Delete.
71051 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71053         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71054         (timex): Use __syscall_slong_t.
71056 2012-05-18  Andreas Jaeger  <aj@suse.de>
71057             Carlos O'Donell  <carlos_odonell@mentor.com>
71059         * manual/install.texi (Configuring and compiling): Update
71060         description about files modified in the source directory.
71061         * INSTALL: Regenerated.
71063 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71065         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71066         value.  Use "or" to set return value to -1.
71067         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71068         negate return value.
71070 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71072         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71073         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71074         failure if the compiler has Graphite support disabled.
71075         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71076         Likewise.
71077         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71078         (CFLAGS-memmove.c): Likewise.
71079         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71080         Likewise.
71082 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71084         * sysdeps/x86_64/x32/_itoa.h: New file.
71086         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71087         getdents system call only if kernel and user dirents have the
71088         same d_ino and d_off.
71090         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71091         LLONG_MAX != LONG_MAX.
71092         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71093         (_fitoa_word): Likewise.
71095         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71096         years.
71097         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71098         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71099         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71101         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71102         include <bits/wordsize.h>.  Check __x86_64__ instead of
71103         __WORDSIZE.
71104         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71105         if __x86_64__ is defined.  Use anonymous union on fpstate.
71107         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71108         anonymous union.
71110 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
71112         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71113         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71114         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71115         Refer to _rtld_local_ro instead of _rtld_global_ro.
71116         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71117         Likewise.
71118         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71119         Likewise.
71120         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71121         Likewise.
71122         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71123         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71124         of _rtld_global, and rtld_progname instead of _dl_argv[0].
71126         [BZ #10882]
71127         * sysdeps/powerpc/powerpc32/dl-machine.c
71128         (__elf_machine_runtime_setup) [PROF]: Don't reference
71129         _dl_prof_resolve.
71131 2012-05-18  Andreas Jaeger  <aj@suse.de>
71133         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71134         function only available for GCCs before 3.4 since GCC 3.4
71135         introduced a builtin.
71136         (lrint): Likewise.
71137         (llrintf): Likewise.
71138         (llrint): Likewise.
71139         (fmaxf): Likewise.
71140         (fmax): Likewise.
71141         (fminf): Likewise.
71142         (fmin): Likewise.
71143         (rint): Likewise.
71144         (rintf): Likewise.
71145         (nearbyint): Likewise.
71146         (nearbyintf): Likewise.
71147         (ceil): Likewise.
71148         (ceilf): Likewise.
71149         (floor): Likewise.
71150         (floorf): Likewise.
71152 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71154         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71155         on both fields and cast pointer to __syscall_ulong_t.
71157         * bits/types.h (__fsword_t): New type.
71158         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71159         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71160         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71161         (__FSWORD_T_TYPE): Likewise.
71162         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71163         (__FSWORD_T_TYPE): Likewise.
71164         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71165         (__FSWORD_T_TYPE): Likewise.
71166         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71167         (__FSWORD_T_TYPE): Likewise.
71168         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71169         __SWORD_TYPE with __fsword_t.
71170         (statfs64): Likewise.
71172 2012-05-17  David S. Miller  <davem@davemloft.net>
71174         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71176 2012-05-17  Andreas Jaeger  <aj@suse.de>
71178         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71179         warning.
71181 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71183         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71185 2012-05-17  Andreas Jaeger  <aj@suse.de>
71187         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71188         when it is used.
71190 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71192         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71194 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71196         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71197         * sysdeps/x86_64/tst-mallocalign1.c: New file.
71199 2012-05-17  Andreas Jaeger  <aj@suse.de>
71200             Carlos O'Donell  <carlos_odonell@mentor.com>
71202         [BZ #14059]
71203         * sysdeps/x86_64/multiarch/init-arch.h
71204         (bit_YMM_Usable): Rename to...
71205         (bit_AVX_Usable): ... this.
71206         (bit_FMA4_Usable): New macro.
71207         (bit_XMM_state): New macro.
71208         (bit_YMM_state): New macro.
71209         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71210         [__ASSEMBLER__] (index_AVX_Usable): ... this.
71211         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71212         (CPUID_OSXSAVE): New macro.
71213         (CPUID_AVX): New macro.
71214         (CPUID_FMA4): New macro.
71215         (index_YMM_Usable): Rename to...
71216         (index_AVX_Usable): ... this.
71217         (HAS_AVX): Use HAS_ARCH_FEATURE.
71218         (HAS_FMA4): Likewise.
71219         (HAS_YMM_USABLE): Remove.
71220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71221         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71222         are present.
71223         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71224         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71225         * sysdeps/x86_64/multiarch/Makefile: Likewise.
71226         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71227         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71229 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71231         * math/libm-test.c: Support platforms without multiple rounding modes.
71232         * math/bug-nextafter.c: Support platforms without FP exceptions.
71233         * math/bug-nexttoward.c: Likewise.
71234         * math/test-fenv.c: Likewise.
71235         * math/test-misc.c: Likewise.
71236         * stdlib/bug-getcontext.c: Likewise.
71238 2012-05-17  Andreas Jaeger  <aj@suse.de>
71240         * manual/examples/search.c (critter_cmp): Change signature to
71241         avoid warnings.
71242         * manual/string.texi (Collation Functions): Likewise.
71244 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71246         * bits/types.h: Fold copyright years.
71247         * bits/typesizes.h: Likewise.
71248         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71249         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71250         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71251         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71252         * time/time.h: Likewise.
71254 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
71256         [BZ #208]
71257         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71258         in instead of returning them.  Return void.
71259         (__libc_mallinfo): Accumulate over all arenas.
71260         (__malloc_stats): Adjust for change in int_mallinfo interface.
71262 2012-05-16  Roland McGrath  <roland@hack.frob.com>
71264         [BZ #10375]
71265         * configure.in (NM): Add AC_CHECK_TOOL for it.
71266         (libc_extra_cflags): New substituted variable.
71267         Check for -fstack-protector being used implicitly.
71268         * configure: Regenerated.
71269         * config.make.in (config-extra-cflags): New variable,
71270         gets @libc_extra_cflags@.
71271         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71273         [BZ #10375]
71274         * configure.in: Check for _FORTIFY_SOURCE being predefined.
71275         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71276         * configure: Regenerated.
71277         * config.make.in (CPPUNDEFS): New substituted variable.
71278         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71279         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71280         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71282 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71284         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71285         (mq_attr): Use __syscall_slong_t.
71287 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71289         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71290         Check __x86_64__ instead of __WORDSIZE.
71291         (_STAT_VER_LINUX): Likewise.
71292         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
71293         __syscall_ulong_t and __syscall_slong_t.
71294         (stat64): Likewise.
71296 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71298         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71300 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71302         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71304 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71306         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71307         __syscall_ulong_t.
71309         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71310         include <bits/wordsize.h>.  Check __x86_64__ instead of
71311         __WORDSIZE.
71312         (greg_t): Use "__extension__ long long int" if __x86_64__ is
71313         defined.
71314         (mcontext_t): Replace "unsigned long" with "unsigned long long".
71316         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71317         include <bits/wordsize.h>.  Check __x86_64__ instead of
71318         __WORDSIZE.
71319         (user_regs_struct): Use "__extension__ unsigned long long"
71320         instead of "unsigned long" if __x86_64__ is defined.
71321         (user): Likewise.  Pad after pointer field if __ILP32__ is
71322         defined.
71324 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
71326         * configure.in (makeinfo): Require version 4.5 or later.  Allow
71327         versions 5 to 9.
71328         * configure: Regenerated.
71329         * manual/install.texi (texinfo): Increase version requirement to
71330         4.5 or later.
71331         * INSTALL: Regenerated.
71333         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71335 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71337         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71339         * sysdeps/x86_64/x32/ffs.c: New file.
71341         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71342         __syscall_ulong_t.
71343         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71344         defined.  Use __syscall_ulong_t.
71345         (shminfo): Use __syscall_ulong_t.
71346         (shm_info): Likewise.
71348         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71349         __syscall_ulong_t.
71351         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71352         <bits/wordsize.h>.
71353         (msgqnum_t): Use __syscall_ulong_t.
71354         (msglen_t): Likewise.
71355         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
71356         __syscall_ulong_t.
71358         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71359         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71361         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71363         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71364         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71366         * sysvipc/sys/msg.h (msgbuf): Replace long int with
71367         __syscall_slong_t.
71369         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71370         include <bits/wordsize.h>.  Check __x86_64__ instead of
71371         __WORDSIZE.
71373         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71374         "unsigned long long int" if __x86_64__ is defined.
71375         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71377         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71378         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71379         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71381         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71382         <stdint.h>.
71383         (GET_PC): Cast to uintptr_t first.
71384         (GET_FRAME): Likewise.
71385         (GET_STACK): Likewise.
71387         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71388         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71389         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71390         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71391         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71392         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71393         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71394         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71395         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71396         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71397         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71398         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71399         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71400         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71401         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71402         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71403         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71404         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71405         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71406         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71407         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71408         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71409         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71410         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71411         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71412         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71413         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71414         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71415         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71417 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
71419         * Makerules (+depfiles): Also collect depfiles from .oS in
71420         $(extra-objs).
71421         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71422         .oS, $(libnldbl-routines)).
71424         * Makerules (native-compile-mkdep-flags): Define.
71425         * sunrpc/Makefile (extra-objs): Add $(addprefix
71426         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71427         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71428         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
71429         calling $(make-target-directory).
71431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71433         * bits/types.h (__snseconds_t): Removed.
71434         * time/time.h (struct timespec): Replace __snseconds_t with
71435         __syscall_slong_t.
71436         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71437         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71438         Likewise.
71439         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71440         (__SNSECONDS_T_TYPE): Likewise.
71441         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71442         (__SNSECONDS_T_TYPE): Likewise.
71443         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71444         (__SNSECONDS_T_TYPE): Likewise.
71446 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71448         * sysdeps/mach/hurd/bits/typesizes.h
71449         (__SYSCALL_SLONG_TYPE): New macro.
71450         (__SYSCALL_ULONG_TYPE): Likewise.
71452 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71454         * bits/types.h (__syscall_slong_t): New type.
71455         (__syscall_ulong_t): Likewise.
71457         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71458         (__SYSCALL_ULONG_TYPE): Likewise.
71459         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71460         (__SYSCALL_SLONG_TYPE): Likewise.
71461         (__SYSCALL_ULONG_TYPE): Likewise.
71462         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71463         (__SYSCALL_SLONG_TYPE): Likewise.
71464         (__SYSCALL_ULONG_TYPE): Likewise.
71465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71466         (__SYSCALL_SLONG_TYPE): Likewise.
71467         (__SYSCALL_ULONG_TYPE): Likewise.
71469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71471         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71472         Add sigaltstack-offsets.sym.
71473         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71474         <sigaltstack-offsets.h>.
71475         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
71476         longjmp_msg pointer.
71477         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
71478         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71479         signal stack.
71480         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71482 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71484         * elf/stackguard-macros.h: Remove file.
71485         * sysdeps/generic/stackguard-macros.h: New file.
71486         * sysdeps/i386/stackguard-macros.h: Likewise.
71487         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71488         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71489         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71490         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71491         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71492         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71493         * sysdeps/x86_64/stackguard-macros.h: Likewise.
71494         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71495         <elf/stackguard-macros.h>.
71497         [BZ #14109]
71498         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71499         __aligned__ in attribute.
71500         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71501         (gregset_t): Likewise.
71503 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71505         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71506         * sysdeps/x86_64/64/Implies-after: Here.  New file.
71507         * sysdeps/x86_64/x32/Implies-after: New file.
71509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71511         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71512         and access return value for _dl_profile_fixup.  Use R10_LP to
71513         load frame size.
71515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71517         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71519 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71521         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71522         * sysdeps/x86_64/x32/sysdep.h: New file.
71524 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71526         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71527         * sysdeps/x86_64/setjmp.S: Likewise.
71529 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71531         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71532         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71533         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71534         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71535         remove unused global constant.
71537 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
71539         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71540         include of <not-cancel.h>.
71542 2012-05-15  Roland McGrath  <roland@hack.frob.com>
71544         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
71546 2012-05-15  Jeff Law  <law@redhat.com>
71547             Andreas Jaeger  <aj@suse.de>
71549         [BZ #13594]
71550         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
71551         out from...
71552         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
71553         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
71554         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
71555         code changing __hst_map_handle.map.
71557 2012-05-15  Roland McGrath  <roland@hack.frob.com>
71559         * configure.in (sysnames): Look for Implies-before and Implies-after
71560         files.
71561         * configure: Regenerated.
71563 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71565         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
71566         8-byte data alignment with LP_SIZE alignment.
71568 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71570         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71571         into R10_LP.
71573 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71575         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
71577 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71579         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71580         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71581         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71582         Likewise.
71583         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71587         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71588         (stackinfo_sub_sp): Likewise.
71590 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71592         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71593         RAX_LP.
71595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71597         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71598         into R*_LP.
71600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71602         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71603         sizes into R*_LP.
71605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71607         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71611         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71612         into R11_LP and load __x86_64_shared_cache_size_half into
71613         R8_LP.
71615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71617         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71618         R8_LP.
71620 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71622         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71623         logb for POWER7.
71624         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71625         logbf for POWER7.
71626         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71627         logbl for POWER7.
71628         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71629         powerpc32/power7/fpu/s_logb.c via #include.
71630         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71631         powerpc32/power7/fpu/s_logbf.c via #include.
71632         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71633         powerpc32/power7/fpu/s_logbl.c via #include.
71635 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71637         * README.libm: Remove file.
71639 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71641         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71642         count for x32.  Use R*_LP and omit operand-size suffix.
71644 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71646         * shlib-versions: Move x86_64-.*-linux.* entries to ...
71647         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
71648         * sysdeps/x86_64/x32/shlib-versions: New file.
71650 2012-05-14  Roland McGrath  <roland@hack.frob.com>
71652         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71653         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71654         Use _dl_fatal_printf instead.
71656 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71658         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71659         set if not set by the user.  Do not allow for being unset.
71660         * sysdeps/unix/sysv/linux/configure: Regenerated.
71662 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71664         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71665         the `q' suffix from lea and replace .quad with ASM_ADDR.
71667 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71670         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
71671         instead of $17.
71672         (PTR_DEMANGLE): Likewise.
71674 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71676         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71677         (LP_OP): Likewise.
71678         (ASM_ADDR): Likewise.
71679         (RAX_LP): Likewise.
71680         (RBP_LP): Likewise.
71681         (RBX_LP): Likewise.
71682         (RCX_LP): Likewise.
71683         (RDI_LP): Likewise.
71684         (RSI_LP): Likewise.
71685         (RSP_LP): Likewise.
71686         (R8_LP): Likewise.
71687         (R9_LP): Likewise.
71688         (R10_LP): Likewise.
71689         (R10_LP): Likewise.
71690         (R11_LP): Likewise.
71691         (R12_LP): Likewise.
71692         (R13_LP): Likewise.
71693         (R14_LP): Likewise.
71694         (R15_LP): Likewise.
71696 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71698         * sysdeps/x86_64/x32/dl-machine.h: New file.
71700 2012-05-14  Andreas Jaeger  <aj@suse.de>
71702         * manual/Makefile (subdir): Remove export of subdir.
71703         (all): Remove target.
71704         (.PHONY): Remove all from list.
71705         (mkinstalldirs): Remove.
71706         (.PHONY): Remove installdirs from list.
71707         ($(inst_infodir)/libc.info): Use make-target-directory.
71708         (installdirs): Remove.
71709         (subdir_%): Remove.
71710         (glibc-targets): Remove.
71711         (lib): Remove.
71712         (stubs): Remove.
71713         ($(objpfx)stubs ../po/manual.pot): Remove.
71714         ($(objpfx)stamp%): Remove.
71715         (make-target-directory): Remove.
71716         (subdir_install): Remove.
71717         (routines): Remove.
71718         (aux): Remove.
71719         (sources): Remove.
71720         (objects): Remove.
71721         (headers): Remove.
71723         [BZ #13750]
71724         * manual/.gitignore: Remove, it's not needed anymore.
71725         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71726         all files in it.
71727         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71728         directory.
71729         (texis): Renamed to $(objpfx)texis.
71730         (texis-path): New, contains path to generated files.
71731         (chapters.%): Use texis-path for complete path, add extra argument
71732         libc-texinfo.sh.
71733         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71734         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71735         (summary,texi, stamp-summary): Use complete path of
71736         files. Generate files in build dir.
71737         (dir-add.texi): Build in build dir.
71738         (libm-err.texi,stamp-libm-err): Likewise.
71739         (version.texi, stamp-version): Likewise.
71740         (.%c.texi): Likewise.
71741         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71742         (mostlyclean): Remove target.
71743         (realclean): Remove target.
71744         (generated): Add new variable with contents from mostlyclean and
71745         realclean, remove entries duplicated in common-mostlyclean, add
71746         stamp-libm-err and stamp-version.
71747         (generated-dirs): Add libc directory.
71748         ($(inst_infodir)/libc.info): Install files from build dir.
71750         * manual/install.texi (Configuring and compiling): Adjust since
71751         the info files are not part of the tar ball anymore.
71753 2012-05-14  Andreas Jaeger  <aj@suse.de>
71755         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71756         variable.
71758 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71760         [BZ #13717]
71761         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71762         to 2.2.0 where earlier.
71763         * sysdeps/unix/sysv/linux/configure: Regenerated.
71764         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71765         Remove conditional code.
71766         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71767         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71768         Remove conditional code.
71769         [!__NR_lchown]: Likewise.
71770         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71771         [__NR_lchown]: Likewise.
71772         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71773         comment referencing __ASSUME_LCHOWN_SYSCALL.
71774         * sysdeps/unix/sysv/linux/i386/sigaction.c
71775         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71776         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71777         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71778         Remove conditional code.
71779         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71780         (__protocol_available): Remove #if 0 code.
71781         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71782         conditional code.
71783         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71784         * sysdeps/unix/sysv/linux/kernel-features.h
71785         (__ASSUME_GETCWD_SYSCALL): Don't define.
71786         (__ASSUME_REALTIME_SIGNALS): Likewise.
71787         (__ASSUME_PREAD_SYSCALL): Likewise.
71788         (__ASSUME_PWRITE_SYSCALL): Likewise.
71789         (__ASSUME_POLL_SYSCALL): Likewise.
71790         (__ASSUME_LCHOWN_SYSCALL): Likewise.
71791         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71792         non-SPARC.
71793         (__ASSUME_SIOCGIFNAME): Don't define.
71794         (__ASSUME_MSG_NOSIGNAL): Likewise.
71795         (__ASSUME_SENDFILE): Define unconditionally.
71796         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71797         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71798         conditional code.
71799         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71800         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71801         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71802         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71803         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71804         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71805         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71807         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71808         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71810         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71811         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71813         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71814         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71816         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71817         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71819         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71820         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71822         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71823         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71825         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71826         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71828         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71829         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71830         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71831         Remove conditional code.
71832         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71833         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71834         Remove conditional code.
71835         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71836         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71837         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71838         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71839         Remove conditional code.
71840         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71841         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71842         Remove conditional code.
71843         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71844         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71845         Remove conditional code.
71846         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71847         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71848         Remove conditional code.
71849         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71850         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71851         Remove conditional code.
71852         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71853         * sysdeps/unix/sysv/linux/sh/pwrite64.c
71854         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71855         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71856         * sysdeps/unix/sysv/linux/sigaction.c
71857         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71858         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71859         * sysdeps/unix/sysv/linux/sigpending.c
71860         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71861         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71862         * sysdeps/unix/sysv/linux/sigprocmask.c
71863         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71864         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71865         * sysdeps/unix/sysv/linux/sigsuspend.c
71866         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71867         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71868         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71869         (__libc_missing_rt_sigs): Remove.
71870         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71871         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71872         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71873         Remove conditional code.
71874         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71875         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71876         return 1.
71877         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71878         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71879         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71880         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71882 2012-05-14  Andreas Jaeger  <aj@suse.de>
71884         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71885         it's not used in glibc.
71886         (__coshm1): Likewise.
71887         (__acosh1p): Likewise.
71888         (__sgn): Likewise.
71890         * manual/string.texi (Copying and Concatenation): Add missing
71891         variable in concat example.
71892         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71894 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71896         [BZ #14103]
71897         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71898         __builtin_clzl with __builtin_clzll.
71900 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71902         [BZ #14104]
71903         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71904         libc_freeres_ptr.
71906 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71908         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71909         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71910         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71911         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71913 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
71915         * NEWS: Update ia64 info.
71917 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
71919         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71920         used as bcopy.
71922 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
71924         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71925         * sysdeps/unix/syscalls.list (dup3): Likewise.
71926         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71927         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71929 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71931         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71932         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71934 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71936         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71937         thread pointer.
71938         (TLS_IE): Use mov/add instead of movq/addq to load thread
71939         pointer.
71940         (TLS_GD_PREFIX): New.
71941         (TLS_GD): Use it.
71943 2012-05-11  David S. Miller  <davem@davemloft.net>
71945         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71946         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71947         (_FPU_SETCW): Likewise.
71949 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71951         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71952         is 32-byte aligned.
71954 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
71956         [BZ #11837]
71957         * iconvdata/gb18030.c: Update tables.
71958         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
71959         characters specially.
71960         (BODY for TO_LOOP): Add encoding of missing ranges.
71962 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
71964         [BZ #13673]
71965         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71966         * sysdeps/mach/hurd/dup3.c: Likewise.
71967         * sysdeps/mach/hurd/readlinkat.c: Likewise.
71968         * sysdeps/powerpc/memmove.c:: Likewise.
71970 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71972         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71973         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71975 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71977         * elf/elf.h (R_X86_64_RELATIVE64): New.
71978         (R_X86_64_NUM): Updated.
71979         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71980         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
71981         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71982         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71983         tst-quad1pie tst-quad2pie
71984         (modules-names): Add tst-quadmod1 tst-quadmod2.
71985         ($(objpfx)tst-quad1): New dependency.
71986         ($(objpfx)tst-quad2): Likewise.
71987         ($(objpfx)tst-quad1pie): Likewise.
71988         ($(objpfx)tst-quad2pie): Likewise.
71989         * sysdeps/x86_64/tst-quad1.c: New file.
71990         * sysdeps/x86_64/tst-quad1pie.c: New file.
71991         * sysdeps/x86_64/tst-quad2.c: Likewise.
71992         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71993         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71994         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71995         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71996         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71998 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72000         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
72001         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
72002         * streams/stropts.h (t_scalar_t): Define type.
72004         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72005         (_PATH_PRESERVE): Set to "/var/lib".
72006         (_PATH_RWHODIR): Set to "/var/spool/rwho".
72008         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
72009         instead of int.
72011         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
72012         if __dir_mkfile succeeded.
72014         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
72015         checking for _hurd_dtablesize.  Unlock it right after having
72016         finished _hurd_dtable allocation.
72018 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72020         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
72021         * sysdeps/mach/hurd/configure: Regenerated.
72022         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
72023         special-casing to...
72024         * sysdeps/gnu/configure.in: ... this new file.
72025         * sysdeps/unix/sysv/linux/configure: Regenerated.
72026         * sysdeps/gnu/configure: New generated file.
72028         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72029         for Linux: use nsec instead of usec, as well as:
72030         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72031         members of type struct timespec.
72032         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72033         New macros.
72034         (struct stat64): Likewise.
72035         (_STATBUF_ST_NSEC): New macro.
72036         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72038         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72039         __strtoul_internal rather than strtoul.
72041 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72043         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72044         and reject them.
72046 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72048         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72049         which preserves existing values.
72050         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72052 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72054         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72055         TIMEOUT values.  Return EINVAL for NFDS values either negative or
72056         greater than FD_SETSIZE.
72058 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72060         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72061         allocated, call __vm_protect to finish enabling the existing space, and
72062         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72063         allocate the remainder.
72065 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72067         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72068         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
72070 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72072         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72073         sysdeps/mach/hurd/readlink.c.
72075         * posix/tst-sysconf.c (posix_options): Only use
72076         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72077         _POSIX_SYNCHRONIZED_IO when they are defined
72078         * sysdeps/mach/hurd/bits/posix_opt.h:
72079         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72080         (_XOPEN_REALTIME): Undefine macro.
72081         (_XOPEN_REALTIME_THREADS): Undefine macro.
72082         (_XOPEN_SHM): Undefine macro.
72083         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72084         macro to -1.
72085         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72086         macro to -1.
72087         (_POSIX_ASYNC_IO): Undefine macro.
72088         (_POSIX_PRIORITIZED_IO): Undefine macro.
72089         (_POSIX_SPIN_LOCKS): Define macro to -1.
72091         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72092         SA_NODEFER, SA_RESETHAND.
72093         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72094         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72095         F_DUPFD_CLOEXEC.
72097 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72099         * elf/Makefile (pldd-modules): Define unconditionally.
72101 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72103         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72105 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72107         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72108         Return ENOENT when name is empty.
72109         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72111 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72113         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72115         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72117 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72119         Fix mlock in all cases except non-readable pages.
72120         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72121         instead of VM_PROT_ALL as parameter to __vm_wire function.
72123         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72124         (__mkdir): When path is `/', just fail with EEXIST.
72125         * sysdeps/mach/hurd/mkdirat.c: Likewise.
72127 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72129         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72130         <sys/uio.h> (for writev).
72131         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72132         and <sys/param.h> (for MIN).
72134 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72136         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72137         REQUESTED_TIME.  Properly set the remaining time and return EINTR
72138         if interrupted.
72140 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72142         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72143         Depend on against $(link-rpcuserlibs).
72145 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72147         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72148         (__libc_stack_end): Do not use attribute_relro.
72149         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72150         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72151         to libthread-provided value.
72152         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72153         attribute_relro.
72155 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72157         [BZ #3748]
72158         * bits/libc-lock.h (__libc_once_get): New macro.
72159         * sysdeps/mach/bits/libc-lock.h: Likewise.
72160         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72161         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72162         instead of using implementation details.
72164         * libio/fileops.c: Unconditionally include <kernel-features.h>.
72165         * libio/freopen.c: Likewise.
72166         * libio/freopen64.c: Likewise.
72167         * misc/syslog.c: Likewise.
72168         * nscd/connections.c: Likewise.
72169         * nscd/netgroupcache.c: Likewise.
72170         * sysdeps/posix/getcwd.c: Likewise.
72172 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72174         * math/w_ilogbf.c: Add #include <limits.h>.
72176 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72178         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72179         path instead of returning without unlocking.
72181         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72182         immediate-write ioctls.
72183         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72185 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72187         * sysdeps/mach/hurd/i386/init-first.c (init): Use
72188         __builtin_frame_address instead of making assumptions about the
72189         location of the return address relative to DATA.  Force early load of
72190         the return address.
72191         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72192         __builtin_frame_address.
72194         dup3 for GNU Hurd.
72195         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72196         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
72197         implement dup3 and do some further code clean-ups.
72198         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72199         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72201 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72203         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72205         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72206         HURD_CRITICAL_END around holding _hurd_dtable_lock.
72207         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72208         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72209         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72210         d->port.lock.
72212         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72213         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
72214         when handler == SIG_ERR, not when handler != SIG_ERR.
72216 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72218         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72219         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72220         definitions.
72222         accept4 for GNU Hurd.
72223         * include/sys/socket.h (__libc_accept4): New prototype.
72224         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
72225         to implement __libc_accept4.
72226         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72227         __libc_accept4.
72228         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72230         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72231         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72232         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72233         signal-defines.sym.
72235 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72237         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72239 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72241         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72242         assertion on O_CLOEXEC flag.
72243         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72244         * hurd/intern-fd.c: Likewise.
72245         * hurd/port2fd.c: Likewise.
72247 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72249         [BZ #3906]
72250         * bits/in.h (IPV6_PKTINFO): Define new macro.
72251         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72253 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72255         [BZ #13954]
72256         [BZ #13955]
72257         [BZ #13956]
72258         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72259         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72260         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72261         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72262         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72263         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72264         * math/libm-test.inc (logb_test) : Additional logb tests.
72266 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
72267             Andreas Jaeger  <aj@suse.de>
72269         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72270         * configure: Regenerated.
72271         * config.h.in (LINK_OBSOLETE_RPC): New macro.
72272         * config.make.in (link-obsolete-rpc): New substituted variable.
72273         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72274         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72275         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72276         (shared-only-routines): Don't set it under [link-obsolete-rpc],
72277         so that libc.a contains the symbols.
72278         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72279         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72280         * sunrpc/auth_none.c: Likewise.
72281         * sunrpc/auth_unix.c: Likewise.
72282         * sunrpc/authdes_prot.c: Likewise.
72283         * sunrpc/authuxprot.c: Likewise.
72284         * sunrpc/clnt_gen.c: Likewise.
72285         * sunrpc/clnt_perr.c: Likewise.
72286         * sunrpc/clnt_raw.c: Likewise.
72287         * sunrpc/clnt_simp.c: Likewise.
72288         * sunrpc/clnt_tcp.c: Likewise.
72289         * sunrpc/clnt_udp.c: Likewise.
72290         * sunrpc/clnt_unix.c: Likewise.
72291         * sunrpc/des_crypt.c: Likewise.
72292         * sunrpc/des_soft.c: Likewise.
72293         * sunrpc/get_myaddr.c: Likewise.
72294         * sunrpc/key_call.c: Likewise.
72295         * sunrpc/key_prot.c: Likewise.
72296         * sunrpc/netname.c: Likewise.
72297         * sunrpc/pm_getmaps.c: Likewise.
72298         * sunrpc/pm_getport.c: Likewise.
72299         * sunrpc/pmap_clnt.c: Likewise.
72300         * sunrpc/pmap_prot.c: Likewise.
72301         * sunrpc/pmap_prot2.c: Likewise.
72302         * sunrpc/pmap_rmt.c: Likewise.
72303         * sunrpc/publickey.c: Likewise.
72304         * sunrpc/rpc_cmsg.c: Likewise.
72305         * sunrpc/rpc_common.c: Likewise.
72306         * sunrpc/rpc_dtable.c: Likewise.
72307         * sunrpc/rpc_prot.c: Likewise.
72308         * sunrpc/rpc_thread.c: Likewise.
72309         * sunrpc/rtime.c: Likewise.
72310         * sunrpc/svc.c: Likewise.
72311         * sunrpc/svc_auth.c: Likewise.
72312         * sunrpc/svc_raw.c: Likewise.
72313         * sunrpc/svc_run.c: Likewise.
72314         * sunrpc/svc_tcp.c: Likewise.
72315         * sunrpc/svc_udp.c: Likewise.
72316         * sunrpc/svc_unix.c: Likewise.
72317         * sunrpc/svcauth_des.c: Likewise.
72318         * sunrpc/xcrypt.c: Likewise.
72319         * sunrpc/xdr.c: Likewise.
72320         * sunrpc/xdr_array.c: Likewise.
72321         * sunrpc/xdr_float.c: Likewise.
72322         * sunrpc/xdr_intXX_t.c: Likewise.
72323         * sunrpc/xdr_mem.c: Likewise.
72324         * sunrpc/xdr_rec.c: Likewise.
72325         * sunrpc/xdr_ref.c: Likewise.
72326         * sunrpc/xdr_sizeof.c: Likewise.
72327         * sunrpc/xdr_stdio.c: Likewise.
72329 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72331         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72332         change.  Update copyright years.
72334 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72336         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72338 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
72339             Joseph Myers  <joseph@codesourcery.com>
72340             Paul Pluzhnikov  <ppluzhnikov@google.com>
72342         [BZ #14012]
72343         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72344         requiring rpcgen.
72345         [cross-compiling] (extra-libs): Likewise.
72346         [cross-compiling] (extra-libs-others): Likewise.
72347         [cross-compiling] (librpcsvc-routines): Likewise.
72348         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72349         [cross-compiling] (omit-deps): Likewise.
72350         (sunrpc-CPPFLAGS): New variable.
72351         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72352         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72353         (cross-rpcgen-objs): New variable.
72354         (extra-objs): Append $(cross-rpcgen-objs).
72355         ($(cross-rpcgen-objs)): New rule.
72356         ($(objpfx)cross-rpcgen): Likewise.
72357         (rpcgen-cmd): Define to use $(built-program-file).  Expand
72358         comment.
72359         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72360         ($(objpfx)x%.stmp): Likewise.
72361         * sunrpc/proto.h [IS_IN_build] (_): Define.
72362         [IS_IN_build] (_libc_intl_domainname): Likewise.
72364 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72366         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72367         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72368         and R_X86_64_TPOFF64.
72370 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72372         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72373         sysdeps/unix/sysv/syscalls.list.
72374         (stime): Likewise.
72375         (utime): Likewise.
72376         * sysdeps/unix/sysv/syscalls.list: Remove file.
72378 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
72380         [BZ #3440]
72381         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72382         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72383         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72384         (__LC_IDENTIFICATION): Make these macros useful in #if
72385         expressions, as required by C99.
72387 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
72389         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72390         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
72391         after this.
72393 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
72395         * stdlib/longlong.h: Updated from GCC.
72397 2012-05-09  Andreas Jaeger  <aj@suse.de>
72399         * nscd/nscd.c (run_modes): Make named enum, reorder so that
72400         default is first entry.
72401         (run_mode): Set type.
72402         (main): Remove informal message about syslog.
72403         (options): Fix typo.
72405         [BZ #14053]
72406         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72407         to asm.
72408         (lrint): Likewise.
72409         (llrintf): Likewise.
72410         (llrint): Likewise.
72411         (rint): Likewise.
72412         (rintf): Likewise.
72413         (nearbyint): Likewise.
72414         (nearbyintf): Likewise.
72416 2012-05-09  Andreas Jaeger  <aj@suse.de>
72417             Pedro Alves  <palves@redhat.com>
72419         * nscd/nscd.c (run_mode): Use enum.
72420         (main): Cleanup coding style issue.
72422 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
72423             Andreas Jaeger  <aj@suse.de>
72425         * nscd/nscd.c (go_background): Replaced with...
72426         (run_mode): ... this.
72427         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72428         (options): Add -F --foreground.
72429         (main): Implement it.
72430         (parse_opt): Parse it.
72432 2012-05-09  Andreas Jaeger  <aj@suse.de>
72434         [BZ #14083]
72435         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72436         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72437         -Wconversion warning.
72438         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72439         Likewise.
72441 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
72443         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
72444         == 0.
72445         (LC_ALL): Use macro-int-constant.
72446         (LC_COLLATE): Likewise.
72447         (LC_CTYPE): Likewise.
72448         (LC_MESSAGES): Likewise.
72449         (LC_MONETARY): Likewise.
72450         (LC_NUMERIC): Likewise.
72451         (LC_TIME): Likewise.
72452         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72453         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72454         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72455         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72456         Specify type.
72457         [C99-based standards] (float_t): Expect type.
72458         [C99-based standards] (double_t): Expect type.
72459         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
72460         type.
72461         [C99-based standards] (HUGE_VALL): Likewise.
72462         [C99-based standards] (INFINITY): Likewise.
72463         [C99-based standards] (NAN): Likewise.
72464         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72465         [C99-based standards] (FP_NAN): Likewise.
72466         [C99-based standards] (FP_NORMAL): Likewise.
72467         [C99-based standards] (FP_SUBNORMAL): Likewise.
72468         [C99-based standards] (FP_ZERO): Likewise.
72469         [C99-based standards] (FP_FAST_FMA): Use
72470         optional-macro-int-constant.  Specify type.  Require == 1.
72471         [C99-based standards] (FP_FAST_FMAF): Likewise.
72472         [C99-based standards] (FP_FAST_FMAL): Likewise.
72473         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72474         [C99-based standards] (FP_ILOGBNAN): Likewise.
72475         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72476         Specify type.
72477         [C99-based standards] (MATH_ERREXCEPT): Likewise.
72478         [C99-based standards] (math_errhandling): Specify type.
72479         [ISO99 || ISO11] (signgam): Do not allow.
72480         [non-C99-based standards] (copysignf): Do not allow.
72481         [non-C99-based standards] (exp2f): Likewise.
72482         [non-C99-based standards] (log2f): Likewise.
72483         [non-C99-based standards] (modff): Allow.
72484         [non-C99-based standards] (erff): Do not allow.
72485         [non-C99-based standards] (erfcf): Likewise.
72486         [non-C99-based standards] (gammaf): Likewise.
72487         [non-C99-based standards] (hypotf): Likewise.
72488         [non-C99-based standards] (j0f): Likewise.
72489         [non-C99-based standards] (j1f): Likewise.
72490         [non-C99-based standards] (jnf): Likewise.
72491         [non-C99-based standards] (lgammaf): Likewise.
72492         [non-C99-based standards] (tgammaf): Likewise.
72493         [non-C99-based standards] (y0f): Likewise.
72494         [non-C99-based standards] (y1f): Likewise.
72495         [non-C99-based standards] (ynf): Likewise.
72496         [non-C99-based standards] (isnanf): Likewise.
72497         [non-C99-based standards] (acoshf): Likewise.
72498         [non-C99-based standards] (asinhf): Likewise.
72499         [non-C99-based standards] (atanhf): Likewise.
72500         [non-C99-based standards] (cbrtf): Likewise.
72501         [non-C99-based standards] (expm1f): Likewise.
72502         [non-C99-based standards] (ilogbf): Likewise.
72503         [non-C99-based standards] (log1pf): Likewise.
72504         [non-C99-based standards] (logbf): Likewise.
72505         [non-C99-based standards] (nextafterf): Likewise.
72506         [non-C99-based standards] (remainderf): Likewise.
72507         [non-C99-based standards] (rintf): Likewise.
72508         [non-C99-based standards] (scalbf): Likewise.
72509         [non-C99-based standards] (copysignl): Likewise.
72510         [non-C99-based standards] (exp2l): Likewise.
72511         [non-C99-based standards] (log2l): Likewise.
72512         [non-C99-based standards] (modfl): Allow.
72513         [non-C99-based standards] (erfl): Do not allow.
72514         [non-C99-based standards] (erfcl): Likewise.
72515         [non-C99-based standards] (gammal): Likewise.
72516         [non-C99-based standards] (hypotl): Likewise.
72517         [non-C99-based standards] (j0l): Likewise.
72518         [non-C99-based standards] (j1l): Likewise.
72519         [non-C99-based standards] (jnl): Likewise.
72520         [non-C99-based standards] (lgammal): Likewise.
72521         [non-C99-based standards] (tgammal): Likewise.
72522         [non-C99-based standards] (y0l): Likewise.
72523         [non-C99-based standards] (y1l): Likewise.
72524         [non-C99-based standards] (ynl): Likewise.
72525         [non-C99-based standards] (isnanl): Likewise.
72526         [non-C99-based standards] (acoshl): Likewise.
72527         [non-C99-based standards] (asinhl): Likewise.
72528         [non-C99-based standards] (atanhl): Likewise.
72529         [non-C99-based standards] (cbrtl): Likewise.
72530         [non-C99-based standards] (expm1l): Likewise.
72531         [non-C99-based standards] (ilogbl): Likewise.
72532         [non-C99-based standards] (log1pl): Likewise.
72533         [non-C99-based standards] (logbl): Likewise.
72534         [non-C99-based standards] (nextafterl): Likewise.
72535         [non-C99-based standards] (remainderl): Likewise.
72536         [non-C99-based standards] (rintl): Likewise.
72537         [non-C99-based standards] (scalbl): Likewise.
72538         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72539         [non-C99-based standards] (FP_*): Do not allow.
72540         [C99-based standards] (FP_*): Change to
72541         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72542         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72543         allow.
72544         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
72545         (SIG_ERR): Likewise.
72546         [X/Open-based standards] (SIG_HOLD): Likewise.
72547         (SIG_IGN): Likewise.
72548         (SIGABRT): Use macro-int-constant.  Specify type.  Require
72549         positive value.
72550         (SIGFPE): Likewise.
72551         (SIGILL): Likewise.
72552         (SIGINT): Likewise.
72553         (SIGSEGV): Likewise.
72554         (SIGTER): Likewise.
72555         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
72556         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
72557         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
72558         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
72559         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
72560         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
72561         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
72562         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
72563         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
72564         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
72565         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
72566         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
72567         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
72568         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
72569         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
72570         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
72571         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
72572         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
72573         [X/Open-based standards] (SIGTRAP): Likewise.
72574         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
72575         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
72576         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
72577         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
72578         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72579         allow.
72581 2012-05-08  Ian Wienand  <ianw@vmware.com>
72583         [BZ #14080]
72584         * time/tzset.c (__tzset_parse_tz): Update default rules for
72585         daylight time changes in the Energy Policy Act of 2005.
72587 2012-05-09  Andreas Jaeger  <aj@suse.de>
72589         [BZ #13983]
72590         * elf/ldconfig.c (parse_conf): Change string to make clear that
72591         ldconfig only issued a warning if ld.so.conf does not exist.
72593 2012-05-08  David S. Miller  <davem@davemloft.net>
72595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72596         movxtod instead of popping the value on the stack.
72598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72600 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
72602         * config.h.in: Add HAVE_ARM_PCS_VFP.
72604 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
72606         [BZ #13979]
72607         * include/features.h: Warn if user requests __FORTIFY_SOURCE
72608         checking but the checks are disabled for any reason.
72610 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
72612         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72613         and ELF64_R_TYPE with ELFW(R_TYPE).
72615 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
72617         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72618         (ulimit): Likewise.
72620         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72621         (settimeofday): Likewise.
72623 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
72625         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
72626         a struct th_u2 inside the union, and move tu_block/tu_code into
72627         a new th_u3 union of tu_block/tu_code inside of that.  Move
72628         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
72629         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
72630         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72631         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72632         (th_stuff): Change to th_u1.tu_stuff.
72633         (th_data): Define.
72634         (th_msg): Change to th_u1.th_u2.tu_data.
72636 2012-05-07  David S. Miller  <davem@davemloft.net>
72638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72640         [BZ #14074]
72641         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72642         (SETUP_PIC_REG): Use it.
72643         (SETUP_PIC_REG_LEAF): Use it.
72645 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
72647         [BZ #13885]
72648         [BZ #13923]
72649         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72650         USE_AS_EXPM1L.
72651         (EXPL_FINITE): Likewise.
72652         (FLDLOG): Likewise.
72653         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72654         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72655         e_expl.S.
72656         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72657         USE_AS_EXPM1L.
72658         (EXPL_FINITE): Likewise.
72659         (FLDLOG): Likewise.
72660         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72661         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72662         e_expl.S.
72663         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
72664         test of -max_value argument for long double.
72665         * sysdeps/i386/fpu/libm-test-ulps: Update.
72666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72668 2012-05-06  David S. Miller  <davem@davemloft.net>
72670         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72671         quad soft-float symbols whose references which are compiler
72672         generated.
72673         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72675 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
72677         [BZ #13884]
72678         [BZ #13914]
72679         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72680         USE_AS_EXP10L.
72681         (EXPL_FINITE): Likewise.
72682         (FLDLOG): Likewise.
72683         (c0): Likewise.
72684         (c1): Likewise.
72685         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72686         Adjust comments for base varying.
72687         (__expl_finite): Change alias to EXPL_FINITE.
72688         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72689         e_expl.S.
72690         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72691         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72692         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72693         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72694         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72695         USE_AS_EXP10L.
72696         (EXPL_FINITE): Likewise.
72697         (FLDLOG): Likewise.
72698         (c0): Likewise.
72699         (c1): Likewise.
72700         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72701         Adjust comments for base varying.
72702         (__expl_finite): Change alias to EXPL_FINITE.
72703         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
72704         tests for bugs.
72705         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72707         [BZ #14064]
72708         * math/libm-test.inc (check_float_internal): Correct ulp
72709         calculation for subnormal expected results.
72711 2012-05-06  Andreas Jaeger  <aj@suse.de>
72713         * Makeconfig (+math-flags): New, set to -frounding-math.
72714         (+cflags): Add +math-flags so that all of glibc gets compiled with
72715         it.
72717         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72719 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
72721         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72722         Disable one test.
72724         [BZ #13787]
72725         [BZ #13922]
72726         [BZ #14036]
72727         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72728         (__ieee754_expl): Allow for and saturate large arguments.
72729         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72730         (u_threshold): Likewise.
72731         (__exp): Call __ieee754_exp before checking for overflow and
72732         underflow.
72733         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72734         (u_threshold): Likewise.
72735         (__expf): Call __ieee754_expf before checking for overflow and
72736         underflow.
72737         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72738         (u_threshold): Likewise.
72739         (__expl): Call __ieee754_expl before checking for overflow and
72740         underflow.
72741         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72742         (__ieee754_expl): Allow for and saturate large arguments.
72743         * math/libm-test.inc (exp_test): Add another test.  Do not allow
72744         missing overflow exception on overflow.
72745         (expm1_test): Do not allow missing overflow exception on overflow.
72747         * sysdeps/i386/fpu/e_expl.c: Move to ...
72748         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
72749         rather than using inline asm.
72750         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72751         * sysdeps/x86_64/fpu/e_expl.S: Copy from
72752         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72754         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72755         (nice): Likewise.
72756         (poll): Likewise.
72757         (signal): Likewise.
72758         (time): Likewise.
72759         (times): Likewise.
72761 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72763         * sysdeps/unix/syscalls.list (adjtime): Add entry from
72764         sysdeps/unix/common/syscalls.list.
72765         (fchmod): Likewise.
72766         (fchown): Likewise.
72767         (ftruncate): Likewise.
72768         (getrusage): Likewise.
72769         (gettimeofday): Likewise.
72770         (setpgid): Likewise.
72771         (setregid): Likewise.
72772         (setreuid): Likewise.
72773         (sigaction): Likewise.
72774         (truncate): Likewise.
72775         (vhangup): Likewise.
72776         * sysdeps/unix/common/syscalls.list: Remove file.
72777         * sysdeps/unix/bsd/Implies: Don't include unix/common.
72778         * sysdeps/unix/sysv/linux/Implies: Likewise.
72780 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
72782         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72784         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72785         Moved to ...
72786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72787         Here.
72788         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72789         to ...
72790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72791         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72792         to ...
72793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72794         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72795         to ...
72796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72797         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72798         to ...
72799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72800         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72801         to ...
72802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72803         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72804         to ...
72805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72806         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72807         to ...
72808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72809         Here.
72810         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72811         to ...
72812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72813         Here.
72814         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72815         to ...
72816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72817         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72818         Moved to ...
72819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72820         Here.
72821         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72822         to ...
72823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72825 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72827         * sysdeps/unix/common/bits/dirent.h: Remove file.
72828         * sysdeps/unix/common/bits/fcntl.h: Likewise.
72830         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72831         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72832         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72833         * sysdeps/unix/bsd/isatty.c: Likewise.
72834         * sysdeps/unix/bsd/tcdrain.c: Likewise.
72835         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72836         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72838 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72840         [BZ #13563]
72841         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72842         long double comparison inaccuracies.
72843         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72846 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
72848         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72849         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72851 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72853         [BZ #14049]
72854         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72855         nonzero digits before rounding a hex value.
72856         * stdlib/tst-strtod.c (tests): Add another test.
72858 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72860         * sysdeps/s390/fpu/libm-test-ulps: Update.
72862 2012-05-03  Andreas Jaeger  <aj@suse.de>
72864         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72865         does not get optimized out.
72866         (malloc_opt_barrier): New.
72868 2012-05-03  Andreas Jaeger  <aj@suse.de>
72869             Roland McGrath  <roland@hack.frob.com>
72871         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72872         intermediate file deletion.
72873         (generated): Add .symlist files.
72875 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
72877         [BZ #13775]
72878         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72879         Redirect under this condition.
72880         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72881         [__USE_GNU] (__dprintf_chk): Not under this condition.
72882         [__USE_GNU] (__vdprintf_chk): Likewise.
72883         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72884         under this condition.
72885         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72886         [__USE_XOPEN2K8] (dprintf): Define under this condition.
72887         [__USE_XOPEN2K8] (vdprintf): Likewise.
72888         [__USE_GNU] (__dprintf_chk): Not under this condition.
72889         [__USE_GNU] (__vdprintf_chk): Likewise.
72890         [__USE_GNU] (dprintf): Likewise.
72891         [__USE_GNU] (vdprintf): Likewise.
72893 2012-05-03  Roland McGrath  <roland@hack.frob.com>
72895         * elf/Makefile (common-generated): Set this instead of generated for
72896         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
72897         $(all-built-dso)-derived lists.
72899 2012-05-03  Andreas Jaeger  <aj@suse.de>
72901         * sysdeps/i386/fpu/libm-test-ulps: Update.
72903         * FAQ: Removed.
72904         * FAQ.in: Likewise.
72905         * scripts/gen-FAQ.pl: Likewise.
72906         * manual/install.texi (Installation): Point to online location of
72907         FAQ.
72908         * Makefile (files-for-dist): Remove FAQ.
72909         (FAQ): Remove.
72911 2012-05-02  Allan McRae  <allan@archlinux.org>
72913         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72914         (LDFLAGS-reldepmod5.so): Likewise.
72915         (LDFLAGS-reldep6mod1.so): Likewise.
72916         (LDFLAGS-reldep6mod4.so): Likewise.
72917         (LDFLAGS-reldep8mod3.so): Likewise.
72918         (LDFLAGS-unload4mod1.so): Likewise.
72919         (LDFLAGS-unload4mod2.so): Likewise.
72920         (LDFLAGS-tst-initorder): Likewise.
72921         (LDFLAGS-tst-initordera2.so): Likewise.
72922         (LDFLAGS-tst-initordera3.so): Likewise.
72923         (LDFLAGS-tst-initordera4.so): Likewise.
72924         (LDFLAGS-tst-initorderb2.so): Likewise.
72925         (LDFLAGS-noload): Likewise.
72926         (LDFLAGS-next): Likewise.
72927         (LDFLAGS-order2mod1.so): Likewise.
72928         (LDFLAGS-order2mod2.so): Likewise.
72929         (LDFLAGS-tst-initorder2): Likewise.
72930         (LDFLAGS-tst-initorder2a.so): Likewise.
72931         (LDFLAGS-tst-initorder2b.so): Likewise.
72932         (LDFLAGS-tst-initorder2c.so): Likewise.
72933         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72935 2012-05-02  David S. Miller  <davem@davemloft.net>
72937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72939 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
72941         [BZ #14055]
72942         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72944 2012-05-02  Andreas Jaeger  <aj@suse.de>
72946         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72947         since we manipulate rounding mode.
72948         (CPPFLAGS-test-idouble.c): Likewise.
72949         (CPPFLAGS-test-ifloat.c): Likewise.
72950         (CFLAGS-test-ldouble.c): Likewise.
72951         (CFLAGS-test-double.c): Likewise.
72952         (CFLAGS-test-float.c): Likewise.
72953         (CFLAGS-test-misc.c): Likewise.
72954         (CFLAGS-test-test-fenv.c): Likewise.
72956 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72958         [BZ #2550]
72959         [BZ #2570]
72960         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72961         comparisons to determine direction to adjust input.
72963 2012-05-01  Roland McGrath  <roland@hack.frob.com>
72965         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72966         output to the target.
72968         * scripts/localplt.awk: New file.
72969         * elf/Makefile ($(objpfx)check-localplt): Target removed.
72970         (check-localplt-CFLAGS): Variable removed.
72971         ($(all-built-dso:=.jmprel)): New static pattern rule.
72972         (generated): Add those targets.
72973         (localplt-built-dso): New variable.
72974         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72976         * elf/check-localplt.c: File removed.
72978         * scripts/check-execstack.awk: New file.
72979         * elf/Makefile ($(objpfx)check-execstack): Target removed.
72980         (check-execstack-CFLAGS): Variable removed.
72981         ($(objpfx)check-execstack.h): Target removed.
72982         ($(objpfx)execstack-default): New target.
72983         (generated): Add that instead of check-execstack.h.
72984         ($(all-built-dso:=.phdr)): New static pattern rule.
72985         (generated): Add those targets.
72986         * elf/check-execstack.c: File removed.
72988         * scripts/check-textrel.awk: New file.
72989         * elf/Makefile ($(objpfx)check-textrel): Target removed.
72990         (check-textrel-CFLAGS): Variable removed.
72991         (all-built-dso): Use := to define.o
72992         ($(all-built-dso:=.dyn)): New static pattern rule.
72993         (generated): Add those targets.
72994         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72995         * config.make.in (READELF): New substituted variable.
72996         * elf/check-textrel.c: File removed.
72998 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73000         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73001         allow.
73002         * conform/data/ctype.h-data [C99-based standards] (isblank):
73003         Expect function.
73004         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
73005         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
73006         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73007         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
73008         Specify type.  Require positive value.
73009         (EILSEQ): Likewise.
73010         (ERANGE): Likewise.
73011         [ISO || POSIX] (EILSEQ): Do not expect.
73012         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
73013         Specify type.  Require positive value.
73014         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
73015         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73016         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
73017         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
73018         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
73019         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
73020         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
73021         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
73022         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
73023         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
73024         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
73025         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
73026         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73027         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73028         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73029         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73030         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73031         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73032         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73033         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73034         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73035         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73036         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73037         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73038         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73039         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73040         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73041         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73042         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73043         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73044         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73045         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73046         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73047         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73048         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73049         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73050         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73051         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73052         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73053         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73054         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73055         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73056         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73057         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73058         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73059         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73060         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73061         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73062         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73063         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73064         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73065         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73066         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73067         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73068         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73069         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73070         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73071         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73072         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73073         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73074         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73075         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73076         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73077         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73078         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73079         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73080         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73081         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73082         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73083         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73084         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73085         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73086         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73087         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73088         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73089         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73090         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73091         Require >= 2.
73092         (FLT_ROUNDS): Expect as macro, not constant.
73093         (FLT_MANT_DIG): Use macro-int-constant.
73094         (DBL_MANT_DIG): Likewise.
73095         (LDBL_MANT_DIG): Likewise.
73096         (FLT_DIG): Likewise.
73097         (DBL_DIG): Likewise.
73098         (LDBL_DIG): Likewise.
73099         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
73100         (DBL_MIN_EXP): Likewise.
73101         (LDBL_MIN_EXP): Likewise.
73102         (FLT_MAX_EXP): Use macro-int-constant.
73103         (DBL_MAX_EXP): Likewise.
73104         (LDBL_MAX_EXP): Likewise.
73105         (FLT_MAX_10_EXP): Likewise.
73106         (DBL_MAX_10_EXP): Likewise.
73107         (LDBL_MAX_10_EXP): Likewise.
73108         (FLT_MAX): Use macro-constant.
73109         (DBL_MAX): Likewise.
73110         (LDBL_MAX): Likewise.
73111         (FLT_EPSILON): Use macro-constant.  Give upper bound.
73112         (DBL_EPSILON): Likewise.
73113         (LDBL_EPSILON): Likewise.
73114         (FLT_MIN): Likewise.
73115         (DBL_MIN): Likewise.
73116         (LDBL_MIN): Likewise.
73117         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73118         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73119         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73120         [ISO11] (FLT_HAS_SUBNORM): Likewise.
73121         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73122         [ISO11] (DBL_DECIMAL_DIG): Likewise.
73123         [ISO11] (FLT_DECIMAL_DIG): Likewise.
73124         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73125         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73126         [ISO11] (FLT_TRUE_MIN): Likewise.
73127         [ISO11] (LDBL_TRUE_MIN): Likewise.
73128         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73129         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73130         (SCHAR_MIN): Use macro-int-constant.  Specify type.
73131         (SCHAR_MAX): Likewise.
73132         (UCHAR_MAX): Likewise.
73133         (CHAR_MIN): Likewise.
73134         (CHAR_MAX): Likewise.
73135         (MB_LEN_MAX): Use macro-int-constant.
73136         (SHRT_MIN): Use macro-int-constant.  Specify type.
73137         (SHRT_MAX): Likewise.
73138         (USHRT_MAX): Likewise.
73139         (INT_MAX): Likewise.
73140         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
73141         bound negative.
73142         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73143         bound with "U".
73144         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73145         bound with "L".
73146         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
73147         bound negative.  Suffix upper bound with "L".
73148         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73149         bound with "UL".
73150         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73151         Specify type.
73152         [C99-based standards] (LLONG_MAX): Likewise.
73153         [C99-based standards] (ULLONG_MAX): Likewise.
73154         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
73155         == 0.
73156         [ISO11] (max_align_t): Require type.
73157         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73159         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73160         from $CFLAGS, without defining away __attribute__ calls.
73161         (checknamespace): Use $CFLAGS_namespace.
73163         * conform/conformtest.pl (@keywords): Only include C99 keywords
73164         for standards based on C99 or C11.
73166         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73167         Disable tests.
73168         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73169         UNIX98]: Likewise.
73171         * conform/conformtest.pl: Handle "macro-int-constant" and test for
73172         usability of symbols in #if.
73174         * conform/conformtest.pl: If macro or constant types start
73175         "promoted:", expect the symbol to be of the following type
73176         promoted by the integer promotions.
73178         * conform/conformtest.pl: Parse all "constant" and "macro" lines
73179         in one place.  Also handle "macro-constant".
73181         * conform/conformtest.pl: Only accept expected macro values with
73182         "==".  Parse all "macro" lines in one place.
73183         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73185         * conform/conformtest.pl: Handle braced types on "constant" lines
73186         instead of handling "typed-constant".
73187         * conform/data/signal.h-data: Use "constant" instead of
73188         "typed-constant".
73190         * conform/conformtest.pl: Handle "optional-" at start of lines in
73191         one place rather than duplicating several cases.  Handle each
73192         format of "macro" line with initial "optional-".
73194         * conform/conformtest.pl: Only accept expected constant or
73195         optional-constant values with "==".  Parse all "constant" lines in
73196         one place.  Parse all "optional-constant" lines in one place.
73197         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73198         * conform/data/fmtmsg.h-data: Likewise.
73199         * conform/data/netinet/in.h-data: Likewise.
73200         * conform/data/tar.h-data: Likewise.
73201         * conform/data/limits.h-data: Use "==" form on "constant" and
73202         "optional-constant" lines.
73204         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73205         Use -std=c99 for XOPEN2K.
73206         (@knownproblems): Remove.
73207         (newtoken): Don't check %isknown.
73209         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73210         Do not expect macro.
73211         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73212         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73213         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73214         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73215         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73216         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73217         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73218         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73219         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73220         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73221         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73222         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73223         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73224         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73225         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73226         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73227         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73228         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73229         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73230         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73231         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73232         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73233         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73234         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73235         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73236         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73237         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73238         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73239         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73240         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73241         [XPG3] (acosh): Likewise.
73242         [XPG3] (asinh): Likewise.
73243         [XPG3] (atanh): Likewise.
73244         [XPG3] (cbrt): Likewise.
73245         [XPG3] (expm1): Likewise.
73246         [XPG3] (ilogb): Likewise.
73247         [XPG3] (log1p): Likewise.
73248         [XPG3] (logb): Likewise.
73249         [XPG3] (nextafter): Likewise.
73250         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73251         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73252         [XPG3] (remainder): Likewise.
73253         [XPG3] (rint): Likewise.
73254         [XPG3 || XPG4 || UNIX98] (round): Likewise.
73255         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73256         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73257         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73258         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73259         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73260         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73261         [UNIX98 || XOPEN2K] (scalb): Expect.
73262         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73263         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73264         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73265         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73266         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73267         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73268         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73269         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73270         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73271         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73272         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73273         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73274         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73275         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73276         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73277         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73278         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73279         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73280         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73281         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73282         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73283         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73284         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73285         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73286         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73287         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73288         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73289         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73290         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73291         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73292         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73293         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73294         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73295         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73296         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73297         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73298         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73299         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73300         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73301         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73302         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73303         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73304         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73305         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73306         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73307         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73308         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73309         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73310         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73311         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73312         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73313         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73314         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73315         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73316         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73317         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73318         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73319         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73320         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73321         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73322         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73323         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73324         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73325         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73326         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73327         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73328         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73329         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73330         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73331         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73332         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73333         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73334         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73335         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73336         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73337         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73338         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73339         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73340         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73341         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73342         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73343         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73344         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73345         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73346         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73347         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73348         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73349         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73350         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73351         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73352         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73353         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73354         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73355         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73356         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73357         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73358         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73359         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73360         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73361         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73362         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73363         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73364         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73365         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73366         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73367         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73368         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73369         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73370         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73371         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73372         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73373         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73374         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73375         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73376         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73377         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73378         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73379         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73380         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73381         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73382         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73383         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73384         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73385         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73386         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73387         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73388         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73389         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73390         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73391         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73392         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73393         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73394         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73395         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73396         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73397         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73398         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73400         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73401         _XOPEN_SOURCE_EXTENDED for XPG4.
73403         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73405         * Makeconfig (localtime): Remove variable.
73406         (inst_localtime-file): Likewise.
73408 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73411         Update.
73412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73413         Update.
73414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73415         Update.
73416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73417         Update.
73418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73419         Update.
73420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73421         Update.
73422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73423         Update.
73424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73425         Update.
73426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73427         Update.
73429 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73431         [BZ #2550]
73432         [BZ #2570]
73433         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73434         comparisons to determine direction to adjust input.
73435         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73436         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73437         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73438         Likewise.
73439         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73440         Likewise.
73441         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73442         Likewise.
73443         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73444         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73445         Likewise.
73446         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73447         Likewise.
73448         * math/libm-test.inc (nexttoward_test): Add more tests.
73450 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73452         [BZ #14040]
73453         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73454         in version GLIBC_2.1, not GLIBC_2.0.
73455         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73456         Likewise.
73458 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
73460         [BZ #13942]
73461         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73462         (1 - x) * (1 + x).
73463         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73464         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73465         * math/libm-test.inc (acos_test): Add more tests.
73466         (asin_test): Likewise.
73467         * sysdeps/i386/fpu/libm-test-ulps: Update.
73468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73470         [BZ #14034]
73471         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73472         of square root.
73473         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73474         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73475         * math/libm-test.inc (acos_test_tonearest): New function.
73476         (acos_test_towardzero): Likewise.
73477         (acos_test_downward): Likewise.
73478         (acos_test_upward): Likewise.
73479         (asin_test_tonearest): Likewise.
73480         (asin_test_towardzero): Likewise.
73481         (asin_test_downward): Likewise.
73482         (asin_test_upward): Likewise.
73483         (main): Call the new functions.
73484         * sysdeps/i386/fpu/libm-test-ulps: Update.
73485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73487         [BZ #13884]
73488         [BZ #13924]
73489         * math/e_exp10.c: Include <float.h>.
73490         (__ieee754_exp10): Handle underflow here rather than multiplying
73491         large negative argument by M_LN10.
73492         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73493         of __ieee754_expf.
73494         * math/e_exp10l.c: Include <float.h>.
73495         (__ieee754_exp10l): Handle underflow here rather than multiplying
73496         large negative argument by M_LN10l.
73497         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
73498         spurious overflow exception on underflow.
73500 2012-04-29  Marek Polacek  <polacek@redhat.com>
73502         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73503         (__fortify_function): New macro.
73504         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73505         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73506         __extern_always_inline.
73507         * libio/bits/stdio2.h: Likewise.
73508         * libio/bits/stdio.h: Likewise.
73509         * string/string.h: Likewise.
73510         * string/bits/string3.h: Likewise.
73511         * include/stdio.h: Likewise.
73512         * stdlib/bits/stdlib.h: Likewise.
73513         * stdlib/stdlib.h: Likewise.
73514         * rt/bits/mqueue2.h: Likewise.
73515         * rt/mqueue.h: Likewise.
73516         * posix/bits/unistd.h: Likewise.
73517         * posix/unistd.h: Likewise.
73518         * io/bits/poll2.h: Likewise.
73519         * io/bits/fcntl2.h: Likewise.
73520         * io/fcntl.h: Likewise.
73521         * io/sys/poll.h: Likewise.
73522         * misc/bits/syslog.h: Likewise.
73523         * misc/bits/syslog-ldbl.h: Likewise.
73524         * misc/sys/syslog.h: Likewise.
73525         * socket/bits/socket2.h: Likewise.
73526         * socket/sys/socket.h: Likewise.
73527         * debug/tst-chk1.c: Likewise.
73528         * wcsmbs/bits/wchar2.h: Likewise.
73529         * wcsmbs/bits/wchar-ldbl.h: Likewise.
73530         * wcsmbs/wchar.h: Likewise.
73532 2012-04-29  Andreas Jaeger  <aj@suse.de>
73534         * Makerules (tests): Remove enable-check-abi protection.
73535         (check-abi-warn): Remove.
73536         (check-abi-%): Remove check-abi-warn usage.
73538         * configure.in: Remove check-abi configure option.
73539         * configure: Regenerated.
73540         * config.make.in (enable-check-abi): Remove.
73542 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
73544         [BZ #14033]
73545         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
73546         double functions to double *_finite functions.
73548         [BZ #13941]
73549         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
73550         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
73551         LDBL_MIN_EXP.
73552         * stdio-common/Makefile (tests): Add tst-sprintf3.
73553         * stdio-common/tst-sprintf3.c: New file.
73555         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
73556         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
73558 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73560         * conform/conformtest.pl: Remove duplicate typed-constant
73561         handling.
73563 2012-04-28  David S. Miller  <davem@davemloft.net>
73565         * Makerules (%.abilist): Add vpath on sysdep_dirs.
73566         (check-abi-%): Remove AWK script prerequisite and explicit
73567         abilist directory.
73568         (check-abi): Rewrite to just diff the symlist with the abilist.
73569         (config-tls, config-abi-config): Delete, no longer used.
73570         (update-abi-%): Remove AWK script and explicit abilist directory.
73571         (update-abi): Rewrite to simply compare and conditionally copy the
73572         symlist and the sysdep abilist file.  Remove update-abi-config
73573         checks.
73574         * abilist/ld.abilist: Remove.
73575         * abilist/libBrokenLocale.abilist: Remove.
73576         * abilist/libanl.abilist: Remove.
73577         * abilist/libcrypt.abilist: Remove.
73578         * abilist/libdl.abilist: Remove.
73579         * abilist/librt.abilist: Remove.
73580         * abilist/libthread_db.abilist: Remove.
73581         * abilist/libutil.abilist: Remove.
73582         * scripts/extract-abilist.awk: Remove.
73583         * scripts/merge-abilist.awk: Remove.
73584         * sysdeps/generic/libcidn.abilist: New file.
73585         * sysdeps/generic/libnss_compat.abilist: New file.
73586         * sysdeps/generic/libnss_db.abilist: New file.
73587         * sysdeps/generic/libnss_dns.abilist: New file.
73588         * sysdeps/generic/libnss_files.abilist: New file.
73589         * sysdeps/generic/libnss_hesiod.abilist: New file.
73590         * sysdeps/generic/libnss_nis.abilist: New file.
73591         * sysdeps/generic/libnss_nisplus.abilist: New file.
73592         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73593         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73594         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73595         file.
73596         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73597         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73598         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73599         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73600         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73601         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73602         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73603         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73604         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73605         file.
73606         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73607         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73608         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73609         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73610         file.
73611         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73612         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73613         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73614         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73615         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73616         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73617         file.
73618         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73619         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73620         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73621         file.
73622         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73623         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73624         New file.
73625         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73626         New file.
73627         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73628         New file.
73629         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73630         New file.
73631         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73632         New file.
73633         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73634         New file.
73635         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73636         New file.
73637         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73638         New file.
73639         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73640         New file.
73641         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73642         New file.
73643         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73644         New file.
73645         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73646         New file.
73647         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73648         New file.
73649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73650         file.
73651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73652         New file.
73653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73654         New file.
73655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73656         file.
73657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73658         New file.
73659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73660         New file.
73661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73662         file.
73663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73664         New file.
73665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73666         New file.
73667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73668         New file.
73669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73670         New file.
73671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73672         New file.
73673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73674         New file.
73675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73677         file.
73678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73679         New file.
73680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73681         file.
73682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73683         file.
73684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73685         file.
73686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73687         file.
73688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73689         file.
73690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73691         New file.
73692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73693         file.
73694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73695         file.
73696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73697         New file.
73698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73699         file.
73700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73702         file.
73703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73704         New file.
73705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73706         file.
73707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73708         file.
73709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73710         file.
73711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73712         file.
73713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73714         file.
73715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73716         New file.
73717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73718         file.
73719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73720         file.
73721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73722         New file.
73723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73724         file.
73725         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73726         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73727         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73728         file.
73729         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73730         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73731         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73732         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73733         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73734         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73735         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73736         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73737         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73738         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73741         file.
73742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73743         New file.
73744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73745         file.
73746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73747         file.
73748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73749         file.
73750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73751         file.
73752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73753         file.
73754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73755         New file.
73756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73757         New file.
73758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73759         file.
73760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73761         New file.
73762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73763         file.
73764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73766         file.
73767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73768         New file.
73769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73770         file.
73771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73772         file.
73773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73774         file.
73775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73776         file.
73777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73778         file.
73779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73780         New file.
73781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73782         New file.
73783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73784         file.
73785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73786         New file.
73787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73788         file.
73790 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73792         * conform/conformtest.pl: Fix typo in handling typed-constant from
73793         allow-header.
73795 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73797         * README: Cut down references to pre-2.6 Linux kernels and
73798         Linuxthreads.  Update lists of configurations in libc and ports
73799         and sort alphabetically.  Say "or newer" with Linux kernel version
73800         requirements.
73802         * config.h.in [IS_IN_build]: Allow compiling without optimization.
73804 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
73806         [BZ #887]
73807         * math/libm-test.inc (logb_test_downward): New test to expose
73808         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73809         rounding mode.
73811 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73813         [BZ #14027]
73814         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73815         to be done.
73816         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73817         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73819 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
73821         * sysdeps/unix/i386/brk.S: Remove file.
73822         * sysdeps/unix/i386/dl-brk.S: Likewise.
73823         * sysdeps/unix/i386/pipe.S: Likewise.
73824         * sysdeps/unix/i386/sigreturn.S: Likewise.
73825         * sysdeps/unix/i386/syscall.S: Likewise.
73826         * sysdeps/unix/i386/vfork.S: Likewise.
73827         * sysdeps/unix/i386/wait.S: Likewise.
73829         * sysdeps/unix/common/tcsendbrk.c: Move to ...
73830         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73832         * configure.in (arm*-none*): Do not allow without
73833         --enable-hacker-mode.
73834         (netbsd*): Remove case setting base_os.
73835         (386bsd*): Likewise.
73836         (freebsd*): Likewise.
73837         (bsdi*): Likewise.
73838         (osf*): Likewise.
73839         (sunos*): Likewise.
73840         (ultrix*): Likewise.
73841         (newsos*): Likewise.
73842         (dynix*): Likewise.
73843         (*bsd*): Likewise.
73844         (sysv*): Likewise.
73845         (isc*): Likewise.
73846         (esix*): Likewise.
73847         (sco*): Likewise.
73848         (minix*): Likewise.
73849         (irix4*): Likewise.
73850         (irix6*): Likewise.
73851         (solaris[2-9]*): Likewise.
73852         (none): Likewise.
73853         * configure: Regenerated.
73855 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73857         [BZ #11521]
73858         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73859         overflow or cancellation in calculating denominator.
73860         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73861         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73862         down expression to avoid unexpected rounding in newer GCCs.
73863         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73865 2012-04-26  David S. Miller  <davem@davemloft.net>
73867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73868         long-double compat symbols.
73869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73883 2012-04-25  David S. Miller  <davem@davemloft.net>
73885         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73886         HWCAP_* values only after the memory barriers have been defined.
73887         (atomic_full_barrier): Define.
73888         (atomic_read_barrier): Define.
73889         (atomic_write_barrier): Define.
73891 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73893         * shlib-versions: Add libgcc_s version information.
73894         * sysdeps/generic/libgcc_s.h: Remove.
73895         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73896         libgcc_s.h.
73897         * sysdeps/gnu/unwind-resume.c: Likewise.
73898         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73900 2012-04-25  David S. Miller  <davem@davemloft.net>
73902         * sysdeps/unix/sparc/brk.S: Delete.
73903         * sysdeps/unix/sparc/dl-brk.S: Delete.
73904         * sysdeps/unix/sparc/pipe.S: Delete.
73905         * sysdeps/unix/sparc/sysdep.S: Delete.
73906         * sysdeps/unix/sparc/sysdep.h: Delete.
73907         * sysdeps/unix/sparc/vfork.S: Delete.
73908         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73909         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73910         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73911         (ret_ERRVAL, r0, r1, MOVE): Define.
73912         (JUMPTARGET): Remove.
73913         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73914         sysdeps/unix/sparc/sysdep.h
73915         (ENTRY, END): Remove.
73916         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73918 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
73920         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73921         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73922         -DIS_IN_build.
73924         * timezone/README: Update upstream location and email address for
73925         tzcode and tzdata.
73926         * timezone/zdump.c: Update from tzcode 2012b.
73927         * timezone/zic.c: Likewise.
73929         * configure.in (libc_cv_as_needed): Remove test.
73930         * configure: Regenerated.
73931         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73932         conditional definition.
73933         [$(have-as-needed) != yes] (no-as-needed): Likewise.
73934         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73935         * config.make.in (have-as-needed): Remove variable.
73937 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73938             Paul Pluzhnikov  <ppluzhnikov@google.com>
73940         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73941         strings correctly.
73943 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
73945         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73946         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73947         * sysdeps/sh/strlen.S: Likewise.
73949 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73951         * sysdeps/unix/fork.S: Remove file.
73952         * sysdeps/unix/i386/fork.S: Likewise.
73953         * sysdeps/unix/sparc/fork.S: Likewise.
73955         * sysdeps/unix/system.c: Remove file.
73956         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73958         * sysdeps/unix/getegid.S: Remove file.
73959         * sysdeps/unix/geteuid.S: Likewise.
73961 2012-04-24  Roland McGrath  <roland@hack.frob.com>
73963         * scripts/check-localplt.awk: New file.
73964         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73965         of diff.
73966         * scripts/data/localplt-generic.data: Add a comment.
73968         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73969         NODE when __dir_mkfile failed.
73970         * sysdeps/mach/hurd/symlinkat.c: Likewise.
73971         Reported by Ludovic Courtès <ludo@gnu.org>.
73973 2012-04-24  Andreas Jaeger  <aj@suse.de>
73975         * Makerules (common-clean): Also remove gen-as-const-headers
73976         files.
73978 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73980         * Makerules (native-compile): Do not change working directory for
73981         build.  Use $(OUTPUT_OPTION) in command.
73982         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73984 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73986         [BZ #13886]
73987         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73988         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73989         * math/libm-test.inc (floor_test): Add more tests.
73990         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73992 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73994         * sysdeps/unix/getdents.c: Remove file.
73995         * sysdeps/unix/sysv/getdents.c: Likewise.
73996         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73998         * sysdeps/unix/syscalls.list (madvise): Add syscall from
73999         sysdeps/unix/mman/syscalls.list.
74000         (mmap): Likewise.
74001         (mprotect): Likewise.
74002         (msync): Likewise.
74003         (munmap): Likewise.
74004         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
74005         * sysdeps/unix/mman/syscalls.list: Remove.
74006         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
74008         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
74009         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74010         * configure: Regenerated.
74011         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
74012         $(libgcc_s_suffix).
74013         * config.make.in (libgcc_s_suffix): Remove variable.
74015 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
74017         * sysdeps/unix/sysv/gethostname.c: Move to ...
74018         * sysdeps/posix/gethostname.c: ... here.
74020         * sysdeps/unix/execve.S: Remove file.
74022         * sysdeps/unix/_exit.S: Remove file.
74024 2012-04-23  Andreas Jaeger  <aj@suse.de>
74026         [BZ #13739]
74027         * manual/Makefile: Remove make dist support, there's no
74028         need for a stand-alone documentation tar ball.
74029         (TEXI2DVI): Define always, it's not in Makeconfig.
74030         (dist): Removed.
74031         (tar-it): Removed.
74032         (edition): Removed.
74033         (glibc-doc-$(edition).tar): Removed
74034         (%.Z): Removed.
74035         (%.gz): Removed.
74036         (%.uu): Removed.
74037         (ETAGS): Remove, it's in Makeconfig.
74038         (move-if-change): Remove, it's in Makeconfig.
74040 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
74042         [BZ #13970]
74043         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74044         (strtod, strtof, strtold, strtol, strtoul, strtoq)
74045         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74046         (strtod_l, strtof_l, strtold_l): Remove __wur.
74047         It is not necessarily an error to ignore strtol's return value.
74048         One can reliably look at the stored endptr to decide whether
74049         the number had valid syntax.
74051 2012-04-21  Andreas Jaeger  <aj@suse.de>
74053         [BZ #13739]
74054         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74056 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
74058         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74059         * sysdeps/unix/sysv/Versions: Remove file.
74061 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
74063         [BZ #13927]
74064         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74066 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
74068         [BZ #7064]
74069         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74070         version from __vm86.
74072 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
74074         * sysdeps/unix/common/lxstat.c: Remove file.
74075         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74077         * sysdeps/unix/sysv/Makefile: Remove file.
74079         * sysdeps/unix/sysv/direct.h: Remove file.
74081         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74082         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74083         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74084         * sysdeps/unix/sysv/bits/signum.h: Likewise.
74085         * sysdeps/unix/sysv/bits/stat.h: Likewise.
74086         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74087         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74089         * sysdeps/unix/sysv/setrlimit.c: Remove file.
74091         * sysdeps/unix/xmknod.c: Remove file.
74092         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74094         * sysdeps/unix/sysv/settimeofday.c: Remove file.
74096         * sysdeps/unix/sysv/i386/time.S: Remove file.
74098         * sysdeps/unix/fxstat.c: Remove file.
74099         * sysdeps/unix/xstat.c: Likewise.
74100         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74102         * sysdeps/unix/sysv/sigaction.c: Remove file.
74104         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74105         (sysdep_headers): Remove variable.
74106         [termio.h not in sysdep_headers] (generated): Likewise.
74107         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74108         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74109         * sysdeps/unix/sysv/tcdrain.c: Likewise.
74110         * sysdeps/unix/sysv/tcflow.c: Likewise.
74111         * sysdeps/unix/sysv/tcflush.c: Likewise.
74112         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74113         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74114         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74115         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74116         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74118         * sysdeps/unix/siglist.c: Remove file.
74120         * sysdeps/unix/getppid.S: Remove file.
74122         * sysdeps/unix/mkdir.c: Remove file.
74123         * sysdeps/unix/rmdir.c: Likewise.
74125 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
74127         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74128         ERR_MAX value.
74129         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74130         errlist-compat value.
74132 2012-04-18  David S. Miller  <davem@davemloft.net>
74134         * sysdeps/generic/memcopy.h (reg_char): Delete.
74135         * debug/strcat_chk.c: Use char, not reg_char.
74136         * debug/strcpy_chk.c: Likewise.
74137         * debug/strncat_chk.c: Likewise.
74138         * debug/strncpy_chk.c: Likewise.
74139         * string/memchr.c: Likewise.
74140         * string/memrchr.c: Likewise.
74141         * string/rawmemchr.c: Likewise.
74142         * string/strcat.c: Likewise.
74143         * string/strchr.c: Likewise.
74144         * string/strchrnul.c: Likewise.
74145         * string/strcmp.c: Likewise.
74146         * string/strcpy.c: Likewise.
74147         * string/strncat.c: Likewise.
74148         * string/strncmp.c: Likewise.
74149         * string/strncpy.c: Likewise.
74151 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74153         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74154         __builtin_memcopy is called when src and dest ranges are known to not
74155         overlap.
74157 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74159         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74160         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74161         fwd_align_merge macro call.
74162         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74163         bwd_align_merge macro call.
74164         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74166 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74168         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74169         bwd_align_merge macros.
74170         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74171         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74172         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74174 2012-04-18  David S. Miller  <davem@davemloft.net>
74176         * sysdeps/sparc/sparc64/memcopy.h: Delete.
74178 2012-04-18  Andreas Jaeger  <aj@suse.de>
74180         [BZ# 6794]
74181         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74182         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74183         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74185         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74186         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74187         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74189         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74190         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74191         Adjust for changed ldbl-128 files.
74193         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74194         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74195         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74197 2012-04-17  David S. Miller  <davem@davemloft.net>
74199         * sysdeps/sparc/sparc32/memcopy.h: Delete.
74201 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
74203         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74204         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74205         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74206         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74207         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74208         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74210 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74212         [BZ #6794]
74213         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74214         * math/libm-test.inc: Add ilogb errno and exception tests.
74215         * math/w_ilogb.c: New file: ilogb wrapper.
74216         * math/w_ilogbf.c: New file: ilogbf wrapper.
74217         * math/w_ilogbl.c: New file: ilogbl wrapper.
74218         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74219         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74220         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74221         exception being thrown with 0.0 as argument.
74222         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74223         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74224         exception being thrown with 0.0 as argument.
74225         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74226         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74227         exception being thrown with 0.0 as argument.
74228         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74229         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74230         exception being thrown with 0.0 as argument.
74231         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74232         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74233         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74234         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74235         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74236         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74237         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74238         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74239         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74241 2012-04-17  Petr Baudis  <pasky@ucw.cz>
74243         * include/sys/uio.h: Change __vector to __iovec to avoid clash
74244         with altivec.
74246 2012-04-16  Marek Polacek  <polacek@redhat.com>
74248         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74250 2012-04-16  Marek Polacek  <polacek@redhat.com>
74252         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74253         operands of fdivp instruction.
74255 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74257         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74258         * elf/tst-auditmod3b.c: Likewise.
74259         * elf/tst-auditmod4b.c: Likewise.
74260         * elf/tst-auditmod5b.c: Likewise.
74261         * elf/tst-auditmod6b.c: Likewise.
74262         * elf/tst-auditmod6c.c: Likewise.
74263         * elf/tst-auditmod7b.c: Likewise.
74264         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74265         * sysdeps/x86_64/preconfigure.in: Likewise.
74266         * sysdeps/x86_64/preconfigure: Regenerated.
74268 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74270         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74271         __ILP32__.
74273 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
74275         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74276         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74278 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
74280         [BZ #13973]
74281         * locale/iso-639.def: Fix gl language name. Spotted by
74282         Yaron Shahrabani.
74284 2012-04-12  Roland McGrath  <roland@hack.frob.com>
74286         [BZ #2074]
74287         * libio/libio.h (__io_write_fn): Update comment.
74289 2012-04-12  Petr Baudis  <pasky@ucw.cz>
74291         [BZ #2074]
74292         * stdio.texi (Hook Functions): The user provided writer function
74293         is not allowed to return -1.
74295 2012-04-11  David S. Miller  <davem@davemloft.net>
74297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74299 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
74301         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74302         Add a leading slash to rtkaio.
74304 2012-04-11  Jim Meyering  <meyering@redhat.com>
74306         [BZ #11959]
74307         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74308         It is not necessarily an error to ignore fwrite's return
74309         value.  One can reliably use ferror to test for errors after
74310         the fact.
74312 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74314         * bits/types.h (__snseconds_t): New type.
74315         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74317         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74318         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74319         (__SNSECONDS_T_TYPE): Likewise.
74320         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74321         (__SNSECONDS_T_TYPE): Likewise.
74322         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74323         (__SNSECONDS_T_TYPE): Likewise.
74325 2012-04-10  Andreas Jaeger  <aj@suse.de>
74327         [BZ #2636]
74328         * manual/time.texi (Processor Time): Return type of times is
74329         elapsed real time since an arbitrary point in the past.
74330         (CPU Time): Move CLK_TCK from here...
74331         (Processor Time): ...to here.  Correct description.
74332         * manual/conf.texi (Constants for Sysconf): Correct description of
74333         _SC_CLK_TCK.
74335 2012-04-10  David S. Miller  <davem@davemloft.net>
74337         [BZ #13967]
74338         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74339         where the is a gap between DT_REL(A) and DT_JMPREL.
74341 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74343         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74344         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74345         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74347 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
74349         * elf/dl-support.c (_dl_inhibit_cache): New variable.
74350         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74351         (dl_main): Handle --inhibit-cache.
74352         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74353         _dl_inhibit_cache.
74354         * elf/dl-load.c (_dl_map_object): Use it.
74355         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74357 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74359         [BZ #13872]
74360         * sysdeps/i386/fpu/e_powl.S (p78): New object.
74361         (__ieee754_powl): Saturate large exponents rather than testing for
74362         overflow of y*log2(x).
74363         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74364         * math/libm-test.inc (pow_test): Do not permit spurious overflow
74365         exceptions.
74367         [BZ #11521]
74368         * math/s_ctan.c: Include <float.h>.
74369         (__ctan): Avoid internal overflow or cancellation in calculating
74370         denominator.
74371         * math/s_ctanf.c: Likewise.
74372         * math/s_ctanl.c: Likewise.
74373         * math/s_ctanh.c: Likewise.
74374         * math/s_ctanhf.c: Likewise.
74375         * math/s_ctanhl.c: Likewise.
74376         * math/libm-test.inc (ctan_test): Add more tests.
74377         (ctanh_test): Likewise.
74378         * sysdeps/i386/fpu/libm-test-ulps: Update.
74379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74381 2012-04-09  Andreas Jaeger  <aj@suse.de>
74383         [BZ #6894]
74384         * manual/filesys.texi (Directory Entries): Mention that d_namlen
74385         is an optional BSD extension.
74387         [BZ #10254]
74388         * manual/stdio.texi (Opening Streams): Document additional fopen
74389         parameters.
74391 2012-04-09  Roland McGrath  <roland@hack.frob.com>
74393         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74394         %eax without telling the compiler.
74396 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
74398         [BZ # 13963]
74399         * manual/install.texi: Use sourceware.org.
74401 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74403         [BZ #13873]
74404         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74405         (__ieee754_pow): Generate overflow and underflow using huge*huge
74406         and tiny*tiny rather than just returning constant infinity or zero
74407         for large exponents.
74408         * math/libm-test.inc (pow_test): Require overflow exceptions for
74409         applicable cases of large exponents.
74411         [BZ #706]
74412         * sysdeps/i386/fpu/e_pow.S (p10): New object.
74413         (__ieee754_pow): Use iterative multiplication algorithm only for
74414         integer exponents with absolute value below 1024.  Check for odd
74415         integer exponents when using algorithm for real exponents.
74416         * math/libm-test.inc (pow_test): Add more tests.
74417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74419 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
74421         [BZ #13705]
74422         * math/libm-test.inc (exp_test): Do not allow overflow exception
74423         on underflow test.
74425 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
74427         [BZ #13705]
74428         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74429         instead of __kernel_standard_f.
74431 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
74433         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74434         * sysdeps/x86_64/memset_chk.S: Likewise.
74436 2012-04-08  Andreas Jaeger  <aj@suse.de>
74438         [BZ #10153]
74439         * manual/startup.texi (Environment Access): Describe return value
74440         for putenv and setenv.
74442         [BZ #6895]
74443         * manual/filesys.texi (Directory Entries): Add description for
74444         DT_LNK.
74446         [BZ #6890]
74447         * manual/filesys.texi (Directory Entries): Clarify that it's file
74448         system not operating system in the description of DT_UNKNOWN.
74450         [BZ #6578]
74451         * manual/syslog.texi (closelog): Fix reference, it's openlog.
74453 2012-04-08  Stephen Compall  <s11@member.fsf.org>
74455         [BZ #6649]
74456         * manual/llio.texi (Opening and Closing Files): Add cross
74457         reference to explain mode argument.
74459 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
74461         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74462         * sysdeps/x86_64/memset_chk.S: Likewise.
74464 2012-04-07  David S. Miller  <davem@davemloft.net>
74466         * elf/elf.h (R_SPARC_WDISP10): Define.
74467         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74468         R_SPARC_SIZE32.
74469         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74470         R_SPARC_SIZE64 and R_SPARC_H34.
74472 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
74474         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74475         conditions and remove no longer applicable assertion.
74477 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
74479         * bits/byteswap.h: Include <features.h>.
74480         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74481         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74483 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
74485         * bits/byteswap.h (__bswap_16): Removed.
74486         Include <bits/byteswap-16.h> to get __bswap_16.
74487         * sysdeps/i386/bits/byteswap.h: Likewise.
74488         * sysdeps/s390/bits/byteswap.h: Likewise.
74489         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74490         * bits/byteswap-16.h: New file.
74491         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74492         * sysdeps/s390/bits/byteswap-16.h: Likewise.
74493         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74494         * string/Makefile (headers): Add bits/byteswap-16.h.
74496 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74498         [BZ #13895]
74499         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74500         extra indirection.
74501         * nss/Makefile (tests-static, tests): Add tst-nss-static.
74502         * nss/tst-nss-static.c: New.
74504 2012-04-06  Robert Millan  <rmh@gnu.org>
74506         [BZ #6486]
74507         * manual/llio.texi (File Position Primitive): lseek
74508         refers to WHENCE when it really means OFFSET.
74510 2012-04-06  Andreas Jaeger  <aj@suse.de>
74512         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74513         strncmp declarations.
74515         * abilist/libc.abilist: Add __poll and __ppoll.
74517 2012-04-05  David S. Miller  <davem@davemloft.net>
74519         * scripts/check-local-headers.sh: Accept a host triplet in the
74520         path matched by the exclude regexp.
74522         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74523         definition.
74524         * sysdeps/powerpc/powerpc32/dl-machine.h
74525         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74526         * sysdeps/s390/s390-32/dl-machine.h
74527         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74528         * sysdeps/sparc/sparc32/dl-machine.h
74529         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74530         * sysdeps/sparc/sparc64/dl-machine.h
74531         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74533         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74534         lazy binding.
74535         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74536         undefined symbol errors.
74538         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74539         DT_NEEDED entries.
74541 2012-04-05  Michael Matz  <matz@suse.de>
74543         [BZ #13592]
74544         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
74546 2012-04-05  Andreas Jaeger  <aj@suse.de>
74548         [BZ #13908]
74549         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
74550         comment.
74552 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74554         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
74555         which ROUND is no valid rounding mode.
74557 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74559         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
74560         read again.
74561         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
74563 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74565         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
74566         an exception using FPU order intentionally.
74568 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74570         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
74571         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
74572         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
74573         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
74575 2012-04-05  Simon Josefsson  <simon@josefsson.org>
74577         [BZ #12340]
74578         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74579         EINVAL when BUFLEN is too smal.
74581 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
74583         [BZ #13553]
74584         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74585         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74587 2012-04-03  Andreas Jaeger  <aj@suse.de>
74589         [BZ #13938]
74590         * manual/setjmp.texi (System V contexts): Fix sentence.
74592         [BZ #13926]
74593         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74594         New macro for this case.
74595         [!__GNUC__] (__bswap_64): New inline function for this case.
74596         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74597         * bits/byteswap.h: Likewise.
74598         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74599         ull, guard with __GLIBC_HAVE_LONG_LONG.
74601         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74602         __GLIBC_HAVE_LONG_LONG.
74604         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74605         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74607 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74609         [BZ #13691]
74610         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74611         inptr and inend, rather than using last_ch.
74613 2012-04-02  David S. Miller  <davem@davemloft.net>
74615         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74616         * stdio-common/printf-parse.h (read_int): Change return type to
74617         'int', return -1 on INT_MAX overflow.
74618         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74619         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
74620         overflows INT_MAX.  Check for overflow of in-format-string precision
74621         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
74622         SIZE_MAX not INT_MAX for integer overflow test.
74623         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74624         skip the construct in the format string but do not record anything.
74625         * stdio-common/bug22.c: Adjust to test both width/prevision
74626         INT_MAX overflow as well as total length INT_MAX overflow.  Check
74627         explicitly for proper errno values.
74629 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
74631         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74632         CHAR_MAX.
74633         * string/test-strcmp.c [! WIDE]: Likewise.
74634         * time/tst-mktime2.c: Likewise for INT_MAX.
74635         * string/test-string.h: #include <sys/param.h> for MIN.
74637         * csu/init-first.c (__libc_init_first): Call __ctype_init.
74638         * sysdeps/i386/init-first.c (init): Likewise.
74639         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74640         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74641         * sysdeps/sh/init-first.c (init): Likewise.
74643 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
74645         * po/ru.po: Update from translation team.
74646         * po/vi.po: Likewise.
74648 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
74650         * resolv/nss_dns/dns-host.c: Merge copyright years.
74652 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74654         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74655         Optimize memcpy with prefetch if
74656         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
74657         src, dst pointers have unequal 16 byte alignments.
74659 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
74661         [BZ #13928]
74662         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74663         from a CNAME entry and return the minimum ttl for the query.
74664         (gaih_getanswer_slice): Likewise.
74666 2012-03-30  Jeff Law  <law@redhat.com>
74668         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74669         due to long keys.
74670         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74671         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74673         * resolv/nss_dns/dns-host.c: Update copyright year.
74675 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
74677         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74678         requests to save a system call.  Fix check that all bytes are sent.
74680         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74681         comments for sendmmsg.
74683 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74685         [BZ #13691]
74686         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74687         with only 1 character between 0x0041 and 0x01b0.
74688         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74689         * wcsmbs/tst-mbsnrtowcs.c: New file.
74691 2012-03-29  David S. Miller  <davem@davemloft.net>
74693         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74694         small copies by hand.
74696 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74698         [BZ #13761]
74699         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74700         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74701         group memberships.
74703 2012-03-28  David S. Miller  <davem@davemloft.net>
74705         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74706         that branches into memcpy.
74707         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74708         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74709         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74710         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74711         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74712         bits.
74713         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74714         implementation too.
74715         * sysdeps/sparc/mempcpy.S: New file.
74717         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74718         the IFUNC routine in the libc case.
74719         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74721         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74722         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74723         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74724         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74725         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74726         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74727         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74728         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74730         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74731         loop to 256 bytes instead of 64 bytes and fix test signedness.
74733         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74734         * sysdeps/sparc/sparc32/Makefile: rather than here...
74735         * sysdeps/sparc/sparc64/Makefile: and here.
74737 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
74739         * malloc/mallocbug.c: Avoid warnings about unused variables.
74741 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
74743         [BZ #13760]
74744         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74745         in the right place. Discard and retry query if response is
74746         larger than input buffer size.
74748 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
74750         [BZ #369]
74751         [BZ #2678]
74752         [BZ #3866]
74753         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74754         x for large integer exponent.
74755         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74756         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
74757         sign of result as needed afterwards.
74758         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74759         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74760         result for underflowing pow the same as for overflow.
74761         (__kernel_standard_l): Handle powl overflow and underflow here
74762         rather than calling __kernel_standard.
74763         * math/libm-test.inc (pow_test): Add more tests.
74765         [BZ #3868]
74766         [BZ #13879]
74767         [BZ #13910]
74768         [BZ #13911]
74769         [BZ #13912]
74770         [BZ #13913]
74771         [BZ #13915]
74772         [BZ #13916]
74773         [BZ #13917]
74774         [BZ #13918]
74775         [BZ #13919]
74776         [BZ #13920]
74777         [BZ #13921]
74778         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74779         * sysdeps/ieee754/k_standard.c: Include <float.h>.
74780         (__kernel_standard_l): New function.
74781         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74782         __kernel_standard.
74783         * math/w_acosl.c (__acosl): Likewise.
74784         * math/w_asinl.c (__asinl): Likewise.
74785         * math/w_atan2l.c (__atan2l): Likewise.
74786         * math/w_atanhl.c (__atanhl): Likewise.
74787         * math/w_coshl.c (__coshl): Likewise.
74788         * math/w_exp10l.c (__exp10l): Likewise.
74789         * math/w_exp2l.c (__exp2l): Likewise.
74790         * math/w_fmodl.c (__fmodl): Likewise.
74791         * math/w_hypotl.c (__hypotl): Likewise.
74792         * math/w_j0l.c (__j0l, __y0l): Likewise.
74793         * math/w_j1l.c (__j1l, __y1l): Likewise.
74794         * math/w_jnl.c (__jnl, __ynl): Likewise.
74795         * math/w_lgammal.c (__lgammal): Likewise.
74796         * math/w_log10l.c (__log10l): Likewise.
74797         * math/w_log2l.c (__log2l): Likewise.
74798         * math/w_logl.c (__logl): Likewise.
74799         * math/w_powl.c (__powl): Likewise.
74800         * math/w_remainderl.c (__remainderl): Likewise.
74801         * math/w_scalbl.c (sysv_scalbl): Likewise.
74802         * math/w_sinhl.c (__sinhl): Likewise.
74803         * math/w_sqrtl.c (__sqrtl): Likewise.
74804         * math/w_tgammal.c (__tgammal): Likewise.
74805         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74806         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74807         * math/libm-test.inc (acos_test): Add more tests.
74808         (acosh_test): Likewise.
74809         (asin_test): Likewise.
74810         (atanh_test): Likewise.
74811         (exp_test): Likewise.
74812         (exp10_test): Likewise.
74813         (exp2_test): Likewise.
74814         (expm1_test): Likewise.
74815         (lgamma_test): Likewise.
74816         (log_test): Likewise.
74817         (log10_test): Likewise.
74818         (log1p_test): Likewise.
74819         (log2_test): Likewise.
74820         (pow_test): Do not allow some spurious overflow exceptions.
74821         (sqrt_test): Add more tests.
74822         (tgamma_test): Likewise.
74823         (y0_test): Likewise.
74824         (y1_test): Likewise.
74825         (yn_test): Likewise.
74827 2012-03-27  Anton Blanchard  <anton@samba.org>
74829         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74830         MAP_HUGETLB.
74831         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74832         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74833         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74835 2012-03-27  David S. Miller  <davem@davemloft.net>
74837         * conform/Makefile: Run run-conformtest.sh using $(BASH).
74839         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74840         have-as-vis3 check.
74842 2012-03-27  Andreas Jaeger  <aj@suse.de>
74844         * sysdeps/x86_64/elf/configure.in: Moved to ...
74845         * sysdeps/x86_64/configure.in: ... here.
74846         * sysdeps/x86_64/elf/start.S: Moved to ...
74847         * sysdeps/x86_64/start.S: ... here.
74848         * sysdeps/x86_64/elf/configure: Delete.
74850         * sysdeps/x86_64/configure.in: Merge contents from
74851         sysdeps/i386/configure.in (without i686 check).
74853         * sysdeps/i386/elf/Versions: Merge into ...
74854         * sysdeps/i386/Versions: ... this.
74855         * sysdeps/i386/elf/Versions: Delete file.
74856         * sysdeps/i386/elf/start.S: Moved to ...
74857         * sysdeps/i386/start.S: ...here.
74858         * sysdeps/i386/elf/configure.in: Merge into...
74859         * sysdeps/i386/configure.in: ...here.
74860         * sysdeps/i386/elf/configure.in: Delete file.
74861         * sysdeps/i386/elf/configure: Delete file.
74863         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74864         * debug/backtracesyms.c: ... here.
74865         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74866         * debug/backtracesymsfd.c: ... here.
74867         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74868         * sysdeps/generic/ifunc-sel.h: ... here.
74870         * sysdeps/unix/i386/start.c: Delete file.
74871         * sysdeps/unix/sparc/start.c: Delete file.
74872         * sysdeps/unix/start.c: Delete file.
74874         * sysdeps/sh/elf/configure.in: Moved to ...
74875         * sysdeps/sh/configure.in: ... here.
74876         * sysdeps/sh/elf/start.S: Moved to ...
74877         * sysdeps/sh/start.S: ... here.
74878         * sysdeps/sh/elf/configure: Delete file.
74880         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74881         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74882         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74883         * sysdeps/powerpc/powerpc64/entry.h: ... here.
74884         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74885         * sysdeps/powerpc/powerpc64/start.S: here.
74886         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74887         * sysdeps/powerpc/powerpc64/Makefile: ... this.
74888         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74889         * sysdeps/powerpc/powerpc64/configure.in: ... this.
74890         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74892         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74893         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74894         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74895         * sysdeps/powerpc/powerpc32/start.S: ... here.
74896         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74897         * sysdeps/powerpc/powerpc32/configure.in: ... this.
74898         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74900         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74901         * sysdeps/powerpc/ifunc-sel.h: ... here.
74902         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74903         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74905         * sysdeps/sparc/elf/configure.in: Moved to ...
74906         * sysdeps/sparc/configure.in: ... here.
74907         * sysdeps/sparc/elf/configure: Delete file.
74908         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74909         * sysdeps/sparc/sparc32/start.S: ... here.
74910         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74911         * sysdeps/sparc/sparc64/start.S: ... here.
74912         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74913         * sysdeps/sparc/sparc32/Makefile: ... this.
74914         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74915         * sysdeps/sparc/sparc64/Makefile: ... this.
74917         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74918         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74919         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74920         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74921         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74922         * sysdeps/s390/s390-32/setjmp.S: ... here.
74923         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74924         * sysdeps/s390/s390-32/configure.in: ... here.
74925         * sysdeps/s390/s390-32/elf/configure: Delete file.
74926         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74927         * sysdeps/s390/s390-32/start.S: ... here.
74929         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74930         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74931         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74932         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74933         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74934         * sysdeps/s390/s390-64/setjmp.S: ... here.
74935         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74936         * sysdeps/s390/s390-64/configure.in: ... here
74937         * sysdeps/s390/s390-64/elf/configure: Delete file.
74938         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74939         * sysdeps/s390/s390-64/start.S: ... here.
74940         * sysdeps/s390/s390-64/elf/configure: Delete.
74942         * configure.in: Remove support for elf directories in sysdeps.
74944         * configure: Regenerated.
74945         * sysdeps/i386/configure: Regenerated.
74946         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74947         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74948         * sysdeps/s390/s390-32/configure: Regenerated.
74949         * sysdeps/s390/s390-64/configure: Regenerated.
74950         * sysdeps/sh/configure: Regenerated.
74951         * sysdeps/sparc/configure: Regenerated.
74952         * sysdeps/x86_64/configure: Regenerated.
74954 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
74956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74958         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74959         denormal result into account.
74961 2012-03-25  Roland McGrath  <roland@hack.frob.com>
74963         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74964         Reported by Allan McRae <allan@archlinux.org>.
74966 2012-03-23  Jeff Law  <law@redhat.com>
74968         * nss/getnssent.c (__nss_getent): Fix typo.
74970 2012-03-23  David S. Miller  <davem@davemloft.net>
74972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74974 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
74976         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74977         to pad to uint64_t for each field.
74978         (dl_tls_index): Replace unsigned long with uint64_t.
74980 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
74981         Paul Pluzhnikov  <ppluzhnikov@google.com>
74983         [BZ #6528]
74984         * grp/Makefile (otherlibs): Don't set it.
74985         * inet/Makefile (otherlibs): Likewise.
74986         * login/Makefile (otherlibs): Likewise.
74987         * nscd/Makefile (otherlibs): Likewise.
74988         * posix/Makefile (otherlibs): Likewise.
74989         * pwd/Makefile (otherlibs): Likewise.
74990         * rt/Makefile (otherlibs): Likewise.
74991         * sunrpc/Makefile (otherlibs): Likewise.
74992         * nss/Makefile (otherlibs): Likewise.
74993         Add libnss_files to routines and static-only-routines.
74994         ($(objpfx)getent): Remove rule.
74995         * resolv/Makefile: Add libnss_dns and libresolv to routines and
74996         static-only-routines.
74998 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
75000         [BZ #13892]
75001         * math/s_cexp.c: Include <float.h>.
75002         (__cexp): Handle exp result overflowing not necessarily
75003         overflowing both real and imaginary parts of result.
75004         * math/s_cexpf.c: Likewise.
75005         * math/s_cexpl.c: Likewise.
75006         * math/libm-test.inc (cexp_test): Add more tests.
75007         * sysdeps/i386/fpu/libm-test-ulps: Update.
75008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75010 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75012         * include/link.h (ELFW): New macro.
75013         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
75014         Replace ELF64_R_TYPE with ELFW(R_TYPE).
75016 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75018         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
75019         with uint64_t.
75021 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75023         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
75024         declaration.
75025         (struct La_x32_retval): Likewise.
75027 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75029         * sysdeps/x86_64/preconfigure.in: New file.
75030         * sysdeps/x86_64/preconfigure: New generated file.
75032 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
75034         [BZ #13824]
75035         * math/e_exp2l.c: Include <float.h>.
75036         (__ieee754_exp2l): Handle overflow and underflow cases
75037         separately.  Only pass fractional part of argument to
75038         __ieee754_expl.
75039         * math/libm-test.inc (exp2_test): Add more tests.
75041         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75042         negating x to take absolute value.
75043         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75044         Likewise.
75045         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75046         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75047         Likewise.
75048         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75049         computing low part if x was negated.
75050         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75052 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75054         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75055         la_x32_gnu_pltexit.
75056         (pltexit): Cast int_retval to ptrdiff_t.
75057         * elf/tst-auditmod3b.c: Likewise.
75058         * elf/tst-auditmod4b.c: Likewise.
75059         * elf/tst-auditmod5b.c: Likewise.
75060         * elf/tst-auditmod6b.c: Likewise.
75061         * elf/tst-auditmod6c.c: Likewise.
75062         * elf/tst-auditmod7b.c: Likewise.
75064         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75065         and x32_gnu_pltexit.
75067         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75068         __ELF_NATIVE_CLASS.
75069         (La_x32_regs): New macro.
75070         (La_x32_retval): Likewise.
75071         (la_x32_gnu_pltenter): New function prototype.
75072         (la_x32_gnu_pltexit): Likewise.
75074 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
75076         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75077         exponent.
75079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75081         * configure.in (libc_cv_cc_nofma): Check for option to disable
75082         generation of FMA instructions.
75083         * configure: Regenerate.
75084         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75085         * sysdeps/ieee754/dbl-64/Makefile: New file.
75086         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75087         Remove brandred-fma4.
75088         (CFLAGS-brandred-fma4.c): Remove.
75089         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75090         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75091         define.
75092         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75093         define.
75095 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75097         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75098         LLONG_MAX != LONG_MAX.
75099         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75100         (_fitoa_word): Likewise.
75101         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75102         LLONG_MAX != LONG_MAX.
75103         * stdio-common/_itowa.h: Include <_itoa.h>.
75104         (_itowa_word): Use _ITOA_WORD_TYPE on value.
75105         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
75106         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
75107         only if not defined.
75108         (_ITOA_WORD_TYPE): Likewise.
75109         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75110         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75112 2012-03-21  David S. Miller  <davem@davemloft.net>
75114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75116 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75118         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75119         of x86_64 when setting libc_cv_slibdir, libdir and
75120         libc_cv_localedir.
75121         * sysdeps/unix/sysv/linux/configure: Regenerated.
75123 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75125         * manual/lang.texi (Old Varargs): Remove section.
75126         (How Variadic): Update menu.
75127         (va_start): Do not mention varargs.h.
75129 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75130             Joseph Myers  <joseph@codesourcery.com>
75132         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75133         link test.
75134         * configure: Regenerated.
75136 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75138         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75139         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75140         conformtest.pl
75142 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75144         * NOTES: Remove.
75145         * Makefile (files-for-dist): Remove NOTES.
75146         (NOTES): Remove rule.
75147         * README: Don't refer to NOTES.
75148         * manual/creature.texi: Don't include macros.texi.
75149         * manual/intro.texi (creature.texi): Remove comment referring to
75150         NOTES.
75152         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75153         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75154         * configure: Regenerated.
75155         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75156         LIBC_TRY_CC_OPTION.
75157         (libc_cv_as_i686): Likewise.
75158         (libc_cv_cc_avx): Likewise.
75159         (libc_cv_cc_sse2avx): Likewise.
75160         (libc_cv_cc_fma4): Likewise.
75161         (libc_cv_cc_novzeroupper): Likewise.
75162         * sysdeps/i386/configure: Regenerated.
75164         [BZ #13883]
75165         * sysdeps/i386/fpu/s_cexp.S: Remove.
75166         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75167         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75168         * math/libm-test.inc (cexp_test): Add more tests.
75169         * sysdeps/i386/fpu/libm-test-ulps: Update.
75170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75172 2012-03-21  Allan McRae  <allan@archlinux.org>
75174         * timezone/Makefile: Do not install iso3166.tab and zone.tab
75176 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75178         [BZ #13871]
75179         * math/w_exp2.c: Do not include <float.h>.
75180         (o_threshold, u_threshold): Remove.
75181         (__exp2): Calculate result before checking finiteness and calling
75182         __kernel_standard.
75183         * math/w_exp2f.c: Likewise.
75184         * math/w_exp2l.c: Likewise.
75185         * math/libm-test.inc (exp2_test): Require overflow exception for
75186         1e6 input.
75188         [BZ #3866]
75189         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75190         range of signed 64-bit integers before using fistpll.  Remove
75191         checks for whether integers fit in mantissa bits.
75192         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75193         the range of signed 32-bit integers before using fistpl.  Remove
75194         checks for whether integers fit in mantissa bits.
75195         * sysdeps/i386/fpu/e_powl.S (p64): New object.
75196         (__ieee754_powl): Test for y outside the range of signed 64-bit
75197         integers before using fistpll.  Reduce 64-bit values to 63-bit
75198         ones as needed.
75199         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75200         divide-by-zero is raised for zero to large negative powers.
75201         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75202         (__ieee754_powl): Test for y outside the range of signed 64-bit
75203         integers before using fistpll.  Reduce 64-bit values to 63-bit
75204         ones as needed.
75205         * math/libm-test.inc (pow_test): Add more tests.
75207 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75209         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75210         <stdio-common/_itoa.h>.
75211         * debug/segfault.c: Likewise.
75212         * elf/dl-cache.c: Likewise.
75213         * elf/dl-minimal.c: Likewise.
75214         * elf/dl-misc.c: Likewise.
75215         * elf/dl-sysdep.c: Likewise.
75216         * elf/dl-version.c: Likewise.
75217         * elf/rtld.c: Likewise.
75218         * hurd/hurdsock.c: Likewise.
75219         * hurd/lookup-retry.c: Likewise.
75220         * malloc/malloc.c: Likewise.
75221         * malloc/mtrace.c: Likewise.
75222         * nscd/nscd_getgr_r.c: Likewise.
75223         * nscd/nscd_getpw_r.c: Likewise.
75224         * nscd/nscd_getserv_r.c: Likewise.
75225         * posix/getopt_init.c: Likewise.
75226         * posix/wordexp.c: Likewise.
75227         * stdio-common/_itoa.c: Likewise.
75228         * stdio-common/printf_fphex.c: Likewise.
75229         * stdio-common/vfprintf.c: Likewise.
75230         * string/_strerror.c: Likewise.
75231         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75232         * sysdeps/i386/i686/hp-timing.h: Likewise.
75233         * sysdeps/mach/_strerror.c: Likewise.
75234         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75235         * sysdeps/mach/hurd/sethostid.c: Likewise.
75236         * sysdeps/mach/hurd/xmknodat.c: Likewise.
75237         * sysdeps/mach/xpg-strerror.c: Likewise.
75238         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75239         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75240         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75241         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75242         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75243         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75244         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75245         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75246         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75247         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75248         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75249         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75250         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75251         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75252         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75253         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75254         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75255         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75256         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75257         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75258         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75260         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75262         * stdio-common/_itoa.h: Moved to ...
75263         * sysdeps/generic/_itoa.h: Here.
75265         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75267         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75268         instead of "_itoa.h" and "_itowa.h".
75269         * stdio-common/vfprintf.: Likewise.
75271 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75273         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75274         <bits/wordsize.h>.
75275         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75276         (__signbit): Likewise.
75277         (llrintf): Likewise.
75278         (llrint): Likewise.
75280 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75282         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75283         __WORDSIZE != 64.
75285 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
75287         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75288         OVERFLOW_EXCEPTION_OK.
75289         * math/libm-test.inc ("Philosophy"): Update comment about
75290         exception testing.
75291         (OVERFLOW_EXCEPTION): Define.
75292         (OVERFLOW_EXCEPTION_OK): Likewise.
75293         (INVALID_EXCEPTION_OK): Renumber.
75294         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75295         (IGNORE_ZERO_INF_SIGN): Likewise.
75296         (test_exceptions): Handle FE_OVERFLOW.
75297         (exp10_test): Expect overflow exceptions.
75298         (exp2_test): Likewise.
75299         (expm1_test): Likewise.
75300         (nextafter_test): Likewise.
75301         (pow_test): Likewise.
75302         (scalbn_test): Likewise.
75303         (scalbln_test): Likewise.
75305 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75307         * sysdeps/x86_64/bits/atomic.h
75308         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75309         64bit integer.
75310         (atomic_exchange_acq): Likewise.
75311         (__arch_exchange_and_add_body): Likewise.
75312         (__arch_add_body): Likewise.
75313         (atomic_add_negative): Likewise.
75314         (atomic_add_zero): Likewise.
75316 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75318         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75319         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75321 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75323         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75324         Check __x86_64__ instead of __WORDSIZE.
75326 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75328         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75330 2012-03-19  David S. Miller  <davem@davemloft.net>
75332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75334         * sysdeps/sparc/fpu/fenv_private.h: New file.
75335         * sysdeps/sparc/fpu/math_private.h: Use it.
75336         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75337         Remove.
75338         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75339         (libc_feholdexcept_setroundl): Remove.
75340         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75341         Remove.
75342         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75343         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75345 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75347         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75348         int64_t instead of long int.
75349         (INSERT_WORDS64): Likewise.
75351 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75353         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75354         _Unwind_GetCFA return to _Unwind_Ptr first.
75356 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
75358         [BZ #13629]
75359         * math/s_clog.c: Include <float.h>.
75360         (__clog): Scale large or subnormal inputs.
75361         * math/s_clogf.c: Likewise.
75362         * math/s_clogl.c: Likewise.
75363         * math/s_clog10.c: Include <float.h>.
75364         (M_LOG10_2): Define.
75365         (__clog10): Scale large or subnormal inputs.
75366         * math/s_clog10f.c: Likewise.
75367         * math/s_clog10l.c: Likewise.
75368         * math/libm-test.inc (clog_test): Add more tests.
75369         (clog10_test): Likewise.
75370         * sysdeps/i386/fpu/libm-test-ulps: Update.
75371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75373         [BZ #11451]
75374         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75375         x and y.
75376         * math/libm-test.inc (atan2_test): Add another test.
75378         * Makerules (common-objdir-compile): Remove.
75379         * sysdeps/unix/Makefile (config-generated): Do not add
75380         $(unix-generated) to variable.
75381         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75382         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75383         Remove rule.
75384         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75385         Likewise.
75386         [generic bits/local_lim.h] (before-compile): Do not append to
75387         variable.
75388         [generic bits/local_lim.h] (common-generated): Likewise.
75389         [generic sys/param.h] (before-compile): Do not append to variable.
75390         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75391         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75392         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75393         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75394         include.
75395         [generic sys/param.h] (sys/param.h-includes): Remove variable.
75396         [generic sys/param.h] (sys/param.h-includes): Remove rule.
75397         [generic sys/param.h] ($(addprefix
75398         $(common-objpfx),$(sys/param.h-includes))): Likewise.
75399         [generic sys/param.h] (common-generated): Do not append to
75400         variable.
75401         [generic sys/param.h] (sysdep_headers): Likewise.
75402         [generic bits/errno.h] (before-compile): Do not append to
75403         variable.
75404         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75405         rule.
75406         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75407         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75408         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75409         [generic bits/errno.h] (common-generated): Do not append to
75410         variable.
75411         [generic bits/ioctls.h] (before-compile): Do not append to
75412         variable.
75413         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75414         rule.
75415         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75416         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75417         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75418         rule.
75419         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75420         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75421         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75422         [generic bits/ioctls.h] (common-generated): Do not append to
75423         variable.
75424         [generic sys/syscall.h] (syscall.h): Remove variable.
75425         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75426         rule.
75427         [generic sys/syscall.h] (before-compile): Do not append to
75428         variable.
75429         [generic sys/syscall.h] (common-generated): Likewise.
75430         * sysdeps/unix/errnos-tmpl.c: Remove file.
75431         * sysdeps/unix/errnos.awk: Likewise.
75432         * sysdeps/unix/ioctls-tmpl.c: Likewise.
75433         * sysdeps/unix/ioctls.awk: Likewise.
75434         * sysdeps/unix/mk-local_lim.c: Likewise.
75435         * sysdeps/unix/snarf-ioctls: Likewise.
75437 2012-03-19  Richard Henderson  <rth@twiddle.net>
75439         * sysdeps/i386/fpu/fenv_private.h: New file.
75440         * sysdeps/i386/fpu/math_private.h: Use it.
75441         (math_opt_barrier, math_force_eval): Remove.
75442         (libc_feholdexcept_setround_53bit): Remove.
75443         (libc_feupdateenv_53bit): Remove.
75444         * sysdeps/x86_64/fpu/math_private.h: Likewise.
75445         (math_opt_barrier, math_force_eval): Remove.
75446         (libc_feholdexcept): Remove.
75447         (libc_feholdexcept_setround): Remove.
75448         (libc_fetestexcept, libc_fesetenv): Remove.
75449         (libc_feupdateenv_test): Remove.
75450         (libc_feupdateenv, libc_feholdsetround): Remove.
75451         (libc_feresetround): Remove.
75453         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75454         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75456         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75457         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75458         (libc_feupdateenv_testl): New.
75459         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75460         (libc_feupdateenv_testf): New.
75461         (libc_feupdateenv): Use libc_feupdateenv_test.
75462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75463         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75465         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75466         (libc_feholdsetroundf, libc_feholdsetroundl): New.
75467         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75468         (libc_feresetround_noex): New.
75469         (libc_feresetround_noexf): New.
75470         (libc_feresetround_noexl): New.
75471         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75472         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75473         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75474         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75475         SET_RESTORE_ROUND.
75476         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75477         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75478         (__cos): Likewise.
75479         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75480         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75481         SET_RESTORE_ROUND_NOEX.
75482         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75483         SET_RESTORE_ROUND_NOEXF.
75484         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75485         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75486         (libc_feholdsetroundf): New.
75487         (libc_feresetround, libc_feresetroundf): New.
75489         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75490         (libc_feholdexcept_setround_53bit): Convert from macro to function.
75491         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
75493         * sysdeps/generic/math_private.h: Include <fenv.h>.
75494         (default_libc_feholdexcept): New.
75495         (default_libc_feholdexcept_setround): New.
75496         (default_libc_fesetenv, default_libc_feupdateenv): New.
75497         (libc_feholdexcept): Only define if undefined.
75498         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75499         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75500         (libc_feholdexcept_setroundl): Likewise.
75501         (libc_feholdexcept_setround_53bit): Likewise.
75502         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75503         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75504         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75505         (libc_feupdateenv_53bit): Likewise.
75506         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75507         (libc_feholdexcept): Convert from macro to inline function.
75508         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75509         (libc_fesetenv, libc_feupdateenv): Likewise.
75511         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75512         not previously defined.
75513         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75514         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75515         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75516         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75517         * sysdeps/ieee754/flt-32/math_private.h: New file.
75518         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75519         math_private.h below SET_FLOAT_WORD.
75520         (__isnan, __isinf_ns, __finite): Remove.
75521         (__isnanf, __isinf_nsf, __finitef): Remove.
75523 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
75525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75527 2012-03-17  David S. Miller  <davem@davemloft.net>
75529         [BZ #6471]
75530         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75531         for 2.16.
75533 2012-03-16  David S. Miller  <davem@davemloft.net>
75535         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75536         warnings.
75538         [BZ #6471]
75539         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75540         properly.
75541         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
75542         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
75543         sysdep_routines when subdir is sysvipc.
75544         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
75545         __getshmlba helper.
75547         * sysdeps/sparc/fpu/libm-test/ulps: Update.
75549 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75551         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
75552         [__LP64__].
75554 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75556         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
75557         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
75558         (__lround): Renamed to ...
75559         (__llround): This.  Replace long int with long long int.
75560         Define lround functions as aliases of llround functions.
75561         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
75563 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75565         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
75566         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
75567         adresses to uintptr_t.  Replace "long int" and "unsigned long
75568         int" with "greg_t" on va_arg.
75570 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75572         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
75573         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
75575         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
75576         Move e_machine check before EI_CLASS check.  Handle x32
75577         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
75578         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75579         SKIP_EM_IA_64 and include
75580         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75582         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75583         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75584         (add_system_dir): New macro.
75586         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75587         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75589 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75591         [BZ #2551]
75592         [BZ #2552]
75593         [BZ #2553]
75594         [BZ #2554]
75595         [BZ #2562]
75596         [BZ #2563]
75597         [BZ #2565]
75598         [BZ #2566]
75599         [BZ #2576]
75600         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75601         (y0): Likewise.
75602         * math/w_j0f.c (j0f): Likewise.
75603         (y0f): Likewise.
75604         * math/w_j0l.c (__j0l): Likewise.
75605         (__y0l): Likewise.
75606         * math/w_j1.c (j1): Likewise.
75607         (y1): Likewise.
75608         * math/w_j1f.c (j1f): Likewise.
75609         (y1f): Likewise.
75610         * math/w_j1l.c (__j1l): Likewise.
75611         (__y1l): Likewise.
75612         * math/w_jn.c (jn): Likewise.
75613         (yn): Likewise.
75614         * math/w_jnf.c (jnf): Likewise.
75615         (ynf): Likewise.
75616         * math/w_jnl.c (__jnl): Likewise.
75617         (__ynl): Likewise.
75618         * math/libm-test.inc (j0_test): Add more tests.
75619         (j1_test): Likewise.
75620         (jn_test): Likewise.  Add trailing semicolon to existing test.
75621         (y0_test): Likewise.
75622         (y1_test): Likewise.
75623         * sysdeps/i386/fpu/libm-test-ulps: Update.
75624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75626         [BZ #13851]
75627         [BZ #13854]
75628         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75629         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75630         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75631         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75632         (__tanl): Set errno for infinite argument.
75633         * sysdeps/i386/fpu/mptan.c: Remove.
75634         * sysdeps/i386/fpu/s_tan.S: Likewise.
75635         * sysdeps/i386/fpu/s_tanl.S: Likewise.
75636         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75637         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75638         * math/libm-test.inc (tan_test): Add more tests and enable more
75639         tests for double and long double.
75640         * sysdeps/i386/fpu/libm-test-ulps: Update.
75641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75643 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
75645         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75646         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75648 2012-03-16  Roland McGrath  <roland@hack.frob.com>
75650         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75651         * configure.in: Use it for both main tree and add-ons.
75652         * configure: Regenerated.
75654 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75656         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75658 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75660         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75661         in comment.
75663         [BZ #13851]
75664         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75665         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75666         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75667         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75668         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75669         infinite argument.
75670         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75671         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75672         != 0 for prec == 2.
75673         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75674         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75675         * sysdeps/i386/fpu/s_cosl.S: Likewise.
75676         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75677         * sysdeps/i386/fpu/s_sinl.S: Likewise.
75678         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75679         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75680         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75681         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75682         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75683         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75684         * math/libm-test.inc (cos_test): Add more tests and enable more
75685         tests for long double.
75686         (sin_test): Likewise.
75687         (sincos_test): Likewise.
75688         * sysdeps/i386/fpu/libm-test-ulps: Update.
75689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75691 2012-03-16  David S. Miller  <davem@davemloft.net>
75693         * sysdeps/sparc/fpu/math_private.h: New file.
75695 2012-03-15  David S. Miller  <davem@davemloft.net>
75697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75698         file.
75699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75701         file.
75702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75703         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75704         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75706         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75707         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75708         sysdep routines.
75709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75711         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75712         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75714         * sysdeps/sparc/sparc-ifunc.h: New file.
75715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75716         sparc-ifunc.h
75717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75719         Likewise.
75720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75721         Likewise.
75722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75726         Likewise.
75727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75732         Likewise.
75733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75734         Likewise.
75735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75739         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75740         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75741         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75742         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75749         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75750         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75751         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75752         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75753         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75754         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75755         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75756         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75757         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75758         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75760 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75762         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75763         scaling.
75764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75766 2012-03-15  Andreas Jaeger  <aj@suse.de>
75768         [BZ #13852]
75769         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75770         ieee754/flt-32 implementation for sin, cos and sincos.
75771         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75772         * sysdeps/i386/fpu/s_cosf.S: Likewise.
75773         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75774         * sysdeps/i386/fpu/s_sinf.S: Likewise.
75775         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75776         ieee754/flt-32 implementation for tan.
75778         * math/libm-test.inc (cos_test): Enable some large input tests for
75779         float as well
75780         (sin_test): Likewise.
75781         (sincos_test): Likewise.
75782         (tan_test): Add tests for large input.
75784         * sysdeps/i386/fpu/libm-test-ulps: Update.
75786 2012-03-15  Andreas Jaeger  <aj@suse.de>
75788         [BZ #13658]
75789         * math/libm-test.inc (cos_test): Add more test cases.
75790         (sin_test): Likewise.
75791         (sincos_test): Likewise.
75793 2012-03-15  Andreas Jaeger  <aj@suse.de>
75795         [BZ #13837]
75796         * math/libm-test.inc (cos_test): Add a test case for large input
75797         value.
75798         (sin_test): Likewise.
75799         (sincos_test): Likewise.
75801 2012-03-15  Andreas Jaeger  <aj@suse.de>
75802             Joseph Myers  <joseph@codesourcery.com>
75804         [BZ #13658]
75805         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75806         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75807         * sysdeps/i386/fpu/branred.c: Likewise.
75808         * sysdeps/i386/fpu/dosincos.c: Likewise.
75809         * sysdeps/i386/fpu/mpa.c: Likewise.
75810         * sysdeps/i386/fpu/s_cos.S: Likewise.
75811         * sysdeps/i386/fpu/s_sin.S: Likewise.
75812         * sysdeps/i386/fpu/s_sincos.S: Likewise.
75813         * sysdeps/i386/fpu/sincos32.c: Likewise.
75815         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75816         Define.
75817         (libc_feupdateenv_53bit): Define.
75818         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75819         Define.
75820         (libc_feupdateenv_53bit): Define.
75822         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75823         53 bit (without extend i386 double precision).
75825         * math/libm-test.inc (sincos_test): Add tests for large input.
75826         (sin): Likewise.
75827         (cos): Likewise.
75829         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75831 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75835 2012-03-15  David S. Miller  <davem@davemloft.net>
75837         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75838         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75839         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75840         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75845         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75847         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75853         file.
75854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75856         file.
75857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75859         file.
75860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75862         file.
75863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75864         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75865         fmin/fmax sysdep routines.
75866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75868 2012-03-14  David S. Miller  <davem@davemloft.net>
75870         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75871         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75872         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75873         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75874         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75875         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75876         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75877         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75878         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75879         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75881         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75882         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75883         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75884         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75885         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75886         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75887         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75888         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75889         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75890         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75891         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75892         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75893         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75894         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75895         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75896         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75897         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75898         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75899         routines.
75900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75901         file.
75902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75904         file.
75905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75907         file.
75908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75910         file.
75911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75913         file.
75914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75916         file.
75917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75918         file.
75919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75920         file.
75921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75922         file.
75923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75924         New file.
75925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75926         file.
75927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75928         file.
75929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75931         file.
75932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75934         file.
75935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75937         file.
75938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75940         VIS3 routines.
75942         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75943         New file.
75945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75947         * sysdeps/sparc/configure.in: New file.
75948         * sysdeps/sparc/configure: Generate.
75949         * configure.in (libc_cv_sparc_as_vis3): Substitute.
75950         * configure: Regenerate.
75951         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75952         * config.make.in (have-as-vis3): New.
75953         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75954         available use -Av9d instead of -Av9a.
75955         * sysdeps/sparc/sparc64/Makefile: Likewise.
75956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75958         New file.
75959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75960         file.
75961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75962         New file.
75963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75964         file.
75965         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75966         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75967         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75968         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75969         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75971         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75972         fzeros/fnegs to load 0x80000000 into a float register instead of
75973         using the stack.
75974         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75976 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75978         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75979         bits/syscall.h.
75980         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75981         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75982         ($(inst_includedir)/bits/syscall.h): Remove rule.
75983         ($(objpfx)bits/syscall.d): Include instead of
75984         $(objpfx)syscall-list.d.
75985         (generated): Change syscall-list.h and syscall-list.d to
75986         bits/syscall.h and bits/syscall.d.
75988 2012-03-14  Roland McGrath  <roland@hack.frob.com>
75990         [BZ #13846]
75991         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75993 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75995         [BZ #13841]
75996         * math/s_csqrt.c: Include <float.h>.
75997         (__csqrt): Scale large or subnormal inputs.
75998         * math/s_csqrtf.c: Likewise.
75999         * math/s_csqrtl.c: Likewise.
76000         * math/libm-test.inc (csqrt_test): Add more tests.
76001         * sysdeps/i386/fpu/libm-test-ulps: Update.
76002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76004         [BZ #13840]
76005         * math/libm-test.inc (hypot_test): Add more tests.
76007 2012-03-13  David S. Miller  <davem@davemloft.net>
76009         [BZ #13840]
76010         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
76011         double-precision for the calculation instead of scaling.
76013 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
76015         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
76016         manipulate bits before adding and subtracting TWO52[sx].
76017         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
76018         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
76019         Likewise.
76020         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
76022 2012-03-13  David S. Miller  <davem@davemloft.net>
76024         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76025         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
76026         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76027         rtld-global-offsets.h
76028         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76030         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76031         large parameters.
76033         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76035         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76036         'err' in the ifdef scope in which it is actually used.
76038         * nss/nss_db/db-init.c: Include string.h
76040 2012-03-12  David S. Miller  <davem@davemloft.net>
76042         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76043         masking out of the most significant byte of random value used.
76044         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76045         Fix coding style in previous change.
76047         * sysdeps/unix/sysv/linux/kernel-features.h
76048         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76049         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76050         expression.
76051         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76052         later.
76054 2012-03-11  David S. Miller  <davem@davemloft.net>
76056         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76057         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76058         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76059         for 'resultvar' otherwise things get truncated on 64-bit.
76061         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76062         Fix masking out of the most significant byte of random value used.
76064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76066 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
76068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76070 2012-03-09  David S. Miller  <davem@davemloft.net>
76072         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76073         variables with appropriate CPP guards.
76074         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76075         from the frame pointer, not the stack pointer.  Correct layout
76076         comments.  Fix test on resulting framesize and the management of
76077         the outregs buffer for pltexit.  Preserve floating point return
76078         values across _dl_call_pltexit call.
76079         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76080         framesize and the management of the outregs buffer for pltexit.
76081         Preserve floating point return values across _dl_call_pltexit
76082         call.
76083         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76084         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76085         (la_sparc64_gnu_pltexit): New functions.
76086         (print_exit): Fix format string for return register value.
76088 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
76090         * sunrpc/Makefile (others): Add rpcgen.
76091         ($(objpfx)rpcgen): Remove special build rule and dependency on
76092         libc.
76093         * sunrpc/rpcgen.c: New file.
76095 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
76097         [BZ #13673]
76098         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76099         * stdio-common/bug-vfprintf-nargs.c: Likewise.
76100         * sysdeps/i386/crti.S: Likewise.
76101         * sysdeps/i386/crtn.S: Likewise.
76102         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76103         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76104         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76105         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76106         * sysdeps/sh/crti.S: Likewise.
76107         * sysdeps/sh/crtn.S: Likewise.
76108         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76110         [BZ #13673]
76111         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76112         with URL.
76113         * locale/programs/locfile-kw.gperf: Likewise.
76114         * locale/programs/charmap-kw.h: Regenerated.
76115         * locale/programs/locfile-kw.h: Likewise.
76117         [BZ #13673]
76118         * intl/plural.y: Replace FSF snail mail address with URL.
76119         * intl/plural.c: Regenerated.
76121 2012-03-09  Richard Henderson  <rth@twiddle.net>
76123         * include/math_private.h: Remove file.
76124         * math/math_private.h: Move file ...
76125         * sysdeps/generic/math_private.h: ... here.
76127         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76128         * sysdeps/powerpc/fpu/math_private.h: Likewise.
76129         * sysdeps/x86_64/fpu/math_private.h: Likewise.
76131         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76132         and <math_private.h>.
76133         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76134         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76135         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76136         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76137         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76138         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76139         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76140         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76141         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76142         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76143         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76144         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76145         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76146         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76147         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76148         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76149         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76150         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76151         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76152         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76153         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76154         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76155         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76156         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76157         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76158         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76159         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76160         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76161         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76162         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76163         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76164         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76165         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76166         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76167         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76168         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76169         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76170         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76171         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76172         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76173         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76174         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76175         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76176         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76177         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76178         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76179         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76180         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76181         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76182         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76183         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76184         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76185         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76186         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76187         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76188         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76189         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76190         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76191         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76192         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76193         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76194         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76195         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76196         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76197         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76198         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76199         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76200         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76201         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76202         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76203         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76204         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76205         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76206         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76207         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76208         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76209         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76210         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76211         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76212         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76213         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76214         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76215         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76216         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76217         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76218         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76219         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76220         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76221         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76222         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76223         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76224         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76225         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76226         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76227         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76228         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76229         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76230         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76231         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76232         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76233         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76234         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76235         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76236         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76237         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76238         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76239         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76240         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76241         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76242         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76243         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76244         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76245         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76246         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76247         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76248         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76249         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76250         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76251         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76252         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76253         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76254         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76255         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76256         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76257         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76258         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76259         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76260         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76261         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76262         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76263         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76264         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76265         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76266         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76267         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76268         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76269         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76270         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76271         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76272         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76273         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76274         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76275         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76276         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76277         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76278         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76279         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76280         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76281         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76282         * sysdeps/ieee754/k_standard.c: Likewise.
76283         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76284         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76285         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76286         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76287         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76288         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76289         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76290         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76291         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76292         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76293         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76294         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76295         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76296         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76297         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76298         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76299         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76300         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76301         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76302         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76303         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76304         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76305         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76306         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76307         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76308         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76309         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76310         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76311         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76312         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76313         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76314         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76315         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76316         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76317         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76318         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76319         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76320         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76321         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76322         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76323         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76324         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76325         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76326         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76327         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76328         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76329         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76330         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76331         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76332         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76333         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76334         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76335         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76336         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76337         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76338         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76339         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76340         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76341         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76342         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76343         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76344         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76345         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76346         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76347         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76348         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76349         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76350         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76351         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76352         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76353         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76354         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76355         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76356         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76357         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76358         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76359         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76360         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76361         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76362         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76363         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76364         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76365         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76366         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76367         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76368         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76369         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76370         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76371         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76372         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76373         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76374         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76375         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76376         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76377         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76378         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76379         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76380         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76381         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76382         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76383         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76384         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76385         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76386         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76387         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76388         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76389         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76390         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76391         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76392         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76393         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76394         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76395         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76396         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76397         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76398         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76399         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76400         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76401         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76402         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76403         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76404         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76405         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76406         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76407         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76408         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76409         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76410         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76411         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76412         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76413         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76414         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76415         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76416         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76417         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76418         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76419         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76420         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76421         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76422         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76423         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76424         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76425         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76426         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76427         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76428         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76429         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76430         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76431         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76432         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76433         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76434         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76435         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76436         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76437         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76438         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76439         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76440         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76441         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76442         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76443         * sysdeps/ieee754/s_lib_version.c: Likewise.
76444         * sysdeps/ieee754/s_matherr.c: Likewise.
76445         * sysdeps/ieee754/s_signgam.c: Likewise.
76446         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76447         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76448         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76449         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76450         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76451         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76452         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76453         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76454         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76455         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76456         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76457         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76458         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76459         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76460         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76461         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76462         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76463         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76464         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76465         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76466         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76468 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
76470         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76471         * sunrpc/rpc_main.c: Likewise.
76472         * sunrpc/rpc_svcout.c: Likewise.
76474 2012-03-09  David S. Miller  <davem@davemloft.net>
76476         * include/math_private.h: New file.
76478 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
76480         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76481         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76482         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76483         from <bits/socket_type.h>.
76484         (enum __socket_type): Don't define here.
76485         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76486         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76487         bits/socket_type.h.
76489         [BZ #13566]
76490         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76491         checking __USE_GNU.
76493         * Makerules ($(inst_includedir)/%.h): New rule.
76494         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76495         (install-others): Remove variable setting.
76496         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76498 2012-03-08  Richard Henderson  <rth@twiddle.net>
76500         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76501         from macro to inline function; merge with the
76502         !__LIBC_INTERNAL_MATH_INLINES version.
76503         (__ieee754_sqrtf): Likewise.
76505         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76506         to inline function.
76507         (__rintf, __floor, __floorf): Likewise.
76509         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76510         macro to inline function.
76511         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76513         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76514         not <math/math_private.h>.
76516 2012-03-08  David S. Miller  <davem@davemloft.net>
76518         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76519         copyright year.
76520         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76522 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
76524         * resolv/gai_misc.c (handle_requests): Fix struct timespec
76525         normalization.
76526         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76527         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76529 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
76531         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
76532         be defined individually, they must be defined as a block.  Define
76533         S for printing a string instead of hidint the different by using a
76534         macro for adding the 'l'.
76535         * stdio-common/tst-fphex-wide.c: Adjust.
76537 2012-03-07  Marek Polacek  <polacek@redhat.com>
76539         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76541 2012-03-08  Marek Polacek  <polacek@redhat.com>
76543         [BZ #13806]
76544         * stdio-common/Makefile (tests): Add tst-fphex-wide.
76545         * stdio-common/tst-fphex.c: Define a few macros to make the
76546         test reusable.  Use them.
76547         * stdio-common/tst-fphex-wide.c: New file.
76549 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
76551         [BZ #6911]
76552         * manual/macros.texi (gnusystems): New macro.
76553         (nongnusystems): Likewise.
76554         (gnulinuxhurdsystems): Likewise.
76555         (gnuhurdsystems): Likewise..
76556         (gnulinuxsystems): Likewise.
76557         * manual/charset.texi: Use new macros or @theglibc{} to refer to
76558         variants of the GNU system, not "GNU system".
76559         * manual/conf.texi: Likewise.
76560         * manual/errno.texi: Likewise.  Update example of errno macro
76561         expansion.
76562         * manual/filesys.texi: Likewise.
76563         (getumask): Document as specific to GNU/Hurd.
76564         * manual/install.texi: Likewise.  Reword some references to
76565         GNU/Linux.
76566         * manual/intro.texi: Likewise.
76567         * manual/io.texi: Likewise.
76568         (File Name Portability): Detail which constraints are inapplicable
76569         to all GNU systems and which are only inapplicable to GNU/Hurd.
76570         * manual/job.texi: Likewise.
76571         * manual/llio.texi: Likewise.
76572         (O_NOCTTY): Document as present on GNU/Linux.
76573         * manual/maint.texi: Likewise.
76574         * manual/memory.texi: Likewise.
76575         * manual/pattern.texi: Likewise.
76576         * manual/pipe.texi: Likewise.
76577         * manual/process.texi: Likewise.
76578         * manual/resource.texi: Likewise.
76579         (RUSAGE_CHILDREN): Remove statement about specifying a particular
76580         child on GNU/Hurd.
76581         * manual/setjmp.texi: Likewise.
76582         * manual/signal.texi: Likewise.
76583         * manual/startup.texi: Likewise.
76584         * manual/stdio.texi: Likewise.
76585         * manual/terminal.texi: Likewise.
76586         (ONLCR): Document as POSIX.
76587         (OXTABS): Document availability on GNU/Linux as XTABS.
76588         (ONOEOT): Document availability separately from other bits.
76589         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76590         * manual/time.texi: Likewise.
76591         * manual/users.texi: Likewise.
76592         * INSTALL: Regenerated.
76593         * sysdeps/gnu/errlist.c: Regenerated.
76595         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76596         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76597         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
76598         puts.
76599         * configure: Regenerated.
76601 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
76603         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76604         default includes instead of AC_HEADER_CHECK.
76605         * sysdeps/i386/configure: Regenerated.
76607         [BZ #10716]
76608         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76609         * math/s_cacoshf.c (__cacoshf): Likewise.
76610         * math/s_cacoshl.c (__cacoshl): Likewise.
76611         * math/s_casinh.c (__casinh): Set signs of result from argument.
76612         * math/s_casinhf.c (__casinhf): Likewise.
76613         * math/s_casinhl.c (__casinhl): Likewise.
76614         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76615         (casinh_test): Add more tests.
76616         * sysdeps/i386/fpu/libm-test-ulps: Update.
76617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76619 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
76621         * po/zh_TW.po: Update from translation team.
76623         * login/Makefile (distribute): Remove variable.
76624         * catgets/Makefile: Likewise.
76625         * mach/Makefile: Likewise.
76626         * malloc/Makefile: Likewise.
76627         * misc/Makefile: Likewise.
76628         * iconv/Makefile: Likewise.
76629         * nscd/Makefile: Likewise.
76630         * hurd/Makefile: Likewise.
76631         * manual/Makefile: Likewise.
76632         * locale/Makefile: Likewise.
76633         * intl/Makefile: Likewise.
76634         * conform/Makefile: Likewise.
76635         * nss/Makefile: Likewise.
76636         * time/Makefile: Likewise.
76637         * soft-fp/Makefile: Likewise.
76638         * dirent/Makefile: Likewise.
76639         * gmon/Makefile: Likewise.
76640         * po/Makefile: Likewise.
76641         * rt/Makefile: Likewise.
76642         * socket/Makefile: Likewise.
76643         * math/Makefile: Likewise.
76644         * signal/Makefile: Likewise.
76645         * debug/Makefile: Likewise.
76646         * elf/Makefile: Likewise.
76647         * timezone/Makefile: Likewise.
76648         * stdlib/Makefile: Likewise.
76649         * iconvdata/Makefile: Likewise.
76650         * sunrpc/Makefile: Likewise.
76651         * io/Makefile: Likewise.
76652         * argp/Makefile: Likewise.
76653         * inet/Makefile: Likewise.
76654         * hesiod/Makefile: Likewise.
76655         * grp/Makefile: Likewise.
76656         * csu/Makefile: Likewise.
76657         * wctype/Makefile: Likewise.
76658         * crypt/Makefile: Likewise.
76659         * libio/Makefile: Likewise.
76660         * string/Makefile: Likewise.
76661         * nis/Makefile: Likewise.
76662         * resolv/Makefile: Likewise.
76663         * stdio-common/Makefile: Likewise.
76664         * wcsmbs/Makefile: Likewise.
76665         * dlfcn/Makefile: Likewise.
76666         * posix/Makefile: Likewise.
76668         [BZ #6959]
76669         * timezone/Makefile: Don't install timezone files, just the programs
76670         and scripts.
76672 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
76674         * nss/databases.def: Add missing gshadow entry.
76676         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
76678 2012-03-06  Marek Polacek  <polacek@redhat.com>
76680         [BZ #13726]
76681         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76682         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76683         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76684         * stdio-common/tst-long-dbl-fphex.c: New file.
76686 2012-03-06  David S. Miller  <davem@davemloft.net>
76688         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76689         (set_obp_int): New function.
76690         (get_obp_int): New function.
76691         (__get_clockfreq_via_dev_openprom): Likewise.
76692         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76693         Avoid unused variable warnings on 'val' and use builtin_expect.
76694         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76695         __builtin_expect.
76696         (INLINE_CLONE_SYSCALL): Likewise.
76698 2012-03-05  David S. Miller  <davem@davemloft.net>
76700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76702 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
76704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76706         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76707         only for |x| >= 40.
76708         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76710 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
76712         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76713         Replace gettimeofday with __vdso_gettimeofday.
76715         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76716         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76717         __vdso_clock_gettime and __vdso_getcpu.
76719         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76720         time with __vdso_time.
76722 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76724         * manual/lang.texi (size_t): Note types to which size_t may be
76725         equivalent with the GNU C Library, but do not describe when
76726         differences between them are significant.
76728 2012-03-05  Andreas Jaeger  <aj@suse.de>
76730         * sysdeps/i386/fpu/libm-test-ulps: Update.
76732 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76734         [BZ #3976]
76735         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76736         (__ieee754_pow): Save and restore rounding mode and use
76737         round-to-nearest for main computations.
76738         * math/libm-test.inc (pow_test_tonearest): New function.
76739         (pow_test_towardzero): Likewise.
76740         (pow_test_downward): Likewise.
76741         (pow_test_upward): Likewise.
76742         (main): Call the new functions.
76743         * sysdeps/i386/fpu/libm-test-ulps: Update.
76744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76746         [BZ #3976]
76747         * math/libm-test.inc (cosh_test_tonearest): New function.
76748         (cosh_test_towardzero): Likewise.
76749         (cosh_test_downward): Likewise.
76750         (cosh_test_upward): Likewise.
76751         (sinh_test_tonearest): Likewise.
76752         (sinh_test_towardzero): Likewise.
76753         (sinh_test_downward): Likewise.
76754         (sinh_test_upward): Likewise.
76755         (main): Call the new functions.
76756         * sysdeps/i386/fpu/libm-test-ulps: Update.
76757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76759 2012-03-05  Tom de Vries  <tom@codesourcery.com>
76761         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76762         default stack guard is set in last bytes.
76763         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76765 2012-03-05  Kees Cook  <keescook@chromium.org>
76767         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76769         [BZ #13656]
76770         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76771         possibly allocate from heap instead of stack.
76772         * stdio-common/bug-vfprintf-nargs.c: New file.
76773         * stdio-common/Makefile (tests): Add nargs overflow test.
76775 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
76777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76779 2012-03-03  Marek Polacek  <polacek@redhat.com>
76781         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76782         * math/math_private.h: Likewise.
76783         * stdlib/tst-strtod.c: Likewise.
76784         * sysdeps/i386/i486/bits/atomic.h: Likewise.
76785         * sysdeps/x86_64/bits/atomic.h: Likewise.
76787 2012-03-02  David S. Miller  <davem@davemloft.net>
76789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76793         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76794         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76795         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76796         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76798 2012-03-02  Roland McGrath  <roland@hack.frob.com>
76800         [BZ #13792]
76801         * manual/examples/README: New file, says the example source files
76802         can be used under GPL>=2.
76803         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76804         line containing just "*/".
76805         * manual/examples/add.c: Add copyright header (GPL>=2).
76806         * manual/examples/argp-ex1.c: Likewise.
76807         * manual/examples/argp-ex2.c: Likewise.
76808         * manual/examples/argp-ex3.c: Likewise.
76809         * manual/examples/argp-ex4.c: Likewise.
76810         * manual/examples/atexit.c: Likewise.
76811         * manual/examples/db.c: Likewise.
76812         * manual/examples/dir.c: Likewise.
76813         * manual/examples/dir2.c: Likewise.
76814         * manual/examples/execinfo.c: Likewise.
76815         * manual/examples/filecli.c: Likewise.
76816         * manual/examples/filesrv.c: Likewise.
76817         * manual/examples/fmtmsgexpl.c: Likewise.
76818         * manual/examples/genpass.c: Likewise.
76819         * manual/examples/inetcli.c: Likewise.
76820         * manual/examples/inetsrv.c: Likewise.
76821         * manual/examples/isockad.c: Likewise.
76822         * manual/examples/longopt.c: Likewise.
76823         * manual/examples/memopen.c: Likewise.
76824         * manual/examples/memstrm.c: Likewise.
76825         * manual/examples/mkfsock.c: Likewise.
76826         * manual/examples/mkisock.c: Likewise.
76827         * manual/examples/mygetpass.c: Likewise.
76828         * manual/examples/pipe.c: Likewise.
76829         * manual/examples/popen.c: Likewise.
76830         * manual/examples/rprintf.c: Likewise.
76831         * manual/examples/search.c: Likewise.
76832         * manual/examples/select.c: Likewise.
76833         * manual/examples/setjmp.c: Likewise.
76834         * manual/examples/sigh1.c: Likewise.
76835         * manual/examples/sigusr.c: Likewise.
76836         * manual/examples/stpcpy.c: Likewise.
76837         * manual/examples/strdupa.c: Likewise.
76838         * manual/examples/strftim.c: Likewise.
76839         * manual/examples/strncat.c: Likewise.
76840         * manual/examples/subopt.c: Likewise.
76841         * manual/examples/swapcontext.c: Likewise.
76842         * manual/examples/termios.c: Likewise.
76843         * manual/examples/testopt.c: Likewise.
76844         * manual/examples/testpass.c: Likewise.
76845         * manual/examples/timeval_subtract.c: Likewise.
76847         [BZ #13792]
76848         * manual/time.texi (Elapsed Time): Move timeval_subtract example
76849         function to ...
76850         * manual/timeval_subtract.c.texi: ... here, new file.
76852 2012-03-02  David S. Miller  <davem@davemloft.net>
76854         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76856 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
76858         [BZ #3976]
76859         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76860         (__sin): Save and restore rounding mode and use round-to-nearest
76861         for all computations.
76862         (__cos): Save and restore rounding mode and use round-to-nearest
76863         for all computations.
76864         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76865         <fenv.h>.
76866         (tan): Save and restore rounding mode and use round-to-nearest for
76867         all computations.
76868         * math/libm-test.inc (cos_test_tonearest): New function.
76869         (cos_test_towardzero): Likewise.
76870         (cos_test_downward): Likewise.
76871         (cos_test_upward): Likewise.
76872         (sin_test_tonearest): Likewise.
76873         (sin_test_towardzero): Likewise.
76874         (sin_test_downward): Likewise.
76875         (sin_test_upward): Likewise.
76876         (tan_test_tonearest): Likewise.
76877         (tan_test_towardzero): Likewise.
76878         (tan_test_downward): Likewise.
76879         (tan_test_upward): Likewise.
76880         (main): Call the new functions.
76881         * sysdeps/i386/fpu/libm-test-ulps: Update.
76882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76884         [BZ #10135]
76885         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76886         small n, then large n, before computing and testing k+n.
76887         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76888         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76889         Likewise.
76890         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76891         Likewise.
76892         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76893         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76894         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76895         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76896         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76897         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76898         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76899         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76900         * math/libm-test.inc (scalbn_test): Add more tests.
76901         (scalbln_test): Likewise.
76903         * manual/filesys.texi (mode_t): Describe constraints on size and
76904         signedness, not exact equivalence to a particular type.
76905         (ino_t): Likewise.
76906         (ino64_t): Likewise.
76907         (dev_t): Likewise.
76908         (nlink_t): Likewise.
76909         (blkcnt_t): Likewise.
76910         (blkcnt64_t): Likewise.
76911         * manual/llio.texi (off_t): Likewise.
76913         [BZ #3976]
76914         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76915         (__ieee754_exp): Save and restore rounding mode and use
76916         round-to-nearest for all computations.
76917         * math/libm-test.inc (exp_test_tonearest): New function.
76918         (exp_test_towardzero): Likewise.
76919         (exp_test_downward): Likewise.
76920         (exp_test_upward): Likewise.
76921         (main): Call the new functions.
76922         * sysdeps/i386/fpu/libm-test-ulps: Update.
76923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76925 2012-03-01  Chris Demetriou  <cgd@google.com>
76927         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76928         have predictable order.
76930 2012-03-01  David S. Miller  <davem@davemloft.net>
76932         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76934         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76935         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76936         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76937         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76939         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76940         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76941         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76943         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76944         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76945         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76946         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76947         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76951         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76952         * sysdeps/sparc/fpu/libm-test-ulps: to here.
76953         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76955         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76956         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76957         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76958         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76959         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76960         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76961         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76962         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76963         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76964         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76965         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76966         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76967         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76968         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76969         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76970         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76971         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76972         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76973         * sysdeps/sparc/elf/configure: Regenerated.
76975 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
76977         * configure.in (AS, LD): Require binutils 2.20 or later.
76978         * configure: Regenerated.
76979         * manual/install.texi (Tools for Compilation): Give binutils 2.20
76980         as required minimum version.
76981         * INSTALL: Regenerated.
76983         [BZ #2541]
76984         [BZ #4108]
76985         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76986         before squaring exponent.
76987         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76988         bottom long double and 27 bits of top long double before squaring
76989         exponent.
76990         * math/libm-test.inc (erfc_test): Add more tests.
76991         * sysdeps/i386/fpu/libm-test-ulps: Update.
76992         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76995 2012-03-01  Kai Tietz  <ktietz@redhat.com>
76997         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76998         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76999         containing bit-fields.
77000         * soft-fp/extended.h (_FP_UNION_E): Likewise.
77001         * soft-fp/single.h (_FP_UNION_S): Likewise.
77002         * soft-fp/double.h (_FP_UNION_D): Likewise.
77004 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
77006         [BZ #13786]
77007         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
77008         not include ../strcmp.S.
77009         [USE_AS_STRNCASECMP_L]: Likewise.
77010         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
77011         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
77012         * sysdeps/i386/i686/multiarch/strncase_l-c.c
77013         (__strncasecmp_l_ia32): Define as alias to
77014         __strncasecmp_l_nonascii.
77016         [BZ #5794]
77017         * math/libm-test.inc (expm1_test): Add test for bug 5794.
77018         * sysdeps/i386/fpu/libm-test-ulps: Update.
77019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77021         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
77022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77024 2012-02-29  Jeff Law  <law@redhat.com>
77026         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77027         out of bounds read.
77029 2012-02-29  Marek Polacek  <polacek@redhat.com>
77031         [BZ #13706]
77032         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77033         * elf/Makefile: Add rules to run tst-unused-dep.out.
77035 2012-02-28  David S. Miller  <davem@davemloft.net>
77037         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77038         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77039         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77040         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77041         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77042         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77044 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
77046         * math/libm-test.inc (llround_test): Move one test from
77047         lround_test.  Use TEST_f_L in moved test.
77048         (lround_test): Move misplaced test to llround_test.  Add testcase
77049         from bug 2561.
77051 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
77053         * sysdeps/x86_64/fpu/e_expf.S: New file.
77054         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77056 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
77058         [BZ #13637]
77059         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77060         of remain_len that may cause incomplete multi-byte character and
77061         false match.
77062         * posix/bug-regex33.c: New file.
77063         * posix/Makefile (tests): Add bug-regex33.
77065 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
77067         * manual/macros.texi: New file.
77068         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77069         * manual/libc.texinfo: Include macros.texi.
77070         * manual/creatute.texi: Likewise.
77071         * manual/install.texi: Likewise.
77072         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77073         @glibcadj{} in references to the GNU C Library.
77074         * manual/charset.texi: Likewise.
77075         * manual/conf.texi: Likewise.
77076         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
77077         when not using those macros.
77078         * manual/creature.texi: Likewise.
77079         * manual/crypt.texi: Likewise.
77080         * manual/errno.texi: Likewise.
77081         * manual/filesys.texi: Likewise.
77082         * manual/header.texi: Likewise.
77083         * manual/install.texi: Likewise.
77084         * manual/intro.texi: Likewise.
77085         * manual/io.texi: Likewise.
77086         * manual/job.texi: Likewise.
77087         * manual/lang.texi: Likewise.
77088         * manual/libc.texiinfo: Likewise.
77089         * manual/llio.texi: Likewise.
77090         * manual/locale.texi: Likewise.
77091         * manual/maint.texi: Likewise.
77092         * manual/math.texi: Likewise.
77093         * manual/memory.texi: Likewise.
77094         * manual/message.texi: Likewise.
77095         * manual/nss.texi: Likewise.
77096         * manual/pattern.texi: Likewise.
77097         * manual/process.texi: Likewise.
77098         * manual/resource.texi: Likewise.
77099         * manual/search.texi: Likewise.
77100         * manual/setjmp.texi: Likewise.
77101         * manual/signal.texi: Likewise.
77102         * manual/socket.texi: Likewise.
77103         * manual/startup.texi: Likewise.
77104         * manual/stdio.texi: Likewise.
77105         * manual/string.texi: Likewise.
77106         * manual/sysinfo.texi: Likewise.
77107         * manual/syslog.texi: Likewise.
77108         * manual/terminal.texi: Likewise.
77109         * manual/time.texi: Likewise.
77110         * manual/users.texi: Likewise.
77111         * INSTALL: Regenerated.
77112         * NOTES: Regenerated.
77113         * sysdeps/gnu/errlist.c: Regenerated.
77115 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
77117         * include/dirent.h: Include <dirstream.h> before
77118         <dirent/dirent.h>.
77120 2012-02-28  David S. Miller  <davem@davemloft.net>
77122         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77123         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77124         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77125         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77127 2012-02-27  David S. Miller  <davem@davemloft.net>
77129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77131         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77132         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77135         frame pointer instead of stack pointer relative arg slot.
77136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77137         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77138         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77140 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
77142         [BZ #3992]
77143         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77145 2012-02-27  David S. Miller  <davem@davemloft.net>
77147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77151         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77152         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77153         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77154         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77156 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77158         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77159         later.  Allow versions 5-9.
77160         * configure: Regenerated.
77161         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77162         required minimum version and 4.6 as recommended version.  Do not
77163         mention bugs in GCC 2.7 and 2.8.
77164         * INSTALL: Regenerated.
77166 2012-02-27  David S. Miller  <davem@davemloft.net>
77168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77172         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77173         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77174         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77175         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77177         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77178         manipulate bits before adding and subtracting TWO112[sx].
77179         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77181 2012-02-27  Roland McGrath  <roland@hack.frob.com>
77183         [BZ #13775]
77184         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77185         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77186         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77187         being in POSIX, because they are in 1003.1-2008.
77189         * rt/tst-aio.c: Include <fcntl.h>.
77190         * rt/tst-aio7.c: Likewise.
77191         * rt/tst-aio64.c: Likewise.
77193         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77195 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77197         * manual/install.texi (--with-headers): Describe headers as
77198         interface headers, not private headers.
77199         (Specific advice for GNU/Linux systems): Describe use of headers
77200         from "make headers_install", not private headers from older
77201         kernels.
77202         * INSTALL: Regenerated.
77203         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77204         Change to 2.6.19.
77205         * sysdeps/unix/sysv/linux/configure: Regenerated.
77207         * manual/llio.texi (fclean): Remove documentation.
77209         * manual/Makefile (libc-texi-generated): New variable.  Include
77210         version.texi.
77211         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77212         $(libc-texi-generated), not duplicated list of files.
77213         (version.texi, stamp-version): New rules.
77214         (realclean): Remove $(libc-texi-generated), not individual files
77215         from that list.  Do not remove dir-add.texinfo.
77216         * manual/libc.texinfo: Comment out uses of edition numbers and
77217         references to printed manual.  Remove last-updated dates.
77218         (EDITION): Comment out.
77219         (ISBN): Likewise.
77220         (VERSION, UPDATED): Remove.
77221         (version.texi): Include.
77223 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
77225         * sysdeps/posix/spawni.c: Include <signal.h>.
77226         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77227         * sysdeps/pthread/aio_fsync.c: Likewise.
77229 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
77231         * conform/Makefile (tests): Run only when not cross-compiling and
77232         when fast-check is not defined.
77234         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77235         * conform/data/limits.h-data: Fixes for POSIX2008.
77236         * conform/run-conformtest.sh: Run all tests.
77237         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77238         headers.
77239         * include/bits/dlfcn.h: Likewise.
77240         * include/langinfo.h: Likewise.
77241         * include/monetary.h: Likewise.
77242         * include/sys/poll.h: Likewise.
77244         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77245         for __USE_GNU.
77246         * posix/spawn.h: Define __need_sigset_t.
77247         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77248         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77249         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
77250         to get sigevent_t only.
77251         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77252         only for __USE_GNU.
77253         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77254         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77255         process_vm_writev only for __USE_GNU.
77256         * termios/termios.h: Declare tcgetsid also for POSIX2008.
77258         * conform/Makefile: For now ignore errors from run-conformtest.
77259         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
77260         POSIX to avoid namespace pollution.  Don't prepend headers.
77261         * conform/data/aio.h-data: Fixes for POSIX testing.
77262         * conform/data/fcntl.h-data: Likewise.
77263         * conform/data/glob.h-data: Likewise.
77264         * conform/data/grp.h-data: Likewise.
77265         * conform/data/pthread.h-data: Likewise.
77266         * conform/data/pwd.h-data: Likewise.
77267         * conform/data/signal.h-data: Likewise.
77268         * conform/data/spawn.h-data: Likewise.
77269         * conform/data/stdio.h-data: Likewise.
77270         * conform/data/stdlib.h-data: Likewise.
77271         * conform/data/stropts.h-data: Likewise.
77272         * conform/data/sys/mman.h-data: Likewise.
77273         * conform/data/sys/stat.h-data: Likewise.
77274         * conform/data/sys/types.h-data: Likewise.
77275         * conform/data/sys/wait.h-data: Likewise.
77276         * conform/data/time.h-data: Likewise.
77277         * conform/data/unistd.h-data: Likewise.
77278         * conform/data/utime.h-data: Likewise.
77280         * io/sys/stat.h: fchmod was always in POSIX.
77281         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77282         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77283         * rt/aio.h: Define __need_timespec before including <time.h>.
77284         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77285         struct.  Add forward declaration of pthread_attr_t and use it in
77286         sigevent.
77287         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77288         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77289         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77290         always remove CLK_TCK definition.
77292 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
77294         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77296 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
77298         * conform/run-conformtest.sh: New file.
77299         * conform/Makefile: Run run-conformtest for tests.
77300         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
77301         support.
77303         * conform/data/uchar.h-data: New file.
77304         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77305         * conform/data/arpa/inet.h-data: Likewise.
77306         * conform/data/assert.h-data: Likewise.
77307         * conform/data/complex.h-data: Likewise.
77308         * conform/data/cpio.h-data: Likewise.
77309         * conform/data/ctype.h-data: Likewise.
77310         * conform/data/dirent.h-data: Likewise.
77311         * conform/data/dlfcn.h-data: Likewise.
77312         * conform/data/errno.h-data: Likewise.
77313         * conform/data/fcntl.h-data: Likewise.
77314         * conform/data/float.h-data: Likewise.
77315         * conform/data/fmtmsg.h-data: Likewise.
77316         * conform/data/fnmatch.h-data: Likewise.
77317         * conform/data/ftw.h-data: Likewise.
77318         * conform/data/glob.h-data: Likewise.
77319         * conform/data/grp.h-data: Likewise.
77320         * conform/data/iconv.h-data: Likewise.
77321         * conform/data/inttypes.h-data: Likewise.
77322         * conform/data/langinfo.h-data: Likewise.
77323         * conform/data/libgen.h-data: Likewise.
77324         * conform/data/limits.h-data: Likewise.
77325         * conform/data/locale.h-data: Likewise.
77326         * conform/data/math.h-data: Likewise.
77327         * conform/data/monetary.h-data: Likewise.
77328         * conform/data/mqueue.h-data: Likewise.
77329         * conform/data/ndbm.h-data: Likewise.
77330         * conform/data/net/if.h-data: Likewise.
77331         * conform/data/netdb.h-data: Likewise.
77332         * conform/data/netinet/in.h-data: Likewise.
77333         * conform/data/nl_types.h-data: Likewise.
77334         * conform/data/poll.h-data: Likewise.
77335         * conform/data/pthread.h-data: Likewise.
77336         * conform/data/pwd.h-data: Likewise.
77337         * conform/data/regex.h-data: Likewise.
77338         * conform/data/sched.h-data: Likewise.
77339         * conform/data/search.h-data: Likewise.
77340         * conform/data/semaphore.h-data: Likewise.
77341         * conform/data/setjmp.h-data: Likewise.
77342         * conform/data/signal.h-data: Likewise.
77343         * conform/data/spawn.h-data: Likewise.
77344         * conform/data/stdarg.h-data: Likewise.
77345         * conform/data/stdio.h-data: Likewise.
77346         * conform/data/stdlib.h-data: Likewise.
77347         * conform/data/string.h-data: Likewise.
77348         * conform/data/strings.h-data: Likewise.
77349         * conform/data/stropts.h-data: Likewise.
77350         * conform/data/sys/ipc.h-data: Likewise.
77351         * conform/data/sys/mman.h-data: Likewise.
77352         * conform/data/sys/msg.h-data: Likewise.
77353         * conform/data/sys/resource.h-data: Likewise.
77354         * conform/data/sys/select.h-data: Likewise.
77355         * conform/data/sys/sem.h-data: Likewise.
77356         * conform/data/sys/shm.h-data: Likewise.
77357         * conform/data/sys/socket.h-data: Likewise.
77358         * conform/data/sys/stat.h-data: Likewise.
77359         * conform/data/sys/statvfs.h-data: Likewise.
77360         * conform/data/sys/time.h-data: Likewise.
77361         * conform/data/sys/timeb.h-data: Likewise.
77362         * conform/data/sys/times.h-data: Likewise.
77363         * conform/data/sys/types.h-data: Likewise.
77364         * conform/data/sys/uio.h-data: Likewise.
77365         * conform/data/sys/un.h-data: Likewise.
77366         * conform/data/sys/utsname.h-data: Likewise.
77367         * conform/data/sys/wait.h-data: Likewise.
77368         * conform/data/syslog.h-data: Likewise.
77369         * conform/data/tar.h-data: Likewise.
77370         * conform/data/termios.h-data: Likewise.
77371         * conform/data/utime.h-data: Likewise.
77372         * conform/data/utmpx.h-data: Likewise.
77373         * conform/data/varargs.h-data: Likewise.
77374         * conform/data/wchar.h-data: Likewise.
77375         * conform/data/wctype.h-data: Likewise.
77376         * conform/data/wordexp.h-data: Likewise.
77378         * include/stropts.h: New file.
77379         * include/uchar.h: New file.
77380         * include/aio.h: Changes to allow conformtest.pl to use the headers.
77381         * include/assert.h: Likewise.
77382         * include/ctype.h: Likewise.
77383         * include/dirent.h: Likewise.
77384         * include/dlfcn.h: Likewise.
77385         * include/fcntl.h: Likewise.
77386         * include/fnmatch.h: Likewise.
77387         * include/glob.h: Likewise.
77388         * include/grp.h: Likewise.
77389         * include/libio.h: Likewise.
77390         * include/locale.h: Likewise.
77391         * include/math.h: Likewise.
77392         * include/net/if.h: Likewise.
77393         * include/netdb.h: Likewise.
77394         * include/netinet/in.h: Likewise.
77395         * include/pthread.h: Likewise.
77396         * include/pwd.h: Likewise.
77397         * include/regex.h: Likewise.
77398         * include/sched.h: Likewise.
77399         * include/search.h: Likewise.
77400         * include/setjmp.h: Likewise.
77401         * include/signal.h: Likewise.
77402         * include/stdio.h: Likewise.
77403         * include/stdlib.h: Likewise.
77404         * include/string.h: Likewise.
77405         * include/sys/cdefs.h: Likewise.
77406         * include/sys/mman.h: Likewise.
77407         * include/sys/msg.h: Likewise.
77408         * include/sys/resource.h: Likewise.
77409         * include/sys/select.h: Likewise.
77410         * include/sys/socket.h: Likewise.
77411         * include/sys/stat.h: Likewise.
77412         * include/sys/statvfs.h: Likewise.
77413         * include/sys/time.h: Likewise.
77414         * include/sys/times.h: Likewise.
77415         * include/sys/uio.h: Likewise.
77416         * include/sys/utsname.h: Likewise.
77417         * include/sys/wait.h: Likewise.
77418         * include/termios.h: Likewise.
77419         * include/time.h: Likewise.
77420         * include/ulimit.h: Likewise.
77421         * include/unistd.h: Likewise.
77422         * include/utime.h: Likewise.
77423         * include/wchar.h: Likewise.
77424         * include/wctype.h: Likewise.
77425         * include/wordexp.h: Likewise.
77427         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77429         * time/time.h: TIME_UTC must be a macro.
77430         Make timespec_get available for ISO C11 only as well.
77432 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
77434         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77435         Reported by Peng Haitao <penght@cn.fujitsu.com>.
77437 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77439         * configure.in: Use -o not -a in test for unsupported multi-arch.
77441 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77443         * manual/texinfo.tex: Update to version 2012-01-19.16.
77445 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77447         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77449 2012-02-24  Roland McGrath  <roland@hack.frob.com>
77451         [BZ #13738]
77452         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77453         * manual/fdl-1.3.texi: New file.
77454         * manual/fdl-1.1.texi: File removed.
77456         [BZ #13738]
77457         * manual/libc.texinfo (FDL_VERSION): New @set.
77458         Use it for mention of FDL in cover text.
77459         (Documentation License): Use it in @include file name.
77461 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77462             Roland McGrath  <roland@hack.frob.com>
77464         [BZ #5461]
77465         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77466         (not LONG_LONG_MAX and LONG_LONG_MIN.
77467         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77468         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
77469         name.
77470         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77472 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77474         [BZ #2547]
77475         [BZ #11365]
77476         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77477         manipulate bits before adding and subtracting TWO23[sx].
77478         * math/libm-test.inc (nearbyint_test): Add more tests.
77480 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77482         [BZ #2548]
77483         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77484         bits before adding and subtracting TWO23[sx].
77485         * math/libm-test.inc (rint_test): Add more tests.
77486         (rint_test_tonearest): Likewise.
77487         (rint_test_towardzero): Likewise.
77488         (rint_test_downward): Likewise.
77489         (rint_test_upward: Likewise.
77491 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77493         [BZ #10110]
77494         * include/stdc-predef.h: New file.  Extracted from features.h.
77495         * include/features.h: Include stdc-predef.h.
77496         * Makefile (headers): Add stdc-predef.h.
77497         * CONFORMANCE (Compiler limitations): Update.
77499 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77501         * manual/libc.texinfo (VERSION, UPDATED): Revert.
77503 2012-02-21  David S. Miller  <davem@davemloft.net>
77505         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77506         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77508 2012-02-20  David S. Miller  <davem@davemloft.net>
77510         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77511         using a normal save/restore sequence, rather than allocating a
77512         dummy stack frame just to store a frame pointer and restore.
77513         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77515 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77517         * manual/install.texi: Fix stray word in line-wrapped comment.
77519 2012-02-20  David S. Miller  <davem@davemloft.net>
77521         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77522         both binutils and gcc support GOTDATA.
77524         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77525         "rd %pc" in the PIC register setup sequences.
77527         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77528         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77529         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77530         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77531         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77532         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77533         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77534         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77535         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77536         (SYSCALL_ERROR_HANDLER): Likewise.
77537         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77538         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77539         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77540         (SYSCALL_ERROR_HANDLER): Likewise.
77542         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
77543         (HAVE_GCC_GOTDATA): New.
77544         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
77545         relocation support in both binutils and gcc.
77546         * sysdeps/sparc/elf/configure: Regenerate.
77548         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
77549         * sysdeps/sparc/sparc32/elf/configure: Delete.
77550         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
77551         * sysdeps/sparc/sparc64/elf/configure: Delete.
77552         * sysdeps/sparc/elf/configure.in: New file.
77553         * sysdeps/sparc/elf/configure: Generate.
77555         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
77556         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
77557         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77558         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
77559         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
77561 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77563         * manual/install.texi: Do not mention specific glibc version
77564         numbers.
77565         * manual/libc.texinfo (VERSION, UPDATED): Update.
77566         (@copying): Use @copyright{} and range of years.
77568 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77570         [BZ #13695]
77571         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
77572         [crti.S not in sysdirs] (generated): Do not append.
77573         [crti.S not in sysdirs] (omit-deps): Likewise.
77574         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
77575         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
77576         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
77577         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
77578         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77579         Likewise.
77580         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77581         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77582         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77583         * csu/defs.awk: Remove file.
77584         * sysdeps/generic/initfini.c: Likewise.
77585         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77586         variable.
77587         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77588         Likewise.
77590 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77592         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77593         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77594         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77595         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77596         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77597         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77598         <bits/epoll.h>.
77599         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77600         (__EPOLL_PACKED): Define to empty if not defined by
77601         <bits/epoll.h>.
77602         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77603         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77604         bits/epoll.h.
77606 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77608         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77609         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77610         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77611         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77612         <bits/timerfd.h>.
77613         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77614         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77615         bits/timerfd.h.
77617 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77619         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77620         in C locale.
77621         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77622         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77623         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77626 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
77628         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77629         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77631 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
77633         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77634         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77635         defined.
77636         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77637         Likewise.
77638         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77639         entry for 2.16.
77641 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
77643         * math/w_acos.c: Use non-signaling floating-point comparisons.
77644         * math/w_acosf.c: Likewise.
77645         * math/w_acosh.c: Likewise.
77646         * math/w_acoshf.c: Likewise.
77647         * math/w_acoshl.c: Likewise.
77648         * math/w_acosl.c: Likewise.
77649         * math/w_asin.c: Likewise.
77650         * math/w_asinf.c: Likewise.
77651         * math/w_asinl.c: Likewise.
77652         * math/w_atanh.c: Likewise.
77653         * math/w_atanhf.c: Likewise.
77654         * math/w_atanhl.c: Likewise.
77655         * math/w_exp2.c: Likewise.
77656         * math/w_exp2f.c: Likewise.
77657         * math/w_exp2l.c: Likewise.
77658         * math/w_j0.c: Likewise.
77659         * math/w_j0f.c: Likewise.
77660         * math/w_j0l.c: Likewise.
77661         * math/w_j1.c: Likewise.
77662         * math/w_j1f.c: Likewise.
77663         * math/w_j1l.c: Likewise.
77664         * math/w_jn.c: Likewise.
77665         * math/w_jnf.c: Likewise.
77666         * math/w_log.c: Likewise.
77667         * math/w_log10.c: Likewise.
77668         * math/w_log10f.c: Likewise.
77669         * math/w_log10l.c: Likewise.
77670         * math/w_log2.c: Likewise.
77671         * math/w_log2f.c: Likewise.
77672         * math/w_log2l.c: Likewise.
77673         * math/w_logf.c: Likewise.
77674         * math/w_logl.c: Likewise.
77675         * math/w_sqrt.c: Likewise.
77676         * math/w_sqrtf.c: Likewise.
77677         * math/w_sqrtl.c: Likewise.
77678         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77679         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77680         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77681         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77682         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77684 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77686         [BZ #9739]
77687         * manual/string.texi (strnlen): Use correct parameter name in
77688         equivalent expression.
77690 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77692         [BZ #11174]
77693         * manual/users.texi (seteuid): Consistently use neweuid for
77694         argument name.
77696 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77698         [BZ #13704]
77699         * manual/nss.texi (Services in the NSS configuration): Correct
77700         list of services in example configuration file.
77702 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
77704         [BZ #11322]
77705         * manual/arith.texi: Remove statements about negative zero
77706         behaving identically to zero.
77708 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77710         [BZ #5993]
77711         * manual/install.texi: Do not document upgrading from libc5.
77713 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77715         [BZ #4596]
77716         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77718 2012-02-18  David S. Miller  <davem@davemloft.net>
77720         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77721         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77722         %o7 across the call.
77723         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77724         instead.
77725         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77726         SETUP_PIC_REG_LEAF.
77727         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77728         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77729         * sysdeps/sparc/crtn.S: Likewise.
77731 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
77733         * aout/Makefile: Remove.
77735 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
77737         [BZ #13058]
77738         * manual/examples/argp-ex1.c (main): Format definition in GNU
77739         style.
77740         * manual/examples/argp-ex2.c (main): Likewise.
77741         * manual/examples/argp-ex3.c (main): Likewise.
77742         * manual/examples/argp-ex4.c (main): Likewise.
77743         * manual/examples/longopt.c (main): Use new-style prototype
77744         definition.
77745         * manual/examples/strncat.c (main): Specify return type and use
77746         (void) for arguments.
77747         * manual/examples/subopt.c (main): Use char **argv argument.
77749 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77751         [BZ #5077]
77752         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77753         rounding modes.
77755 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
77757         [BZ #6907]
77758         * manual/string.texi (strchr): Change when strchrnul is
77759         recommended.
77761 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
77763         [BZ #174]
77764         * manual/locale.texi (setlocale): Document LOCPATH.
77766 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77768         [BZ #10210]
77769         * manual/process.texi (execle): Move @dots{} before last argument.
77771 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
77773         [BZ #12047]
77774         * manual/charset.texi (Generic Charset Conversion): Fix typo
77775         (LC_TYPE -> LC_CTYPE).
77777 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
77779         [BZ #5805]
77780         * manual/arith.texi (scalbn): Use @var{} on parameter names.
77781         (scalbnf): Likewise.
77782         (scalbnl): Likewise.
77783         (scalbln): Likewise.
77784         (scalblnf): Likewise.
77785         (scalblnl): Likewise.
77786         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77787         (vwarnx): Likewise.
77788         (verr): Likewise.
77789         (verrx): Likewise.
77790         * manual/filesys.texi (telldir): Use braces around return type.
77791         * manual/llio.texi (mmap): Add space after comma.
77792         (mmap64): Likewise.
77793         * manual/math.texi (jn): Use @var{} on parameter names.
77794         (jnf): Likewise.
77795         (jnl): Likewise.
77796         (yn): Likewise.
77797         (ynf): Likewise.
77798         (ynl): Likewise.
77799         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77800         line.
77801         * manual/resource.texi (ulimit): Use @dots{} instead of literal
77802         "...".
77803         (sched_get_priority_min): Remove semicolon on @deftypefun line.
77804         (sched_get_priority_max): Likewise.
77805         * manual/signal.texi (sigvec): Add space after comma.
77806         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77807         names.
77808         (if_indextoname): Likewise.
77809         (if_freenameindex): Likewise.
77810         (sendto): Use ',' instead of '.' in prototype.
77811         * manual/startup.texi (syscall): Use @dots{} instead of literal
77812         "...".
77813         * manual/stdio.texi (__fpending): Separate initial words of
77814         paragraph from @deftypefun line.
77815         * manual/syslog.texi (syslog): Use @dots{} instead of literal
77816         "...".
77817         (vsyslog): Use @var{} on parameter names.
77818         * manual/terminal.texi (stty): Use @var{} on parameter names.
77819         * manual/users.texi (getutmp): Use @var{} on parameter names.
77820         (getutmpx): Likewise.
77822 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77824         [BZ #6884]
77825         * manual/stdio.texi (fopen): Fix typos in description of
77826         ",ccs=STRING".
77828 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
77830         [BZ #4026]
77831         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77832         get clock_id definition.
77834 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
77836         [BZ #4822]
77837         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77838         (madvise): Cast every argument to void on its own.
77840 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77842         [BZ #9902]
77843         * manual/startup.texi (Exit Status): Fix typo.
77845 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77847         [BZ #10140]
77848         * manual/examples/argp-ex1.c: Include <stdlib.h>.
77849         * manual/examples/argp-ex2.c: Likewise.
77850         * manual/examples/argp-ex3.c: Likewise.
77852 2012-02-16  Richard Henderson  <rth@redhat.com>
77854         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77855         * sysdeps/s390/s390-32/initfini.c: Remove.
77856         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77857         * sysdeps/s390/s390-64/initfini.c: Remove.
77859 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77861         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77862         compiler output for sysdeps/generic/initfini.c.
77863         * sysdeps/sh/elf/initfini.c: Remove file.
77865 2012-02-16  David S. Miller  <davem@davemloft.net>
77867         [BZ #11494]
77868         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77870         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77871         * sysdeps/sparc/crti.S: New file.
77872         * sysdeps/sparc/crtn.S: New file.
77873         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77874         * sysdeps/sparc/sparc64/Makefile: Likewise.
77876 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
77878         [BZ #3335]
77879         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77881 2012-02-15  Roland McGrath  <roland@hack.frob.com>
77883         [BZ #4822]
77884         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77886         * mach/devstream.c (cookie_io_functions_t): Macro removed.
77887         (write, read, close): Likewise.
77888         Patch by Aurelien Jarno <aurelien@aurel32.net>.
77890 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
77892         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77893         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77894         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77895         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77896         <bits/signalfd.h>.
77897         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77898         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77899         bits/signalfd.h.
77901 2012-02-14  Marek Polacek  <polacek@redhat.com>
77903         * sysdeps/x86_64/crti.S: New file.
77904         * sysdeps/x86_64/crtn.S: New file.
77905         * sysdeps/x86_64/elf/initfini.c: Remove file.
77907 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77909         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77910         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77911         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77912         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77913         <bits/inotify.h>.
77914         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77915         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77916         bits/inotify.h.
77918 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77920         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77921         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77922         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77923         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77924         <bits/eventfd.h>.
77925         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77926         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77927         bits/eventfd.h.
77929 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
77931         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77932         __feraiseexcept instead of feraiseexcept.
77934         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77935         nanosleep invocations.
77936         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77937         strings, and add error checking for a nanosleep invocations.
77939 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
77941         Replace FSF snail mail address with URLs, as per GNU coding standards.
77942         Most of the snail mail addresses were wrong anyway, and omitting
77943         them makes the source code easier to maintain.  Almost all of the
77944         changes are to license notices and to locale LC_IDENTIFICATION
77945         addresses, except for this one:
77946         * manual/libc.texinfo: In "Published by", give the FSF's URL,
77947         not its snail mail address.
77949 2012-02-09  Richard Henderson  <rth@twiddle.net>
77951         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77952         of kernel-features.h.
77954         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77956 2012-02-08  Marek Polacek  <polacek@redhat.com>
77958         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77959         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77960         * sysdeps/gnu/_G_config.h: Likewise.
77961         * sysdeps/generic/_G_config.h: Likewise.
77963 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
77965         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77966         tests.
77967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77969         * sysdeps/powerpc/powerpc32/crti.S: New file.
77970         * sysdeps/powerpc/powerpc32/crtn.S: New file.
77971         * sysdeps/powerpc/powerpc64/crti.S: New file.
77972         * sysdeps/powerpc/powerpc64/crtn.S: New file.
77974         * Makeconfig (have-initfini): Don't set.
77975         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77976         * configure.in (nopic_initfini): Don't substitute.
77977         * config.h.in (HAVE_INITFINI): Don't #undef.
77978         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77979         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77981 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
77983         Support crti.S and crtn.S provided directly by architectures.
77984         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77985         [crti.S in sysdirs] (omit-deps): Likewise.
77986         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77987         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77988         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77989         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77990         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77991         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77992         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77993         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77994         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77995         compiler output for sysdeps/generic/initfini.c.
77996         * sysdeps/i386/elf/Makefile: Remove file.
77997         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77999 2012-02-07  Marek Polacek  <polacek@redhat.com>
78001         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
78002         * sysdeps/gnu/_G_config.h: Likewise.
78003         * sysdeps/mach/hurd/_G_config.h: Likewise.
78005 2012-02-07  Marek Polacek  <polacek@redhat.com>
78007         * math/Makefile (tests): Add tst-CMPLX2.
78008         * math/tst-CMPLX2.c: New file.
78010 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
78012         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78014         * math/libm-test.inc (jn_test): Add missing L suffix.
78016 2012-02-06  Marek Polacek  <polacek@redhat.com>
78018         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
78019         * sysdeps/i386/fpu/e_powf.S: Likewise.
78020         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78021         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78022         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78023         * sysdeps/i386/fpu/e_pow.S: Likewise.
78024         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78025         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78026         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78027         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78028         * sysdeps/i386/fpu/e_log2.S: Likewise.
78029         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78030         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78031         * sysdeps/i386/fpu/e_powl.S: Likewise.
78032         * sysdeps/i386/fpu/s_log1p.S: Likewise.
78033         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78034         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78035         * sysdeps/i386/fpu/e_logl.S: Likewise.
78036         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78037         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78038         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78039         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78040         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78041         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78042         * sysdeps/i386/fpu/e_log.S: Likewise.
78043         * sysdeps/i386/fpu/s_cexp.S: Likewise.
78044         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78045         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78046         * sysdeps/i386/fpu/e_logf.S: Likewise.
78047         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78048         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78049         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78050         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78051         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78052         * sysdeps/i386/fpu/e_log10.S: Likewise.
78053         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78054         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78055         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78056         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78057         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78058         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78059         * sysdeps/i386/asm-syntax.h: Likewise.
78060         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78061         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78062         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78063         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78064         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78065         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78066         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78067         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78068         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78069         * sysdeps/powerpc/sysdep.h: Likewise.
78070         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78071         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78073 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
78075         [BZ #411]
78076         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78078 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
78080         * sysdeps/i386/sysdep.h: Include <features.h>.
78081         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78082         version.
78084 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
78086         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78087         Define.
78088         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78089         LOAD_PIC_REG_STR.
78091 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78093         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78094         (SETUP_PIC_REG): Use GET_PC_THUNK.
78095         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78096         macro.
78098 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78100         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78101         for non-PIC compilation.
78102         (SETUP_PIC_REG): Add .p2align directive.
78103         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78104         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78105         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78106         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78107         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78108         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78109         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78110         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78111         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78112         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78113         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78114         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78115         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78116         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78117         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78118         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78119         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78120         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78121         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78122         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78123         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78124         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78125         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78126         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78127         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78128         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78129         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78130         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78131         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78132         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78133         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78134         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78135         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78136         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78137         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78138         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78139         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78140         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78141         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78142         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78143         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78145 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78147         * math/tst-CMPLX.c: Include <stdio.h>.
78149 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
78151         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78152         float.
78153         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78154         * sysdeps/sparc/bits/mathdef.h: Likewise.
78156 2012-01-31  Marek Polacek  <polacek@redhat.com>
78158         * libio/libio.h: Don't define _PARAMS.
78159         * locale/programs/config.h: Don't define PARAMS.
78160         * stdlib/strtol_l.c: Likewise.
78161         (__strtol_l): Remove PARAMS from the prototype.
78163 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
78165         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
78166         names.  Just use the correct names.  Remove unnecessary wrapper
78167         functions.
78168         * malloc/arena.c: Likewise.
78169         * malloc/hooks.c: Likewise.
78171         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78172         ARENA_TEST says not to.  Simplify test for creation of a new arena.
78173         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78175 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
78177         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78178         into tail calls.
78179         (update_get_addr): New function.
78180         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78181         GET_ADDR_MODULE parameter.
78183 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78185         * crypt/cert.c: Remove __STDC__ conditionals.
78186         * crypt/crypt-entry.c: Likewise.
78187         * crypt/crypt_util.c: Likewise.
78188         * libio/filedoalloc.c: Likewise.
78189         * libio/fileops.c: Likewise.
78190         * libio/genops.c: Likewise.
78191         * libio/iofclose.c: Likewise.
78192         * libio/iofdopen.c: Likewise.
78193         * libio/iofopen.c: Likewise.
78194         * libio/iofopen64.c: Likewise.
78195         * libio/iogetdelim.c: Likewise.
78196         * libio/iopopen.c: Likewise.
78197         * libio/obprintf.c: Likewise.
78198         * libio/oldfileops.c: Likewise.
78199         * libio/oldiofclose.c: Likewise.
78200         * libio/oldiofdopen.c: Likewise.
78201         * libio/oldiofopen.c: Likewise.
78202         * libio/oldiopopen.c: Likewise.
78203         * libio/wfiledoalloc.c: Likewise.
78204         * libio/wgenops.c: Likewise.
78205         * locale/programs/xmalloc.c: Likewise.
78206         * misc/syslog.c: Likewise.
78207         * stdio-common/xbug.c: Likewise.
78208         * string/memchr.c: Likewise.
78209         * string/memcmp.c: Likewise.
78210         * string/memrchr.c: Likewise.
78211         * string/rawmemchr.c: Likewise.
78212         * sysdeps/posix/getcwd.c: Likewise.
78213         * time/strftime_l.c: Likewise.
78215 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78217         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78218         * config.make.in (config-cflags-sse2avx): Define.
78219         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78220         Fix typo.
78222 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
78224         * scripts/config.guess: Update from upstream config git repository.
78225         * scripts/config.sub: Likewise.
78227 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
78229         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78230         (EM_NUM): Update.
78231         (R_TILEPRO_*, R_TILEGX_*): New macros.
78233         * scripts/firstversions.awk: Fix bug in version range handling.
78235         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78237         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78239         * include/sys/epoll.h: New file.
78240         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78241         libc_hidden_def.
78243 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
78245         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78246         Avoid unnecessary __WORDSIZE == 64 test.
78247         (fmaxf): Use VEX format if possible.
78248         (fmax): Likewise.
78249         (fminf): Likewise.
78250         (fmin): Likewise.
78252         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78253         * math/math_private.h: Remove libc_fegetround* and
78254         libc_fesetround*.
78255         * sysdeps/i386/configure.in: Check for -msse2avx.
78256         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78257         also if SSE2AVX is defined.
78258         Remove libc_fegetround* and libc_fesetround*.
78259         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78260         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
78261         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78262         of HAS_YMM_USABLE.
78263         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78264         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78265         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78266         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78267         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78269         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78271 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78273         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78274         size is not set.
78275         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78277 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
78279         [BZ #13618]
78280         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78281         relocation.
78282         * Makeconfig (libm): Define.
78283         * elf/Makefile: Add rules to build and run tst-relsort1.
78284         * elf/tst-relsort1.c: New file.
78285         * elf/tst-relsort1mod1.c: New file.
78286         * elf/tst-relsort1mod2.c: New file.
78288 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
78290         * math/s_ldexp.c: Remove __STDC__ conditionals.
78291         * math/s_ldexpf.c: Likewise.
78292         * math/s_ldexpl.c: Likewise.
78293         * math/s_nextafter.c: Likewise.
78294         * math/s_nexttowardf.c: Likewise.
78295         * math/s_significand.c: Likewise.
78296         * math/s_significandf.c: Likewise.
78297         * math/s_significandl.c: Likewise.
78298         * math/w_jnl.c: Likewise.
78299         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78300         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78301         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78302         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78303         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78304         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78305         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78306         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78307         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78308         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78309         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78310         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78311         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78312         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78313         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78314         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78315         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78316         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78317         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78318         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78319         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78320         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78321         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78322         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78323         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78324         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78325         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78326         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78327         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78328         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78329         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78330         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78331         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78332         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78333         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78334         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78335         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78336         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78337         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78338         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78339         * sysdeps/ieee754/k_standard.c: Likewise.
78340         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78341         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78342         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78343         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78344         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78345         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78346         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78347         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78348         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78349         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78350         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78351         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78352         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78353         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78354         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78355         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78356         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78357         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78358         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78359         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78360         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78361         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78362         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78363         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78364         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78365         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78366         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78367         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78368         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78369         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78370         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78371         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78372         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78373         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78374         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78375         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78376         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78377         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78378         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78379         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78380         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78381         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78382         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78383         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78384         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78385         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78386         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78387         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78388         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78389         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78390         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78391         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78392         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78393         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78394         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78395         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78396         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78397         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78398         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78399         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78400         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78401         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78402         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78403         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78404         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78405         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78406         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78407         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78408         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78409         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78410         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78411         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78412         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78413         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78414         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78415         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78416         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78417         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78418         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78419         * sysdeps/ieee754/s_matherr.c: Likewise.
78420         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78421         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78422         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78423         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78425 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78427         * crypt/md5.h: Remove __STDC__ conditionals.
78428         * libio/libioP.h: Likewise.
78429         * locale/programs/config.h: Likewise.
78430         * sysdeps/generic/sysdep.h: Likewise.
78431         * sysdeps/i386/asm-syntax.h: Likewise.
78432         * sysdeps/s390/asm-syntax.h: Likewise.
78433         * sysdeps/unix/sysdep.h: Likewise.
78434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78437 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78439         * libio/libio.h: Remove __STDC__ conditionals.
78440         * malloc/obstack.h: Likewise.
78441         * math/complex.h: Likewise.
78442         * math/math.h: Likewise.
78443         * sysdeps/generic/_G_config.h: Likewise.
78444         * sysdeps/gnu/_G_config.h: Likewise.
78445         * sysdeps/mach/hurd/_G_config.h: Likewise.
78446         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78447         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78448         * sysdeps/sparc/bits/mathdef.h: Likewise.
78450 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
78452         [BZ #13583]
78453         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78454         Clean up HAS_* macros.
78455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78456         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78457         possible.
78458         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78459         HAS_AVX.
78460         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78461         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78462         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78463         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78464         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78466 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
78468         * elf/tst-unique3.cc (gets): Remove declaration.
78469         * elf/tst-unique3lib.cc (gets): Likewise.
78470         * elf/tst-unique3lib2.cc (gets): Likewise.
78471         * elf/tst-unique4.cc (gets): Likewise.
78473 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
78475         * include/stdio.h: Add C++ protection.  Add gets declarations and
78476         definitions.
78477         * debug/tst-chk1.c: Don't declare gets here.
78478         * stdio-common/tst-gets.c: Likewise.
78480 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
78482         * posix/glob: Remove directory.
78484 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
78486         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78488 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
78490         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78491         of the non-standard EPFNOSUPPORT.
78493 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78495         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78496         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78497         ANYWHERE set to 1 only on KERN_NO_SPACE error.
78499 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
78501         * wcsmbs/uchar.h: Test __STDC_VERSION__.
78503 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
78505         * nscd/aicache.c (addhstaiX): Do not cache negative results of
78506         transient errors.
78507         * nscd/grpcache.c (cache_addgr): Likewise.
78508         * nscd/hstcache.c (cache_addhst): Likewise.
78509         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78510         * nscd/pwdcache.c (cache_addpw): Likewise.
78511         * nscd/servicescache.c (cache_addserv): Likewise.
78513 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
78515         * malloc/malloc.c: Various cleanups.
78516         * malloc/hooks.c: Likewise.
78518         * stdlib/Makefile (tests): Add bug-fmtmsg1.
78519         * stdlib/bug-fmtmsg1.c: New file.
78521         * stdlib/fmtmsg.c (init): Add missing unlock.
78522         Patch by Peng Haitao <penght@cn.fujitsu.com>.
78524 2012-01-12  Marek Polacek  <polacek@redhat.com>
78526         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78527         and _GNU_SOURCE.
78529 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78531         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78532         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78533         macro to ensure uniqueness of label name.
78534         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78535         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78537 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
78539         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78541         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
78542         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78543         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78544         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
78546 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
78548         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
78550         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
78551         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78552         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78554         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
78556         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
78557         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78558         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78559         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
78561         * math/bits/math-finite.h: Add ldexp support.
78563 2012-01-10  Marek Polacek  <polacek@redhat.com>
78565         * locale/programs/localedef.h (show_archive_content): Add noreturn
78566         attribute.
78568 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
78570         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
78572 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78574         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
78576         * io/Makefile (headers): Add bits/poll2.h.
78578 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
78580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78581         typo #include statement.
78583 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78585         * include/sys/cdefs.h: Define __attribute_alloc_size.
78586         * catgets/gencat.c: Add alloc_size attribute and apply consistently
78587         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78588         * elf/pldd.c: Likewise.
78589         * iconv/iconv_charmap.c: Likewise.
78590         * iconv/iconvconfig.c: Likewise.
78591         * iconv/strtab.c: Likewise.
78592         * locale/programs/locale.c: Likewise.
78593         * locale/programs/localedef.h: Likewise.
78594         * locale/programs/simple-hash.c: Likewise.
78595         * nscd/nscd.h: Likewise.
78596         * nss/makedb.c: Likewise.
78597         * sysdeps/generic/ldconfig.h: Likewise.
78598         * locale/programs/localedef.c: Remove xmalloc prototype.
78599         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78601 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78603         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78604         appropriate.
78606 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78608         * math/Makefile (tests): Add tst-CMPLX.
78609         * math/tst-CMPLX.c: New file.
78611         * math/complex.h (CMPLXL): Fix typo.
78613         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78614         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78615         GLIBC_2.16.
78616         * debug/tst-chk1.c: Add poll and ppoll tests.
78617         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78618         * include/sys/poll.h: Add hidden proto for ppoll.
78619         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78620         * sysdeps/mach/hurd/ppoll.c: Likewise.
78621         * io/ppoll.c: Likewise.
78622         * debug/poll_chk.c: New file.
78623         * debug/ppoll_chk.c: New file.
78624         * include/bits/poll2.h: New file.
78625         * io/bits/poll2.h: New file.
78627         [BZ #1350]
78628         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78630         * configure.in: static is always set to yes.  Remove.
78631         * config.make.in: Don't set build-static.
78632         * Makeconfig: Remove use of build-static.
78633         * dlfcn/Makefile: Likewise.
78634         * elf/Makefile: Likewise.
78635         * math/Makefile: Likewise.
78636         * misc/Makefile: Likewise.
78637         * nptl/Makefile: Likewise.
78638         * sysdeps/mach/hurd/Makefile: Likewise.
78640         * configure.in: PWD_P is not used anymore.
78641         * config.make.in: Remove PWD_P entry.
78643         * configure.in: Remove last remnants of RANLIB.
78644         No need to check for signed size_t anymore.
78645         Don't set libc_commonpagesize and libc_relro_required here for Alpha
78646         and IA-64.
78647         Remove __builtin_expect test because we require at least gcc 3.4.
78648         * aclocal.m4: Likewise.
78650         * wcsmbs/mbrtoc16.c: Implement using towc function.
78651         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78652         * wcsmbs/wcsmbsload.c: Likewise.
78653         * iconv/gconv_simple.c: Likewise.
78654         * iconv/gconv_int.h: Likewise.
78655         * iconv/gconv_builtin.h: Likewise.
78656         * iconv/iconv_prog.c: Remove CHAR16 handling.
78658         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78660         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78662         * configure.in: Remove --with-elf and --enable-bounded options.
78663         Dont set base_machine for ia64.  More non-ELF conditions removed.
78664         Remove testing and setting of leading underscore information.
78665         * config.make.in (build-bounded): Set to no.
78666         * config.h.in: Remove NO_UNDERSCORES entry.
78667         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
78668         them.
78669         * csu/start.c: Remove !NO_UNDERSCORE code.
78670         * locale/localeinfo.h: Likewise.
78671         * sysdeps/generic/machine-gmon.h: Likewise.
78672         * sysdeps/generic/sysdep.h: Likewise.
78673         * sysdeps/i386/sysdep.h: Likewise.
78674         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78675         * sysdeps/mach/sysdep.h: Likewise.
78676         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78677         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78678         * sysdeps/sh/sysdep.h: Likewise.
78679         * sysdeps/sparc/sparc32/alloca.S: Likewise.
78680         * sysdeps/unix/i386/sysdep.S: Likewise.
78681         * sysdeps/unix/sparc/start.c: Likewise.
78682         * sysdeps/unix/sparc/sysdep.S: Likewise.
78683         * sysdeps/unix/sparc/sysdep.h: Likewise.
78684         * sysdeps/unix/start.c: Likewise.
78685         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78686         * sysdeps/x86_64/sysdep.h: Likewise.
78688 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
78690         [BZ #13553]
78691         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78692         for non-gcc.
78693         * argp/argp-fmtstream.h: Use const instead __const.
78694         * argp/argp.h: Likewise.
78695         * assert/assert.h: Likewise.
78696         * bits/fenv.h: Likewise.
78697         * bits/sched.h: Likewise.
78698         * bits/sigset.h: Likewise.
78699         * bits/sigthread.h: Likewise.
78700         * catgets/nl_types.h: Likewise.
78701         * conform/data/pthread.h-data: Likewise.
78702         * crypt/crypt-private.h: Likewise.
78703         * crypt/crypt.h: Likewise.
78704         * crypt/crypt_util.c: Likewise.
78705         * ctype/ctype.h: Likewise.
78706         * debug/execinfo.h: Likewise.
78707         * debug/mbsnrtowcs_chk.c: Likewise.
78708         * debug/mbsrtowcs_chk.c: Likewise.
78709         * debug/wcsnrtombs_chk.c: Likewise.
78710         * debug/wcsrtombs_chk.c: Likewise.
78711         * debug/wcstombs_chk.c: Likewise.
78712         * dirent/dirent.h: Likewise.
78713         * dlfcn/dlfcn.h: Likewise.
78714         * elf/neededtest4.c: Likewise.
78715         * grp/grp.h: Likewise.
78716         * gshadow/gshadow.h: Likewise.
78717         * iconv/gconv.h: Likewise.
78718         * iconv/gconv_int.h: Likewise.
78719         * iconv/gconv_simple.c: Likewise.
78720         * iconv/iconv.h: Likewise.
78721         * iconv/loop.c: Likewise.
78722         * iconv/skeleton.c: Likewise.
78723         * include/aio.h: Likewise.
78724         * include/aliases.h: Likewise.
78725         * include/argz.h: Likewise.
78726         * include/arpa/inet.h: Likewise.
78727         * include/assert.h: Likewise.
78728         * include/dirent.h: Likewise.
78729         * include/dlfcn.h: Likewise.
78730         * include/execinfo.h: Likewise.
78731         * include/fcntl.h: Likewise.
78732         * include/fenv.h: Likewise.
78733         * include/glob.h: Likewise.
78734         * include/grp.h: Likewise.
78735         * include/libintl.h: Likewise.
78736         * include/mntent.h: Likewise.
78737         * include/netdb.h: Likewise.
78738         * include/pwd.h: Likewise.
78739         * include/rpc/netdb.h: Likewise.
78740         * include/sched.h: Likewise.
78741         * include/search.h: Likewise.
78742         * include/shadow.h: Likewise.
78743         * include/signal.h: Likewise.
78744         * include/stdio.h: Likewise.
78745         * include/stdlib.h: Likewise.
78746         * include/string.h: Likewise.
78747         * include/sys/socket.h: Likewise.
78748         * include/sys/stat.h: Likewise.
78749         * include/sys/statfs.h: Likewise.
78750         * include/sys/statvfs.h: Likewise.
78751         * include/sys/syslog.h: Likewise.
78752         * include/sys/time.h: Likewise.
78753         * include/sys/uio.h: Likewise.
78754         * include/time.h: Likewise.
78755         * include/unistd.h: Likewise.
78756         * include/utmp.h: Likewise.
78757         * include/wchar.h: Likewise.
78758         * include/wctype.h: Likewise.
78759         * inet/aliases.h: Likewise.
78760         * inet/arpa/inet.h: Likewise.
78761         * inet/netinet/ether.h: Likewise.
78762         * inet/netinet/in.h: Likewise.
78763         * intl/libintl.h: Likewise.
78764         * io/bits/fcntl2.h: Likewise.
78765         * io/fcntl.h: Likewise.
78766         * io/ftw.h: Likewise.
78767         * io/sys/poll.h: Likewise.
78768         * io/sys/stat.h: Likewise.
78769         * io/sys/statfs.h: Likewise.
78770         * io/sys/statvfs.h: Likewise.
78771         * io/utime.h: Likewise.
78772         * libio/bits/stdio.h: Likewise.
78773         * libio/bits/stdio2.h: Likewise.
78774         * libio/libio.h: Likewise.
78775         * libio/libioP.h: Likewise.
78776         * libio/stdio.h: Likewise.
78777         * locale/lc-ctype.c: Likewise.
78778         * locale/locale.h: Likewise.
78779         * login/utmp.h: Likewise.
78780         * malloc/arena.c: Likewise.
78781         * malloc/malloc.c: Likewise.
78782         * malloc/malloc.h: Likewise.
78783         * malloc/mcheck.c: Likewise.
78784         * malloc/mtrace.c: Likewise.
78785         * math/bits/mathcalls.h: Likewise.
78786         * math/fenv.h: Likewise.
78787         * math/math_private.h: Likewise.
78788         * misc/bits/error.h: Likewise.
78789         * misc/bits/syslog.h: Likewise.
78790         * misc/err.h: Likewise.
78791         * misc/error.h: Likewise.
78792         * misc/fstab.h: Likewise.
78793         * misc/mntent.h: Likewise.
78794         * misc/regexp.h: Likewise.
78795         * misc/search.h: Likewise.
78796         * misc/sgtty.h: Likewise.
78797         * misc/sys/mman.h: Likewise.
78798         * misc/sys/syslog.h: Likewise.
78799         * misc/sys/uio.h: Likewise.
78800         * misc/sys/xattr.h: Likewise.
78801         * misc/ttyent.h: Likewise.
78802         * nis/rpcsvc/ypclnt.h: Likewise.
78803         * nss/nss.h: Likewise.
78804         * posix/bits/unistd.h: Likewise.
78805         * posix/fnmatch.h: Likewise.
78806         * posix/glob.h: Likewise.
78807         * posix/sched.h: Likewise.
78808         * posix/spawn.h: Likewise.
78809         * posix/sys/wait.h: Likewise.
78810         * posix/unistd.h: Likewise.
78811         * posix/wordexp.h: Likewise.
78812         * pwd/pwd.h: Likewise.
78813         * resolv/netdb.h: Likewise.
78814         * resource/sys/resource.h: Likewise.
78815         * rt/aio.h: Likewise.
78816         * rt/bits/mqueue2.h: Likewise.
78817         * rt/mqueue.h: Likewise.
78818         * shadow/shadow.h: Likewise.
78819         * signal/signal.h: Likewise.
78820         * socket/send.c: Likewise.
78821         * socket/sendto.c: Likewise.
78822         * socket/sys/socket.h: Likewise.
78823         * stdio-common/printf.h: Likewise.
78824         * stdlib/bits/stdlib.h: Likewise.
78825         * stdlib/fmtmsg.h: Likewise.
78826         * stdlib/monetary.h: Likewise.
78827         * stdlib/stdlib.h: Likewise.
78828         * stdlib/ucontext.h: Likewise.
78829         * streams/stropts.h: Likewise.
78830         * string/argz.h: Likewise.
78831         * string/bits/string2.h: Likewise.
78832         * string/string.h: Likewise.
78833         * string/strings.h: Likewise.
78834         * sunrpc/rpc/auth.h: Likewise.
78835         * sunrpc/rpc/auth_des.h: Likewise.
78836         * sunrpc/rpc/clnt.h: Likewise.
78837         * sunrpc/rpc/netdb.h: Likewise.
78838         * sunrpc/rpc/pmap_clnt.h: Likewise.
78839         * sunrpc/rpc/xdr.h: Likewise.
78840         * sysdeps/generic/inttypes.h: Likewise.
78841         * sysdeps/generic/net/if.h: Likewise.
78842         * sysdeps/generic/sys/swap.h: Likewise.
78843         * sysdeps/gnu/net/if.h: Likewise.
78844         * sysdeps/gnu/utmpx.h: Likewise.
78845         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78846         * sysdeps/i386/i486/bits/string.h: Likewise.
78847         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78848         * sysdeps/s390/bits/string.h: Likewise.
78849         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78850         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78851         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78852         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78853         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78854         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78855         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78856         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78857         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78858         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78859         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78860         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78861         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78862         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78863         * sysdeps/unix/sysv/linux/readv.c: Likewise.
78864         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78865         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78866         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78867         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78868         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78869         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78870         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78871         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78872         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78873         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78874         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78875         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78876         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78877         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78878         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78879         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78880         * sysvipc/sys/ipc.h: Likewise.
78881         * sysvipc/sys/msg.h: Likewise.
78882         * sysvipc/sys/sem.h: Likewise.
78883         * sysvipc/sys/shm.h: Likewise.
78884         * termios/termios.h: Likewise.
78885         * time/sys/time.h: Likewise.
78886         * time/time.h: Likewise.
78887         * wcsmbs/bits/wchar2.h: Likewise.
78888         * wcsmbs/uchar.h: Likewise.
78889         * wcsmbs/wchar.h: Likewise.
78890         * wctype/wctype.h: Likewise.
78892         [BZ #13551]
78893         * Makeconfig: Remove all but ELF support including AIX support.
78894         * Makerules: Likewise.
78895         * config.h.in: Likewise.
78896         * config.make.in: Likewise.
78897         * configure: Likewise.
78898         * configure.in: Likewise.
78899         * csu/Makefile: Likewise.
78900         * csu/version.c: Likewise.
78901         * debug/Makefile: Likewise.
78902         * dlfcn/Makefile: Likewise.
78903         * elf/Makefile: Likewise.
78904         * extra-lib.mk: Likewise.
78905         * iconv/Makefile: Likewise.
78906         * include/libc-symbols.h: Likewise.
78907         * include/shlib-compat.h: Likewise.
78908         * resolv/Makefile: Likewise.
78909         * resolv/res_libc.c: Likewise.
78910         * rt/Makefile: Likewise.
78911         * sysdeps/i386/asm-syntax.h: Likewise.
78912         * sysdeps/i386/sysdep.h: Likewise.
78913         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78914         * sysdeps/mach/sysdep.h: Likewise.
78915         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78916         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78917         * sysdeps/s390/asm-syntax.h: Likewise.
78918         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78919         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78920         * sysdeps/sh/sysdep.h: Likewise.
78921         * sysdeps/unix/sparc/sysdep.h: Likewise.
78922         * sysdeps/wordsize-32/divdi3.c: Likewise.
78923         * sysdeps/x86_64/sysdep.h: Likewise.
78925         * argp/Versions: Remove _argp_unlock_xxx.
78927         [BZ #13559]
78928         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
78929         * abilist/libBrokenLocale.abilist: Likewise.
78930         * abilist/libanl.abilist: Likewise.
78931         * abilist/libc.abilist: Likewise.
78932         * abilist/libcrypt.abilist: Likewise.
78933         * abilist/libdl.abilist: Likewise.
78934         * abilist/libm.abilist: Likewise.
78935         * abilist/libnsl.abilist: Likewise.
78936         * abilist/libpthread.abilist: Likewise.
78937         * abilist/libresolv.abilist: Likewise.
78938         * abilist/librt.abilist: Likewise.
78939         * abilist/libthread_db.abilist: Likewise.
78940         * abilist/libutil.abilist: Likewise.
78941         * abilist/libnss_db.abilist: New file.
78943         * scripts/abilist.awk: Add support for indirect functions.
78945         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78947         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78949         * shlib-versions: Remove entries for ports architectures.
78951         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
78952         files in ports.
78953         * elf/stackguard-macros.h: Remove support for IA-64.
78954         * elf/tst-auditmod1.c: Likewise.
78955         * sysdeps/generic/ldsodefs.h: Likewise.
78957         * sysdeps/unix/sysv/linux/configure.in: Ports should define
78958         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78959         configure files.
78961         [BZ #13552]
78962         * configure.in: Remove --enable-omitfp support.
78963         * FAQ.in: Adjust.
78964         * config.make.in: Likewise.
78965         * Makeconfig: Likewise.
78966         * manual/install.texi: Likewise.
78968         In case anyone cares, the IA-64 architecture could move to ports.
78969         * sysdeps/ia64/*: Removed.
78970         * sysdeps/unix/sysv/linux/ia64/*: Removed.
78971         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78973         [BZ #13555]
78974         * configure.in: Remove entries for unsupported architectures.
78976         [BZ #13533]
78977         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78978         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
78979         routines.
78980         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78981         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78982         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
78983         fall back to using wcrtomb.
78984         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78985         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
78986         renaming.
78987         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78988         * wcsmbs/tst-c16c32-1.c: New file.
78990         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78991         local variable.
78993         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78995         * elf/tst-unique3.cc: Add explicit declaration of gets.
78996         * elf/tst-unique3lib.cc: Likewise.
78997         * elf/tst-unique3lib2.cc: Likewise.
78998         * elf/tst-unique4.cc: Likewise.
79000         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79002 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
79004         [BZ #13566]
79005         * assert/assert.h (static_assert): Don't define for C++.
79006         * libio/stdio.h (gets): Do declare for C++ <= C++11.
79007         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
79009 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
79011         * iconv/loop.c (single loop): Fix assertion in storing of
79012         remaining bytes.
79014         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
79016 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
79018         * posix/getconf.c: Update copyright year.
79019         * nss/getent.c: Likewise.
79020         * nss/makedb.c: Likewise.
79021         * iconv/iconvconfig.c: Likewise.
79022         * iconv/iconv_prog.c: Likewise.
79023         * elf/ldconfig.c: Likewise.
79024         * elf/pldd.c: Likewise.
79025         * elf/sotruss.ksh: Likewise.
79026         * catgets/gencat.c: Likewise.
79027         * csu/version.c: Likewise.
79028         * elf/ldd.bash.in: Likewise.
79029         * elf/sprof.c (print_version): Likewise.
79030         * locale/programs/locale.c: Likewise.
79031         * locale/programs/localedef.c: Likewise.
79032         * login/programs/pt_chown.c: Likewise.
79033         * nscd/nscd.c (print_version): Likewise.
79034         * debug/xtrace.sh: Likewise.
79035         * malloc/memusage.sh: Likewise.
79036         * malloc/mtrace.pl: Likewise.
79037         * debug/catchsegv.sh: Likewise.
79039 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
79041         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79042         pure attribute.
79044 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
79046         [BZ #13533]
79047         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79048         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79049         transformations.
79050         * iconv/gconv_int.h: Likewise.
79051         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79052         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79053         from libc for GLIBC_2.16.
79054         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79055         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79056         * wcsmbs/uchar.h: Really define mbstate_t.
79057         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79058         * wcsmbs/c16rtomb.c: New file.
79059         * wcsmbs/mbrtoc16.c: New file.
79060         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79061         for C/POSIX locale.
79062         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79063         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79065         * wcsmbs/wchar.h: Add missing __restrict.
79067 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79069         [BZ #13532]
79070         * time/Makefile (routines): Add timespec_get.
79071         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79072         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
79073         timespec for ISO C11.
79074         * time/timespec_get.c: New file.
79075         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79076         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79078         [BZ #13531]
79079         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79080         * stdlib/stdlib.h: Declare aligned_alloc.
79081         * Versions.def: Add GLIBC_2.16 for libc.
79082         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79084         [BZ 13527]
79085         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79086         ISO C11.
79088         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79089         code.
79091         [BZ #13528]
79092         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79094         [BZ #13529]
79095         * assert/assert.h (static_assert): Define.
79097         * version.h: Update for 2.16 development version.
79099         [BZ #13526]
79100         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79101         _ISOC11_SOURCE.
79103         * version.h (RELEASE): Bump for 2.15 release.
79104         * include/features.h (__GLIBC_MINOR__): Bump to 15.
79106         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79107         Patch by Marek Polacek <mpolacek@redhat.com>.
79109         * bits/byteswap.h: Protect long long constants with __extension__.
79110         * sysdeps/i386/bits/byteswap.h: Likewise.
79111         * sysdeps/ia64/bits/byteswap.h: Likewise.
79112         * sysdeps/s390/bits/byteswap.h: Likewise.
79113         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79115 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79117         [BZ #13540]
79118         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79119         destination buffer.
79120         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79122 2011-12-23  Marek Polacek  <polacek@redhat.com>
79124         * elf/dl-addr.c (determine_info): Add inline keyword.
79125         * elf/tst-auditmod4b.c (check_avx): Likewise.
79126         * elf/tst-auditmod6b.c (check_avx): Likewise.
79127         * elf/tst-auditmod6c.c (check_avx): Likewise.
79128         * elf/tst-auditmod7b.c (check_avx): Likewise.
79130 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79132         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79133         !__SSE_MATH__.
79135 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79137         [BZ #13540]
79138         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79139         processing for last bytes.
79141 2011-08-06  Bruno Haible  <bruno@clisp.org>
79143         [BZ #13061]
79144         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79145         U+0385, not to U+1FEE.
79147         [BZ #13062]
79148         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79149         entry for U+00A5 U+0301.
79151 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79153         [BZ #13166]
79154         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79155         buffer for the output is too small.
79157         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79158         optimization.
79160         [BZ #13185]
79161         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79162         SSE flags if possible.
79164 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79166         [BZ #13540]
79167         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79168         processing for last bytes.
79170 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
79172         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79173         (syscall-list-default-options, syscall-list-default-condition)
79174         (syscall-list-includes): Define.
79175         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79176         list of ABIs and options and #if conditions for each ABI.  Do not
79177         handle common syscalls between ABIs specially.
79178         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79179         Remove.
79180         (syscall-list-variants, syscall-list-32bit-options)
79181         (syscall-list-32bit-condition, syscall-list-64bit-options)
79182         (syscall-list-64bit-condition): Define.
79183         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79184         (syscall-list-variants, syscall-list-32bit-options)
79185         (syscall-list-32bit-condition, syscall-list-64bit-options)
79186         (syscall-list-64bit-condition): Define.
79187         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79188         Remove.
79189         (syscall-list-variants, syscall-list-32bit-options)
79190         (syscall-list-32bit-condition, syscall-list-64bit-options)
79191         (syscall-list-64bit-condition): Define.
79192         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79193         Remove.
79194         (syscall-list-variants, syscall-list-32bit-options)
79195         (syscall-list-32bit-condition, syscall-list-64bit-options)
79196         (syscall-list-64bit-condition): Define.
79198 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79200         * locale/iso-639.def: Add brx entry.
79202         [BZ #13328]
79203         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79204         Proposed by Mariusz_Cukr <marcukr@op.pl>.
79206         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79207         __feraiseexcept_renamed.
79209 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79211         [BZ #13538]
79212         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79213         EPOLLET with unsigned values.
79214         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79215         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79217         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79218         to large cancellation.
79219         * math/s_cacoshf.c: Likewise.
79220         * math/s_cacoshl.c: Likewise.
79222 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
79224         [BZ #13305]
79225         [BZ #12786]
79226         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79227         * math/s_cacoshf.c: Likewise.
79228         * math/s_cacoshl.c: Likewise.
79230 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79232         [BZ #13439]
79233         * iconv/gconv.h: Define __GCONV_SWAP.
79234         * iconvdata/unicode.c: The swap bit must be stored in __flags.
79235         * iconvdata/utf-16.c: Likewise.
79236         * iconvdata/utf-32.c: Likewise.
79238 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
79240         [BZ #13524]
79241         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79242         numerator after shifting it by one limb.
79244 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
79246         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79247         under [__USE_EXTERN_INLINES].
79249 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79251         [BZ #13446]
79252         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79254 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79256         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79257         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79258         optimized code.
79259         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79260         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79261         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79262         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79263         for strncasecmp/strncasecmp_l compilation.
79264         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79265         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79267 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
79269         [BZ #13484]
79270         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79271         of __asm__.
79273 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79275         [BZ #13506]
79276         * time/tzfile.c (__tzfile_read): Check values from file header.
79278 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
79280         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79281         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79282         * powerpc/powerpc32/dl-start.S: Likewise.
79283         * powerpc/powerpc32/elf/start.S: Likewise.
79284         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79285         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79286         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79287         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79288         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79289         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79290         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79291         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79292         * powerpc/powerpc32/fpu/s_round.S: Likewise.
79293         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79294         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79295         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79296         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79297         * powerpc/powerpc32/memset.S: Likewise.
79298         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79299         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79300         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79301         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79302         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79303         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79304         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79305         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79306         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79307         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79308         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79309         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79310         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79312 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79314         * math/libm-test.inc: Added more nearbyint tests.
79315         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79316         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79317         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79318         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79320 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
79322         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79323         FD_CLOEXEC.
79325 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79327         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79328         Add wcscpy-ssse3 wcscpy-c.
79329         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79330         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79331         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79332         * sysdeps/x86_64/wcschr.S: New file.
79333         * sysdeps/x86_64/wcsrchr.S: New file.
79334         * string/test-strcmp.c: Remove checking of wcscmp function for
79335         wrong alignments.
79336         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79337         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79338         wcsrchr-sse2 wcsrchr-c.
79339         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79340         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79341         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79342         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79343         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79344         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79345         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79346         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79347         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79348         * wcsmbc/wcschr.c (WCSCHR): New macro.
79350 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79352         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79353         * wcsmbs/test-wcsrchr.c: New file.
79354         * string/test-strrchr.c: Add wcsrchr support.
79355         (WIDE): New macro.
79356         * wcsmbs/test-wcscpy.c: New file.
79357         * string/test-strcpy.c: Add wcscpy support.
79358         (WIDE): New macro.
79360 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
79362         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79363         the inner loop.
79365 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
79367         [BZ #13472]
79368         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79370 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
79372         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79373         Minor optimizations.
79375         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79376         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79377         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79379 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
79381         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79382         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79383         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79384         for gcc to avoid warnings.
79385         * inet/Makefile (tests): Add tst-checks.
79386         * inet/tst-checks.c: New file.
79388         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79389         warning.
79391         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79392         __wmemcmp_sse2.
79394         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79395         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79397         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79399 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
79401         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79402         problem.
79404         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79406 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
79408         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79409         conditional on GCC version.
79410         (__arch_compare_and_exchange_val_8_acq)
79411         (__arch_compare_and_exchange_val_16_acq)
79412         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79413         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79414         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79416 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
79418         * sysdeps/sh/backtrace.c: New file.
79420 2011-12-02  Andreas Schwab  <schwab@redhat.com>
79422         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
79423         parenthesis.
79425 2011-12-01  Andreas Schwab  <schwab@redhat.com>
79427         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79428         falling back to utime.
79430 2011-11-30  Andreas Schwab  <schwab@redhat.com>
79432         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79433         expectations for float.
79435 2011-11-29  Andreas Schwab  <schwab@redhat.com>
79437         * locale/weight.h (findidx): Add parameter len.
79438         * locale/weightwc.h (findidx): Likewise.
79439         * posix/fnmatch_loop.c (FCT): Adjust caller.
79440         * posix/regcomp.c (build_equiv_class): Likewise.
79441         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79442         * posix/regexec.c (check_node_accept_bytes): Likewise.
79443         * string/strcoll_l.c (STRCOLL): Likewise.
79444         * string/strxfrm_l.c (STRXFRM): Likewise.
79446 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
79448         * Makefile.in: Remove CVSOPT handling.
79449         * configure.in: Remove use of AC_REVISION.
79450         * iconvdata/Makefile (distribute): No need to filter out CVS.
79451         * scripts/list-sources.sh: Remove CVS, subversion and monotone
79452         handling.
79454 2011-11-16  Andreas Schwab  <schwab@redhat.com>
79456         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79457         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79458         [USE_AS_STRNCASECMP_L]: Likewise.
79459         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79460         NO_TLS_DIRECT_SEG_REFS.
79461         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79462         Fix argument offsets for non-PIC.
79463         [USE_AS_STRNCASECMP_L]: Likewise.
79464         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79465         NO_TLS_DIRECT_SEG_REFS.
79467 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
79469         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79470         O_CLOEXEC.
79471         * locale/loadlocale.c (_nl_load_locale): Likewise.
79473 2011-11-15  Andreas Schwab  <schwab@redhat.com>
79475         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79476         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79477         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79478         (SYSCALL_GETTIME): Set errno on error.
79480         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79481         count references to noai6ai_cached.
79483 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
79485         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79487         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79488         FD_CLOEXEC for /proc/self/maps.
79490         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79491         FD_CLOEXEC for /proc/meminfo.
79493         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79494         gai.conf.
79496         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
79497         FD_CLOEXEC for given file.
79499         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79501         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79502         FD_CLOEXEC for /etc/hosts.
79503         (_gethtent): Likewise.
79505         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79507         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79508         cancellation and set FD_CLOEXEC for /etc/netgroup.
79510         * nss/nss_files/files-key.c (search): Don't allow cancellation when
79511         reading /etc/publickey.
79513         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79514         allow cancellation when reading /etc/group.
79516         * nss/nss_files/files-alias.c (internal_setent): Don't allow
79517         cancellation.
79518         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
79520         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79521         when using data file.
79523         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79525         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79526         (write_nis_obj): Use "c" and "e" in fopen.
79528         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79530         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79532         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79534         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79536         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79537         locale.alias.
79539         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79541         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
79543         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
79545         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
79546         file parsing and set FD_CLOEXEC.
79548 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
79550         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
79552 2011-11-14  Andreas Schwab  <schwab@redhat.com>
79554         * malloc/arena.c (arena_get2): Don't call reused_arena when
79555         _int_new_arena failed.
79557 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
79559         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
79560         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
79561         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
79562         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79563         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79564         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
79565         to compile strcasecmp and strncasecmp.
79566         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
79567         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
79569         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
79571 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
79573         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
79574         locale-defines.sym to gen-as-const-headers.
79575         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
79576         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
79577         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
79578         to compile strcasecmp and strncasecmp.
79579         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79580         strcasecmp_l and strncasecmp_l.
79581         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79582         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79583         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79584         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79585         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79586         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79587         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79588         * sysdeps/i386/i686/multiarch/strncase.S: New file.
79589         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79590         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79591         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79593 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
79595         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79596         result of SYSDEP_GETTIME_CPU to retval.
79597         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79598         parameter list to macro.  Remove trailing semicolon.  Adjust users.
79600         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79601         variable.
79603         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79604         mantissa words.
79605         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79607         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79608         from unused variable.
79610         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79611         DWARF definitions.
79612         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79613         for assembling.
79615         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79616         over namespaces.
79618         * sunrpc/rpc_prot.c (rejected): Fix case value.
79620         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79621         unsigned long long int to avoid warnings in shift.
79623         * posix/regex_internal.c (re_string_reconstruct): Actually use result
79624         of use of trans.
79625         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79626         variable tmp.
79628         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79629         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79630         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79632         * nis/nis_table.c (nis_list): Use variable of correct type for
79633         result of __follow_path call.
79635 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79637         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79638         of math functions ceil, trunc, floor, round, and sqrt, when
79639         avaliable on the platform.
79640         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79641         name clash.
79642         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79643         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79644         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79646 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
79648         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79649         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79651 2011-11-11  Roland McGrath  <roland@hack.frob.com>
79653         * include/unistd.h: Fix __readlink return type.
79654         Reported by Chris Metcalf <cmetcalf@tilera.com>.
79656 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
79658         * stdlib/ucontext.h: Undo last change for makecontext.
79660 2011-11-11  Andreas Schwab  <schwab@redhat.com>
79662         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79664         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79665         * setjmp/setjmp.h: Mark functions as non-leaf.
79666         * setjmp/bits/setjmp2.h: Likewise.
79667         * stdlib/ucontext.h: Likewise.
79669 2011-11-10  Andreas Schwab  <schwab@redhat.com>
79671         * malloc/arena.c (_int_new_arena): Don't increment narenas.
79672         (reused_arena): Don't check arena limit.
79673         (arena_get2): Atomically check arena limit.
79675 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
79677         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79678         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79681         instructions.
79683 2011-11-07  Andreas Schwab  <schwab@redhat.com>
79685         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79686         handler when locking.
79688         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79689         Fix size of allocated buffer.
79691 2011-11-04  Andreas Schwab  <schwab@redhat.com>
79693         [BZ #10103]
79694         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79695         declarations for long double functions.
79696         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79698         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79700 2011-11-03  Andreas Schwab  <schwab@redhat.com>
79702         * nscd/nscd.c (main): Don't start AVC thread until credentials are
79703         installed.
79705         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79706         is disabled.
79708 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79710         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79712 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
79714         * include/alloca.h (stackinfo_alloca_round): Define.
79715         (extend_alloca): Use it.
79716         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79717         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79718         here.
79720         * scripts/check-local-headers.sh: Ignore libaudit.h.
79722         * nscd/Makefile (extra-objs): Make recursively expanded.
79724 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
79726         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79727         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79729         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79730         * posix/tst-rfc3484-2.c: Likewise.
79731         * posix/tst-rfc3484-3.c: Likewise.
79733         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79734         process_vm_writev.
79735         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79736         process_vm_writev.
79737         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79738         process_vm_writev from libc using GLIBC_2.15 version.
79740         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79742 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
79744         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79745         stack usage.
79747 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
79749         [BZ #13367]
79750         * nss/getent.c (initgroups_keys): Show error message in case no group
79751         names are given.
79753         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79754         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79755         __bump_nl_timestamp.
79756         * nscd/connections (nscd_init): When host database is served open
79757         netlink socket and request notification about configuration changes.
79758         (main_loop_poll): Track netlink file descriptor and bump timestamp
79759         in case data becomes available.
79760         (main_loop_epoll): Likewise.
79761         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79762         (database_pers_head): Add extra_data fileds.
79763         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79764         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79765         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79766         Adjust caller.
79767         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79768         in6ai data, call __free_in6ai.
79769         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79770         Add -DHAVE_NETLINK.
79771         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
79772         interface information.  Reuse previous data if netlink timestamp
79773         is not changed.
79774         (__bump_nl_timestamp): New function.
79775         (__free_in6ai): New function.
79777 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
79779         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79780         close_not_cancel_no_status here.
79781         (__check_pf): Reorganize code a bit to not call close twice if OOM.
79783 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79785         [BZ #13276]
79786         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79787         return value.
79789         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79790         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79791         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79793 2011-07-03  Andreas Jaeger  <aj@suse.de>
79795         [BZ #10709]
79796         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79797         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79798         * math/libm-test.inc (sin_test): Add test case.
79800 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79802         [BZ #13337]
79803         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79804         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79806         * elf/chroot_canon.c (chroot_canon): Cleanups.
79808         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79810         [BZ #13335]
79811         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79812         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79814         * string/test-strchr.c: Make usable for strchrnul testing.
79815         * string/test-strchrnul.c: New file.
79816         * string/Makefile (strop-tests): Add strchrnul.
79818         * po/it.po: Update from translation team.
79819         * po/es.po: Likewise.
79821 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
79823         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79824         the three constants needed as parameters.  Drop the others.
79825         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79826         __m128i_strloadu_tolower.
79827         Create and initialize variable zero and use it in all the places
79828         where _mm_setzero_si128 was used.
79830         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79831         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79832         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79833         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79834         anymore.
79835         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79836         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79837         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79838         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79839         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79840         __mpranred, __mptan.
79841         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79842         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79843         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79844         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79845         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79846         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79847         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79848         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79849         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79851 2011-10-28  Andreas Schwab  <schwab@redhat.com>
79853         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79854         redefine if SHARED.
79855         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79857         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79858         wide char related routines to wcsmbs subdir.
79860 2011-10-27  Andreas Schwab  <schwab@redhat.com>
79862         [BZ #13344]
79863         * misc/sys/cdefs.h (__THROWNL): Define.
79864         * posix/unistd.h: Use __THREADNL instead of __THREAD
79865         for memory synchronization functions.
79867 2011-10-26  Roland McGrath  <roland@hack.frob.com>
79869         [BZ #13349]
79870         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79871         doesn't exist.
79872         * manual/stdio.texi (Obstack Streams): Node removed.
79874 2011-10-26  Andreas Schwab  <schwab@redhat.com>
79876         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79877         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79878         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79880         * math/math_private.h (math_force_eval): Allow non-addressable
79881         arguments.
79882         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79884 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79886         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79887         file is not needed.
79889         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79890         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79891         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79892         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79893         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79894         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79895         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79896         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79897         Add AVX variants.
79898         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79899         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79900         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79901         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79902         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79903         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79904         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79905         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79906         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79907         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79908         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79909         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79910         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79911         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79912         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79913         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79914         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79915         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79916         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79918         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79919         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
79921         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79922         place.  Use VEX encoding when compiling for AVX.
79924 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79926         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79927         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79929         * string/test-strchr.c (do_test): Don't generate NUL bytes.
79931 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79933         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79934         useless if() expression.
79935         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79936         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79937         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79938         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79939         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79940         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79941         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79942         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79943         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79944         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79945         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79946         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79947         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79948         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79949         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79950         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79951         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79952         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79953         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79955         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79957 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79959         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79960         condition.
79961         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79963 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79965         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79966         .text section.  Avoid duplicate constants.
79967         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79968         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79969         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79970         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79971         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79972         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79973         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79974         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79975         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79976         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79977         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79978         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79979         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79980         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79981         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79982         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79983         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79984         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79985         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79986         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79987         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79988         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79989         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79990         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79991         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79992         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79993         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79994         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79995         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79996         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79997         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79998         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79999         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
80000         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
80001         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
80002         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
80003         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
80004         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
80005         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
80006         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
80007         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
80008         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
80009         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
80010         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
80011         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
80013 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
80015         * sysdeps/x86_64/dla.h: Move to ...
80016         * sysdeps/x86_64/fpu/dla.h: ...here.
80017         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
80018         situations.  Use __builtin_fma only for gcc 4.6 and up.
80020         * config.make.in: Add have-mfma4 entry.
80021         * configure.in: Substitute libc_cv_cc_fma4.
80022         * math/Makefile (dbl-only-routines): Add sincostab.
80023         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
80024         Use __sincostab not sincos.
80025         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
80026         name is a macro.
80027         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80028         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80029         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80030         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
80031         using __copysign.
80032         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
80033         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
80034         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80035         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80036         and __inv.
80037         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80038         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80039         __copysign.
80040         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
80041         define aliases when function name is a macro.
80042         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80043         sysdeps/ieee754/dbl-64/sincos.tbl.
80044         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80045         fma4-enabled routines.
80046         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80047         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80048         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80049         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80050         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80051         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80052         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80053         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80054         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80055         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80056         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80057         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80058         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80059         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80060         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80061         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80062         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80063         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80064         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80065         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80066         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80067         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80068         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80069         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80070         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80071         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80072         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80073         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80074         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80075         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80077         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80078         rename.
80079         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80080         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80081         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80082         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80083         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80084         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80085         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80086         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80088 2011-10-24  Andreas Schwab  <schwab@redhat.com>
80090         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80092 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80094         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80096         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80097         prediction.
80098         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80100         * string/strnlen.c: Don't define STRNLEN, reverse logic.
80101         Remove unused variable magic_bits.
80102         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80104         * string/strnlen.c: Define and use STRNLEN macro.
80105         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80106         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80107         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80108         * wcsmbs/wcslen.c: Define and use WCSLEN.
80109         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80110         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80111         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80112         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80113         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80114         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80115         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80117 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80119         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80120         strnlen-sse2-no-bsf.
80121         Rename strlen-no-bsf to strlen-sse2-no-bsf.
80122         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80123         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80124         Add strnlen support.
80125         (USE_AS_STRNLEN): New macro.
80126         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80127         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80128         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80129         * sysdeps/x86_64/wcslen.S: New file.
80131 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
80133         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80134         XMM-moves are used for copying on small sizes.
80136 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80138         * wcsmbs/Makefile (strop-tests): Add wcschr.
80139         * wcsmbs/test-wcschr.c: New file.
80140         * string/test-strchr.c: Update.
80141         Add wcschr support.
80142         (WIDE): New macro.
80144 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80146         * wcsmbs/Makefile (strop-tests): Add wcslen.
80147         * wcsmbs/test-wcslen.c: New file.
80148         * string/test-strlen.c: Update.
80149         Add wcslen support.
80150         (WIDE): New macro.
80152 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80154         * po/it.po: Update from translation team.
80156 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80158         * sysdeps/x86_64/wcscmp.S: Update.
80159         Fix wrong comparison semantics.
80160         wcscmp shall use signed comparison not unsigned.
80161         Don't use substraction to avoid overflow bug.
80162         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80163         * wcsmbc/wcscmp.c: Likewise.
80164         * string/test-strcmp.c: Likewise.
80165         Add new tests to check cases with negative values.
80167 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80169         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80170         * sysdeps/x86_64/dla.h: ...here.  New file.
80171         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80172         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80173         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80174         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80175         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80176         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80177         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80178         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80179         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80181 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
80183         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80184         __ynl_finite aliases.
80186 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80190         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80191         define DLA_FMA.
80192         [DLA_FMA] (EMULV): Use DLA_FMA.
80193         [DLA_FMA] (MUL12): Use EMULV.
80194         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80195         that are not needed.
80196         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80197         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80198         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80199         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80200         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80201         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80202         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80204 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
80206         * math/s_nan.c: Undef __nan.
80207         * math/s_nanf.c: Undef __nanf.
80208         * math/s_nanl.c: Undef __nanl.
80209         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80210         "math_private.h".
80212 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80214         * math/s_catan.c: Add branch predictions.
80215         * math/s_catanf.c: Likewise.
80216         * math/s_catanh.c: Likewise.
80217         * math/s_catanhf.c: Likewise.
80218         * math/s_catanhl.c: Likewise.
80219         * math/s_catanl.c: Likewise.
80220         * math/s_cexp.c: Likewise.
80221         * math/s_cexpf.c: Likewise.
80222         * math/s_cexpl.c: Likewise.
80223         * math/s_clog.c: Likewise.
80224         * math/s_clog10.c: Likewise.
80225         * math/s_clog10f.c: Likewise.
80226         * math/s_clog10l.c: Likewise.
80227         * math/s_clogf.c: Likewise.
80228         * math/s_clogl.c: Likewise.
80229         * math/s_csqrt.c: Likewise.
80230         * math/s_csqrtf.c: Likewise.
80231         * math/s_csqrtl.c: Likewise.
80232         * math/s_ctanf.c: Likewise.
80233         * math/s_ctanh.c: Likewise.
80234         * math/s_ctanhf.c: Likewise.
80235         * math/s_ctanhl.c: Likewise.
80236         * math/s_ctanl.c: Likewise.
80238         * math/math_private.h: Define __nan, __nanf, __nanl.
80239         * math/s_cacosh.c: Include <math_private.h>.
80240         * math/s_cacoshl.c: Likewise.
80241         * math/s_casinh.c: Likewise.
80242         * math/s_casinhf.c: Likewise.
80243         * math/s_casinhl.c: Likewise.
80244         * math/s_ccos.c: Rely entire on ccosh.
80245         * math/s_ccosf.c: Rely entire on ccoshf.
80246         * math/s_ccosl.c: Rely entirely on ccoshl.
80247         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
80248         Remove tests for FE_INVALID.
80249         * math/s_ccoshf.c: Likewise.
80250         * math/s_ccoshl.c: Likewise.
80251         * math/s_csin.c: Likewise.
80252         * math/s_csinf.c: Likewise.
80253         * math/s_csinh.c Likewise.
80254         * math/s_csinhf.c: Likewise.
80255         * math/s_csinhl.c: Likewise.
80256         * math/s_csinl.c: Likewise.
80257         * math/s_ctan.c: Likewise.
80258         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80259         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80260         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80262 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
80264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80265         compilation problems.
80267         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80268         __builtin_expect.
80270 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
80272         * sysdeps/i386/configure.in: Test for -mfma4 option.
80273         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80274         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80275         COMMON_CPUID_INDEX_80000001.
80276         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80277         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80278         use it if FMA3 is not supported.
80279         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80281         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80282         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80284 2011-10-20  Andreas Schwab  <schwab@redhat.com>
80286         [BZ #12892]
80287         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80288         it would create a cycle with a link time dependency.
80290 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
80292         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80293         instruction.
80294         * string/Makefile (strop-tests): Add rawmemchr.
80295         * string/test-rawmemchr.c: New file.
80297         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80298         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
80299         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
80300         when compiling str{,n}casecmp and when AVX is available.  Hook up
80301         new optimized code in initializers.
80303 2011-10-19  Andreas Schwab  <schwab@redhat.com>
80305         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80306         __feraiseexcept instead of feraiseexcept.
80308 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
80310         * math/math_private.h: Define defaults for libc_fetestexcept and
80311         libc_feupdateenv.
80312         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80313         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80314         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80315         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80316         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80317         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80318         libc_fetestexcept and libc_feupdateenv.
80320         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80321         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80322         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80323         * sysdeps/x86_64/fpu/math_private.h: Define special version of
80324         libc_feholdexcept_setround.
80326         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80327         Add s_nearbyint-c and s_nearbyintf-c.
80328         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80329         nearbyintf inlines.
80330         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80331         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80332         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80333         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80335         * math/math_private.h: Define defaults for libc_fegetround,
80336         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80337         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80338         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80339         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80340         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80341         standard functions.
80342         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80343         Remove comments and hacks for old compiler versions.
80344         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80345         libc_fegetround, libc_fesetround, libc_feholdexcept, and
80346         libc_feholdexceptl.
80348 2011-10-18  Andreas Schwab  <schwab@redhat.com>
80350         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80351         (__feraiseexcept_renamed): Add __NTH.
80352         (feraiseexcept): Add __NTH.  Rename local variables to fix
80353         namespace violations.
80355 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
80357         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80359         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80361         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80362         recently added interfaces.
80363         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80365         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80366         about macro parameter expansion.
80368         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80369         __NO_MATH_INLINES is defined.  Cleanups.
80371         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80372         and __floorf is target has SSE4.1.
80373         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80374         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80375         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80376         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80378         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80379         name.
80380         (floorf): Likewise.
80382         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80384 2011-10-17  Andreas Schwab  <schwab@redhat.com>
80386         * misc/sys/cdefs.h: Fix last change.
80388         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80389         database lookup.
80391 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
80393         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80395         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80396         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80397         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80398         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80399         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80400         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80401         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80402         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80403         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80404         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80405         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80406         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80407         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80408         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80409         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80410         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80411         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80412         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80413         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80414         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80415         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80416         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80418         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80419         ceil, ceilf, floor, floorf.
80421         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80422         Perform IRELATIVE relocations last.
80424         * elf/do-rel.h: Add another parameter nrelative, replacing the
80425         local variable with the same name.  Change name of the function
80426         to end in Rel or Rela (uppercase).
80427         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80428         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
80429         elf_dynamic_do_##reloc function.
80431 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80433         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80434         is sufficient, at least on modern CPUs.
80436         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80438         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80439         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80441         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80442         __expl_finite.
80443         * math/bits/math-finite.h: Add entries for exp.
80444         * math/e_expl.c: Add __*_finite alias.
80445         * sysdeps/i386/fpu/e_exp.S: Likewise.
80446         * sysdeps/i386/fpu/e_expf.S: Likewise.
80447         * sysdeps/i386/fpu/e_expl.c: Likewise.
80448         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80449         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80450         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80451         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80452         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80453         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80454         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80456         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80457         is sufficient, at least on modern CPUs.
80459         * ctype/ctype-info.c (__ctype_init): Define.
80460         * include/ctype.h (__ctype_init): Declare.
80461         (__ctype_b_loc): The variable is always initialized.
80462         (__ctype_toupper_loc): Likewise.
80463         (__ctype_tolower_loc): Likewise.
80464         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80465         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80467 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
80469         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80471         * configure.in: Also look in $cxxmachine/include for C++ system
80472         headers.
80474 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80476         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80477         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80478         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80479         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
80480         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80481         (USE_AS_WMEMCMP): New macro.
80482         Fixing indents.
80483         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80484         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80485         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80486         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80487         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80488         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80489         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80490         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80491         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80492         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80493         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80494         (USE_AS_WMEMCMP): New macro.
80495         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80496         * sysdeps/string/test-memcmp.c: Update.
80497         Fix simple_wmemcmp.
80498         Add new tests.
80499         * wcsmbs/wmemcmp.c: Update.
80500         (WMEMCMP): New macro.
80501         Fix overflow bug.
80503 2011-10-12  Andreas Jaeger  <aj@suse.de>
80505         [BZ #13268]
80506         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80508 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80510         * libio/iofwide.c (do_length): Avoid warning.
80512         * ctype/ctype.h (__isctype_f): Add missing __THROW.
80514 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
80516         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80518         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80519         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80520         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80521         * sysdeps/i386/i686/fpu/e_log.S: New file.
80522         * sysdeps/i386/i686/fpu/e_logf.S: New file.
80523         * sysdeps/i386/i686/fpu/e_logl.S: New file.
80525         * ctype/ctype.h: Add support for inlined isXXX functions when
80526         compiling C++ code.
80528 2011-10-14  Andreas Schwab  <schwab@redhat.com>
80530         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80532         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80534 2011-10-13  Roland McGrath  <roland@hack.frob.com>
80536         [BZ #13291]
80537         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80539 2011-10-13  Andreas Schwab  <schwab@redhat.com>
80541         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
80542         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
80543         feraiseexcept.
80545         * sysdeps/x86_64/memrchr.S: Check for zero size.
80547         * string/stratcliff.c: Add memrchr tests.
80549 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80551         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80552         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
80553         rawmemchr-sse2 rawmemchr-sse2-bsf.
80554         * sysdeps/i386/i686/multiarch/memchr.S: New file.
80555         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
80556         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
80557         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
80558         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
80559         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
80560         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
80561         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
80562         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
80563         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
80564         * string/memrchr.c (MEMRCHR): New macro.
80566 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
80568         Add integration with gcc's -ffinite-math-only and optimize wrapper
80569         functions in libm.
80570         * Versions.def: Define GLIBC_2.15 version for libm.
80571         * math/Makefile (headers): Add bits/math-finite.h.
80572         * math/bits/math-finite.h: New file.
80573         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
80574         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
80575         * math/e_acoshl.c: Add __*_finite alias.
80576         * math/e_acosl.c: Likewise.
80577         * math/e_asinl.c: Likewise.
80578         * math/e_atan2l.c: Likewise.
80579         * math/e_atanhl.c: Likewise.
80580         * math/e_coshl.c: Likewise.
80581         * math/e_exp10.c: Likewise.
80582         * math/e_exp10f.c: Likewise.
80583         * math/e_exp10l.c: Likewise.
80584         * math/e_exp2l.c: Likewise.
80585         * math/e_fmodl.c: Likewise.
80586         * math/e_gammal_r.c: Likewise.
80587         * math/e_hypotl.c: Likewise.
80588         * math/e_j0l.c: Likewise.
80589         * math/e_j1l.c: Likewise.
80590         * math/e_jnl.c: Likewise.
80591         * math/e_lgammal_r.c: Likewise.
80592         * math/e_log10l.c: Likewise.
80593         * math/e_log2l.c: Likewise.
80594         * math/e_logl.c: Likewise.
80595         * math/e_powl.c: Likewise.
80596         * math/e_sinhl.c: Likewise.
80597         * math/e_sqrtl.c: Likewise.
80598         * math/e_scalb.c: Completely rewritten and optimized.
80599         * math/e_scalbf.c: Likewise.
80600         * math/e_scalbl.c: Likewise.
80601         * math/w_acos.c: Likewise.
80602         * math/w_acosf.c: Likewise.
80603         * math/w_acosl.c: Likewise.
80604         * math/w_acosh.c: Likewise.
80605         * math/w_acoshf.c: Likewise.
80606         * math/w_acoshl.c: Likewise.
80607         * math/w_asin.c: Likewise.
80608         * math/w_asinf.c: Likewise.
80609         * math/w_asinl.c: Likewise.
80610         * math/w_atan2.c: Likewise.
80611         * math/w_atan2f.c: Likewise.
80612         * math/w_atan2l.c: Likewise.
80613         * math/w_atanh.c: Likewise.
80614         * math/w_atanhf.c: Likewise.
80615         * math/w_atanhl.c: Likewise.
80616         * math/w_exp10.c: Likewise.
80617         * math/w_exp10f.c: Likewise.
80618         * math/w_exp10l.c: Likewise.
80619         * math/w_fmod.c: Likewise.
80620         * math/w_fmodf.c: Likewise.
80621         * math/w_fmodl.c: Likewise.
80622         * math/w_j0.c: Likewise.
80623         * math/w_j0f.c: Likewise.
80624         * math/w_j0l.c: Likewise.
80625         * math/w_j1.c: Likewise.
80626         * math/w_j1f.c: Likewise.
80627         * math/w_j1l.c: Likewise.
80628         * math/w_jn.c: Likewise.
80629         * math/w_jnf.c: Likewise.
80630         * math/w_log.c: Likewise.
80631         * math/w_logf.c: Likewise.
80632         * math/w_logl.c: Likewise.
80633         * math/w_log10.c: Likewise.
80634         * math/w_log10f.c: Likewise.
80635         * math/w_log10l.c: Likewise.
80636         * math/w_log2.c: Likewise.
80637         * math/w_log2f.c: Likewise.
80638         * math/w_log2l.c: Likewise.
80639         * math/w_pow.c: Likewise.
80640         * math/w_powf.c: Likewise.
80641         * math/w_powl.c: Likewise.
80642         * math/w_remainder.c: Likewise.
80643         * math/w_remainderf.c: Likewise.
80644         * math/w_remainderl.c: Likewise.
80645         * math/w_scalb.c: Likewise.
80646         * math/w_scalbf.c: Likewise.
80647         * math/w_scalbl.c: Likewise.
80648         * math/w_sqrt.c: Likewise.
80649         * math/w_sqrtf.c: Likewise.
80650         * math/w_sqrtl.c: Likewise.
80651         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80652         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
80653         used.
80654         * math/math_private.h: Declare __kernel_standard_f.
80655         * math/w_cosh.c: Remove cruft and optimize a bit.
80656         * math/w_coshf.c: Likewise.
80657         * math/w_coshl.c: Likewise.
80658         * math/w_exp2.c: Likewise.
80659         * math/w_exp2f.c: Likewise.
80660         * math/w_exp2l.c: Likewise.
80661         * math/w_hypot.c: Likewise.
80662         * math/w_hypotf.c: Likewise.
80663         * math/w_hypotl.c: Likewise.
80664         * math/w_lgamma.c: Likewise.
80665         * math/w_lgamma_r.c: Likewise.
80666         * math/w_lgammaf.c: Likewise.
80667         * math/w_lgammaf_r.c: Likewise.
80668         * math/w_lgammal.c: Likewise.
80669         * math/w_lgammal_r.c: Likewise.
80670         * math/w_sinh.c: Likewise.
80671         * math/w_sinhf.c: Likewise.
80672         * math/w_sinhl.c: Likewise.
80673         * math/w_tgamma.c: Likewise.
80674         * math/w_tgammaf.c: Likewise.
80675         * math/w_tgammal.c: Likewise.
80676         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80677         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80678         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80679         Minor optimizations.  Pretty printing.  Remove cruft.
80680         * sysdeps/i386/fpu/e_acosf.S: Likewise.
80681         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80682         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80683         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80684         * sysdeps/i386/fpu/e_acosl.c: Likewise.
80685         * sysdeps/i386/fpu/e_asin.S: Likewise.
80686         * sysdeps/i386/fpu/e_asinf.S: Likewise.
80687         * sysdeps/i386/fpu/e_atan2.S: Likewise.
80688         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80689         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80690         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80691         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80692         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80693         * sysdeps/i386/fpu/e_exp10.S: Likewise.
80694         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80695         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80696         * sysdeps/i386/fpu/e_exp2.S: Likewise.
80697         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80698         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80699         * sysdeps/i386/fpu/e_fmod.S: Likewise.
80700         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80701         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80702         * sysdeps/i386/fpu/e_hypot.S: Likewise.
80703         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80704         * sysdeps/i386/fpu/e_log.S: Likewise.
80705         * sysdeps/i386/fpu/e_log10.S: Likewise.
80706         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80707         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80708         * sysdeps/i386/fpu/e_log2.S: Likewise.
80709         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80710         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80711         * sysdeps/i386/fpu/e_logf.S: Likewise.
80712         * sysdeps/i386/fpu/e_logl.S: Likewise.
80713         * sysdeps/i386/fpu/e_pow.S: Likewise.
80714         * sysdeps/i386/fpu/e_powf.S: Likewise.
80715         * sysdeps/i386/fpu/e_powl.S: Likewise.
80716         * sysdeps/i386/fpu/e_remainder.S: Likewise.
80717         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80718         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80719         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80720         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80721         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80722         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80723         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80724         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80725         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80726         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80727         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80728         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80729         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80730         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80731         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80732         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80733         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80734         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80735         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80736         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80737         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80738         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80739         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80740         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80741         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80742         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80743         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80744         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80745         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80746         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80747         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80748         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80749         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80750         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80751         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80752         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80753         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80754         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80755         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80756         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80757         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80758         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80759         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80760         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80761         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80762         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80763         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80764         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80765         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80766         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80767         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80768         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80769         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80770         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80771         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80772         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80773         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80774         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80775         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80776         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80777         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80778         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80779         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80780         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80781         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80782         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80783         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80784         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80785         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80786         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80787         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80788         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80789         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80790         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80791         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80792         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80793         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80794         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80795         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80796         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80797         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80798         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80799         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80800         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80801         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80802         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80803         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80804         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80805         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80806         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80807         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80808         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80809         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80810         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80811         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80812         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80813         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80814         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80815         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80816         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80817         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80818         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80819         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80820         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80821         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80822         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80823         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80824         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80825         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80826         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80827         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80828         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80829         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80830         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80831         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80832         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80833         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80834         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80835         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
80836         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80837         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80838         (__isnanf): Likewise.
80839         (__isinf_ns): Likewise.
80840         (__isinf_nsf): Likewise.
80841         (__finite): Likewise.
80842         (__finitef): Likewise.
80843         (__ieee754_sqrt): Define as macro.
80844         (__ieee754_sqrtf): Define as macro.
80845         (__ieee754_sqrtl): Define as macro.
80846         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80847         inlined copy.
80848         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80849         __FINITE_MATH_ONLY__ consistent.
80850         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80852 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
80854         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80855         of rawmemchr.
80857         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80859 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
80861         * po/ja.po: Update from translation team.
80863 2011-10-08  Roland McGrath  <roland@hack.frob.com>
80865         * locale/programs/locarchive.c (prepare_address_space): New function.
80866         (create_archive, enlarge_archive, open_archive): Use it.
80868         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80869         inside [SHARED], where it is used.
80871         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80873         * nss/getent.c (netgroup_keys): Remove unused variable.
80874         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80876 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
80878         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80879         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80880         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80881         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80882         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80883         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80884         * math/Makefile (libm-calls): Add s_isinf_ns.
80885         * math/divtc3.c: Use __isinf_nsl instead of isinf.
80886         * math/multc3.c: Likewise.
80887         * math/s_casin.c: Likewise.
80888         * math/s_casinf.c: Likewise.
80889         * math/s_casinl.c: Likewise.
80890         * math/s_ccos.c: Likewise.
80891         * math/s_ccosf.c: Likewise.
80892         * math/s_ccosl.c: Likewise.
80893         * math/s_ctan.c: Likewise.
80894         * math/s_ctanf.c: Likewise.
80895         * math/s_ctanh.c: Likewise.
80896         * math/s_ctanhf.c: Likewise.
80897         * math/s_ctanhl.c: Likewise.
80898         * math/s_ctanl.c: Likewise.
80899         * math/w_fmod.c: Likewise.
80900         * math/w_fmodf.c: Likewise.
80901         * math/w_fmodl.c: Likewise.
80902         * math/w_remainder.c: Likewise.
80903         * math/w_remainderf.c: Likewise.
80904         * math/w_remainderl.c: Likewise.
80905         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80906         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80907         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80908         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80909         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80910         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80911         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80912         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80914         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80915         of the number.
80916         * stdio-common/printf_fphex.c: Likewise.
80917         * stdio-common/printf_size.c: Likewise.
80919         * math/e_exp10.c: Include math_private.h using <...> not "...".
80920         * math/e_exp10f.c: Likewise.
80921         * math/e_exp10l.c: Likewise.
80922         * math/e_exp2l.c: Likewise.
80923         * math/e_j0l.c: Likewise.
80924         * math/e_j1l.c: Likewise.
80925         * math/e_jnl.c: Likewise.
80926         * math/e_lgammal_r.c: Likewise.
80927         * math/e_rem_pio2l.c: Likewise.
80928         * math/e_scalb.c: Likewise.
80929         * math/e_scalbf.c: Likewise.
80930         * math/e_scalbl.c: Likewise.
80931         * math/k_cosl.c: Likewise.
80932         * math/k_sinl.c: Likewise.
80933         * math/k_tanl.c: Likewise.
80934         * math/s_cacoshf.c: Likewise.
80935         * math/s_catan.c: Likewise.
80936         * math/s_catanf.c: Likewise.
80937         * math/s_catanh.c: Likewise.
80938         * math/s_catanhf.c: Likewise.
80939         * math/s_catanhl.c: Likewise.
80940         * math/s_catanl.c: Likewise.
80941         * math/s_ccosh.c: Likewise.
80942         * math/s_ccoshf.c: Likewise.
80943         * math/s_ccoshl.c: Likewise.
80944         * math/s_cexp.c: Likewise.
80945         * math/s_cexpf.c: Likewise.
80946         * math/s_cexpl.c: Likewise.
80947         * math/s_clog.c: Likewise.
80948         * math/s_clog10.c: Likewise.
80949         * math/s_clog10f.c: Likewise.
80950         * math/s_clog10l.c: Likewise.
80951         * math/s_clogf.c: Likewise.
80952         * math/s_clogl.c: Likewise.
80953         * math/s_csin.c: Likewise.
80954         * math/s_csinf.c: Likewise.
80955         * math/s_csinh.c: Likewise.
80956         * math/s_csinhf.c: Likewise.
80957         * math/s_csinhl.c: Likewise.
80958         * math/s_csinl.c: Likewise.
80959         * math/s_csqrt.c: Likewise.
80960         * math/s_csqrtf.c: Likewise.
80961         * math/s_csqrtl.c: Likewise.
80962         * math/s_ctan.c: Likewise.
80963         * math/s_ctanf.c: Likewise.
80964         * math/s_ctanh.c: Likewise.
80965         * math/s_ctanhf.c: Likewise.
80966         * math/s_ctanhl.c: Likewise.
80967         * math/s_ctanl.c: Likewise.
80968         * math/s_ldexp.c: Likewise.
80969         * math/s_ldexpf.c: Likewise.
80970         * math/s_ldexpl.c: Likewise.
80971         * math/s_significand.c: Likewise.
80972         * math/s_significandf.c: Likewise.
80973         * math/s_significandl.c: Likewise.
80974         * math/w_acos.c: Likewise.
80975         * math/w_acosf.c: Likewise.
80976         * math/w_acosh.c: Likewise.
80977         * math/w_acoshf.c: Likewise.
80978         * math/w_acoshl.c: Likewise.
80979         * math/w_acosl.c: Likewise.
80980         * math/w_asin.c: Likewise.
80981         * math/w_asinf.c: Likewise.
80982         * math/w_asinl.c: Likewise.
80983         * math/w_atan2.c: Likewise.
80984         * math/w_atan2f.c: Likewise.
80985         * math/w_atan2l.c: Likewise.
80986         * math/w_atanh.c: Likewise.
80987         * math/w_atanhf.c: Likewise.
80988         * math/w_atanhl.c: Likewise.
80989         * math/w_cosh.c: Likewise.
80990         * math/w_coshf.c: Likewise.
80991         * math/w_coshl.c: Likewise.
80992         * math/w_dremf.c: Likewise.
80993         * math/w_exp10.c: Likewise.
80994         * math/w_exp10f.c: Likewise.
80995         * math/w_exp10l.c: Likewise.
80996         * math/w_exp2.c: Likewise.
80997         * math/w_exp2f.c: Likewise.
80998         * math/w_fmod.c: Likewise.
80999         * math/w_fmodf.c: Likewise.
81000         * math/w_fmodl.c: Likewise.
81001         * math/w_hypot.c: Likewise.
81002         * math/w_hypotf.c: Likewise.
81003         * math/w_hypotl.c: Likewise.
81004         * math/w_j0.c: Likewise.
81005         * math/w_j0f.c: Likewise.
81006         * math/w_j0l.c: Likewise.
81007         * math/w_j1.c: Likewise.
81008         * math/w_j1f.c: Likewise.
81009         * math/w_j1l.c: Likewise.
81010         * math/w_jn.c: Likewise.
81011         * math/w_jnf.c: Likewise.
81012         * math/w_jnl.c: Likewise.
81013         * math/w_lgamma.c: Likewise.
81014         * math/w_lgamma_r.c: Likewise.
81015         * math/w_lgammaf.c: Likewise.
81016         * math/w_lgammaf_r.c: Likewise.
81017         * math/w_lgammal.c: Likewise.
81018         * math/w_lgammal_r.c: Likewise.
81019         * math/w_log.c: Likewise.
81020         * math/w_log10.c: Likewise.
81021         * math/w_log10f.c: Likewise.
81022         * math/w_log10l.c: Likewise.
81023         * math/w_log2.c: Likewise.
81024         * math/w_log2f.c: Likewise.
81025         * math/w_log2l.c: Likewise.
81026         * math/w_logf.c: Likewise.
81027         * math/w_logl.c: Likewise.
81028         * math/w_pow.c: Likewise.
81029         * math/w_powf.c: Likewise.
81030         * math/w_powl.c: Likewise.
81031         * math/w_remainder.c: Likewise.
81032         * math/w_remainderf.c: Likewise.
81033         * math/w_remainderl.c: Likewise.
81034         * math/w_scalb.c: Likewise.
81035         * math/w_scalbf.c: Likewise.
81036         * math/w_scalbl.c: Likewise.
81037         * math/w_sinh.c: Likewise.
81038         * math/w_sinhf.c: Likewise.
81039         * math/w_sinhl.c: Likewise.
81040         * math/w_sqrt.c: Likewise.
81041         * math/w_sqrtf.c: Likewise.
81042         * math/w_sqrtl.c: Likewise.
81043         * math/w_tgamma.c: Likewise.
81044         * math/w_tgammaf.c: Likewise.
81045         * math/w_tgammal.c: Likewise.
81047         * po/ja.po: Update from translation team.
81049 2011-09-29  Andreas Jaeger  <aj@suse.de>
81051         [BZ #13179]
81052         * sunrpc/netname.c (netname2host): Fix logic.
81054         [BZ #6779]
81055         [BZ #6783]
81056         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81057         correctly.
81058         * math/w_remainder.c (__remainder): Likewise.
81059         * math/w_remainderf.c (__remainderf): Likewise.
81060         * math/libm-test.inc (remainder_test): Add test cases.
81062 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81064         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
81065         sdiv_qrnnd.
81067 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
81069         * string/test-memcmp.c: Avoid unncessary #defines.
81070         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81072 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81074         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81075         Use new sse2 version for core i3 - i7 as it's faster
81076         than sse42 version.
81077         (bit_Prefer_PMINUB_for_stringop): New.
81078         * sysdeps/x86_64/rawmemchr.S: Update.
81079         Replace with faster SSE2 version.
81080         * sysdeps/x86_64/memrchr.S: New file.
81081         * sysdeps/x86_64/memchr.S: Update.
81082         Replace with faster SSE2 version.
81084 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
81086         * elf/dl-load.c (lose): Add cast to avoid warning.
81088 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
81090         * po/ca.po: Update from translation team.
81092         * inet/getnetgrent_r.c: Hook up nscd.
81093         * nscd/Makefile (routines): Add nscd_netgroup.
81094         (nscd-modules): Add netgroupcache.
81095         (CFLAGS-netgroupcache.c): Define.
81096         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81097         (cache_search): Add const to second parameter.
81098         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81099         INNETGR.
81100         (dbs): Add netgrdb entry.
81101         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81102         (verify_persistent_db): Handle netgrdb.
81103         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81104         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81105         GETFDNETGR.
81106         (netgroup_response_header): Define.
81107         (innetgroup_response_header): Define.
81108         (datahead): Add netgroup_response_header and innetgroup_response_header
81109         elements.
81110         * nscd/nscd.conf: Add entries for netgroup cache.
81111         * nscd/nscd.h (dbtype): Add netgrdb.
81112         (_PATH_NSCD_NETGROUP_DB): Define.
81113         (netgroup_iov_disabled): Declare.
81114         (xmalloc, xcalloc, xrealloc): Move declarations here.
81115         (cache_search): Adjust prototype.
81116         Add netgroup-related prototypes.
81117         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81118         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81119         (__nscd_innetgr): Declare.
81120         * nscd/selinux.c (perms): Use access_vector_t as element type and
81121         add netgroup-related initializers.
81122         * nscd/netgroupcache.c: New file.
81123         * nscd/nscd_netgroup.c: New file.
81124         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81125         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81126         For four parameters use innetgr.
81127         * nss/nss_files/files-init.c: Add definition and callback for netgr.
81128         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81129         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81130         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81132         * nscd/connections.c (register_traced_file): Don't register file
81133         for disabled databases.
81135 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
81137         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81139         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81140         from tree and freeing node.
81142 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
81144         * nss/nsswitch.c (__nss_database_lookup): Handle
81145         nss_parse_service_list out of memory case.
81147 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
81149         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81150         out of memory case.
81152 2011-10-04  Andreas Schwab  <schwab@redhat.com>
81154         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81155         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81156         pass it down.
81157         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81158         elf_machine_rela, elf_machine_lazy_rel.
81159         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81160         (ELF_DYNAMIC_DO_REL): Likewise.
81161         (ELF_DYNAMIC_DO_RELA): Likewise.
81162         (ELF_DYNAMIC_RELOCATE): Likewise.
81163         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81164         to ELF_DYNAMIC_DO_REL.
81165         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81166         (dl_main): In trace mode always set __RTLD_NOIFUNC.
81167         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81168         elf_machine_rela.
81169         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81170         skip_ifunc, don't call ifunc function if non-zero.
81171         (elf_machine_rela): Likewise.
81172         (elf_machine_lazy_rel): Likewise.
81173         (elf_machine_lazy_rela): Likewise.
81174         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81175         (elf_machine_lazy_rel): Likewise.
81176         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81177         Likewise.
81178         (elf_machine_lazy_rel): Likewise.
81179         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81180         Likewise.
81181         (elf_machine_lazy_rel): Likewise.
81182         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81183         (elf_machine_lazy_rel): Likewise.
81184         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81185         (elf_machine_lazy_rel): Likewise.
81186         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81187         (elf_machine_lazy_rel): Likewise.
81188         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81189         (elf_machine_lazy_rel): Likewise.
81190         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81191         (elf_machine_lazy_rel): Likewise.
81192         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81193         (elf_machine_lazy_rel): Likewise.
81195 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
81197         * nss/nss_files/files-init.c (_nss_files_init): Use static
81198         initialization for all the *_traced_file variables.
81200 2011-09-28  Andreas Schwab  <schwab@redhat.com>
81202         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81204 2011-09-27  Roland McGrath  <roland@hack.frob.com>
81206         [BZ #13226]
81207         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81209 2011-09-27  Andreas Schwab  <schwab@redhat.com>
81211         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81212         Reread the line before reparsing it.
81214 2011-09-26  Andreas Schwab  <schwab@redhat.com>
81216         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81218 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
81219             Maxim Kuvyrkov  <maxim@codesourcery.com>
81220             Joseph Myers  <joseph@codesourcery.com>
81222         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81223         if needed for __stack_chk_guard.
81225 2011-09-19  Roland McGrath  <roland@hack.frob.com>
81227         * sysdeps/posix/spawni.c (script_execute): Always define it.
81228         It will be optimized away if unused.
81229         (maybe_script_execute): New function.
81230         (__spawni): Call it.
81232         * Makerules: Don't include tls.make.
81233         (config-tls): Always set to thread.
81234         * tls.make.c: File removed.
81236 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
81238         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81239         * config.make.in (CPPFLAGS-config): New substituted variable.
81241 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81243         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81245         [BZ #13192]
81246         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81247         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81249 2011-09-15  Roland McGrath  <roland@hack.frob.com>
81251         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81252         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81253         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81254         (CALL_FAIL): Likewise.
81255         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81256         (CALL_FAIL): Macro removed.
81257         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81259 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81261         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81262         for __FINITE_MATH_ONLY__ == 1.
81264 2011-09-15  Andreas Schwab  <schwab@redhat.com>
81266         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81267         __ieee754_sqrt instead of sqrt.
81268         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81269         __ieee754_sqrtf instead of sqrtf.
81270         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81271         __floorf instead of floorf.
81272         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81273         __floorf, __truncf instead of floorf, truncf.
81275 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
81277         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81279         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81280         __extern_always_inline.
81281         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81282         32-bit.
81284 2011-09-14  Andreas Schwab  <schwab@redhat.com>
81286         * elf/rtld.c (dl_main): Also relocate in dependency order when
81287         doing symbol dependency testing.
81289 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
81291         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81292         Always define `refsym'.
81294 2011-09-13  Andreas Schwab  <schwab@redhat.com>
81296         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81297         (__FD_ELT): Renamed from __FDELT.
81298         * misc/bits/select2.h (__FD_ELT): Likewise.
81299         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81300         __FD_MASK instead of __FDELT, __FDMASK.
81301         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81302         Likewise.
81303         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81304         Likewise.
81306         * elf/Makefile (gen-ldd): Fix pattern.
81308         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81309         (init_tls): Likewise.
81311 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
81313         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81315 2011-09-12  Andreas Schwab  <schwab@redhat.com>
81317         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81318         `struct cmsghdr *' instead of `void *'.
81319         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81320         Likewise.
81322 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
81324         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81325         if non-absolute.
81326         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81327         ldd_rewrite_script.
81329 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
81331         * configure.in: Remove --with-tls option.
81332         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81333         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81334         out in case it is missing.
81335         * sysdeps/ia64/elf/configure.in: Likewise.
81336         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81337         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81338         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81339         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81340         * sysdeps/sh/elf/configure.in: Likewise.
81341         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81342         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81343         * sysdeps/x86_64/elf/configure.in: Likewise.
81344         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81345         * sysdeps/mach/hurd/tls.h: Likewise.
81347         [BZ #13067]
81348         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81350         [BZ #13090]
81351         * configure.in: Fix use of AC_INIT.
81353         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81355 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
81357         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81358         __set_errno.
81359         * malloc/hooks.c: Likewise.
81361         [BZ #11929]
81362         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
81363         variables statically.
81364         (narenas): Initialize.
81365         (list_lock): Initialize.
81366         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
81367         initializtion of main_arena and list_lock.  Small cleanups.
81368         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81369         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
81370         Add initializers to main_arena and mp_.
81371         (malloc_state): Remove pagesize member.  Change all users to use
81372         GLRO(dl_pagesize).
81374         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81375         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
81376         is always initialized.
81378         * malloc/malloc.c: Removed unused configurations and dead code.
81379         * malloc/arena.c: Likewise.
81380         * malloc/hooks.c: Likewise.
81381         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81383         * include/tls.h: Removed.  USE___THREAD must always be defined.
81384         * bits/libc-tsd.h: Don't handle !USE___THREAD.
81385         * elf/dl-libc.c: Likewise.
81386         * elf/dl-tsd.c: Likewise.
81387         * include/errno.h: Likewise.
81388         * include/netdb.h: Likewise.
81389         * include/resolv.h: Likewise.
81390         * inet/herrno-loc.c: Likewise.
81391         * inet/herrno.c: Likewise.
81392         * malloc/arena.c: Likewise.
81393         * malloc/hooks.c: Likewise.
81394         * malloc/malloc.c: Likewise.
81395         * resolv/res-state.c: Likewise.
81396         * resolv/res_libc.c: Likewise.
81397         * sysdeps/i386/dl-machine.h: Likewise.
81398         * sysdeps/ia64/dl-machine.h: Likewise.
81399         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81400         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81401         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81402         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81403         * sysdeps/sh/dl-machine.h: Likewise.
81404         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81405         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81406         * sysdeps/unix/i386/sysdep.S: Likewise.
81407         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81408         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81409         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81410         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81411         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81412         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81413         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81414         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81415         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81417         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81418         * sysdeps/x86_64/dl-machine.h: Likewise.
81419         * tls.make.c: Likewise.
81421         * configure.in: Remove --with-__thread option.  Make tests for
81422         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81423         tls_model attribute fail if no support is available.  Remove
81424         USE_IN_LIBIO.
81425         * Makeconfig: Adjust for dropped configure option.  All features are
81426         now mandatory.
81427         * Makerules: Likewise.
81428         * Versions.def: Likewise.
81429         * argp/argp-fmtstream.c: Likewise.
81430         * argp/argp-fmtstream.h: Likewise.
81431         * argp/argp-help.c: Likewise.
81432         * assert/assert.c: Likewise.
81433         * config.h.in: Likewise.
81434         * config.make.in: Likewise.
81435         * configure: Likewise.
81436         * configure.in: Likewise.
81437         * csu/Versions: Likewise.
81438         * csu/init.c: Likewise.
81439         * elf/tst-audit2.c: Likewise.
81440         * elf/tst-tls10.c: Likewise.
81441         * elf/tst-tls10.h: Likewise.
81442         * elf/tst-tls11.c: Likewise.
81443         * elf/tst-tls12.c: Likewise.
81444         * elf/tst-tls14.c: Likewise.
81445         * elf/tst-tlsmod11.c: Likewise.
81446         * elf/tst-tlsmod12.c: Likewise.
81447         * elf/tst-tlsmod13.c: Likewise.
81448         * elf/tst-tlsmod13a.c: Likewise.
81449         * elf/tst-tlsmod14a.c: Likewise.
81450         * elf/tst-tlsmod15b.c: Likewise.
81451         * elf/tst-tlsmod16a.c: Likewise.
81452         * elf/tst-tlsmod16b.c: Likewise.
81453         * elf/tst-tlsmod7.c: Likewise.
81454         * elf/tst-tlsmod8.c: Likewise.
81455         * elf/tst-tlsmod9.c: Likewise.
81456         * gmon/gmon.c: Likewise.
81457         * grp/fgetgrent_r.c: Likewise.
81458         * grp/putgrent.c: Likewise.
81459         * hurd/fopenport.c: Likewise.
81460         * include/libc-symbols.h: Likewise.
81461         * include/tls.h: Likewise.
81462         * intl/gettextP.h: Likewise.
81463         * intl/loadinfo.h: Likewise.
81464         * locale/global-locale.c: Likewise.
81465         * locale/localeinfo.h: Likewise.
81466         * mach/devstream.c: Likewise.
81467         * malloc/arena.c: Likewise.
81468         * malloc/set-freeres.c: Likewise.
81469         * misc/err.c: Likewise.
81470         * misc/getttyent.c: Likewise.
81471         * misc/mntent_r.c: Likewise.
81472         * posix/getopt.c: Likewise.
81473         * posix/wordexp.c: Likewise.
81474         * pwd/fgetpwent_r.c: Likewise.
81475         * resolv/Versions: Likewise.
81476         * resolv/res_hconf.c: Likewise.
81477         * shadow/fgetspent_r.c: Likewise.
81478         * shadow/putspent.c: Likewise.
81479         * stdio-common/printf_fphex.c: Likewise.
81480         * stdio-common/tmpfile.c: Likewise.
81481         * stdlib/abort.c: Likewise.
81482         * stdlib/fmtmsg.c: Likewise.
81483         * sunrpc/auth_unix.c: Likewise.
81484         * sunrpc/clnt_perr.c: Likewise.
81485         * sunrpc/clnt_tcp.c: Likewise.
81486         * sunrpc/clnt_udp.c: Likewise.
81487         * sunrpc/clnt_unix.c: Likewise.
81488         * sunrpc/openchild.c: Likewise.
81489         * sunrpc/svc_simple.c: Likewise.
81490         * sunrpc/svc_tcp.c: Likewise.
81491         * sunrpc/svc_udp.c: Likewise.
81492         * sunrpc/svc_unix.c: Likewise.
81493         * sunrpc/xdr.c: Likewise.
81494         * sunrpc/xdr_array.c: Likewise.
81495         * sunrpc/xdr_rec.c: Likewise.
81496         * sunrpc/xdr_ref.c: Likewise.
81497         * sunrpc/xdr_stdio.c: Likewise.
81499 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81501         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81503 2011-07-03  Andreas Jaeger  <aj@suse.de>
81505         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81506         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81507         regenerate with gen-libm-tests.pl.
81509 2010-05-12  Petr Baudis  <pasky@suse.cz>
81511         [BZ #11589]
81512         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81513         around j0() zero points by switching to j1().
81514         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81515         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81516         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81517         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81519 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81521         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81522         instead of 0.
81523         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81524         instead of 0.
81525         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81526         Patch in part by Pavel Roskin <proski@gnu.org>.
81528         [BZ #13138]
81529         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81530         realloc.
81531         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
81532         Free memory block if necessary.
81534         [BZ #12847]
81535         * libio/genops.c (INTDEF): For string streams the _lock pointer can
81536         be NULL.  Don't lock in this case.
81538 2011-09-09  Roland McGrath  <roland@hack.frob.com>
81540         * elf/elf.h (ELFOSABI_GNU): New macro.
81541         (ELFOSABI_LINUX): Define to that.
81543 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
81545         * string/strncat.c (strncat): Undef the symbol in case it has been
81546         defined in bits/string.h.
81548 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81550         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
81552         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
81553         link map.
81555 2011-08-17  Andreas Jaeger  <aj@suse.de>
81557         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
81559 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
81560             Ian Lance Taylor  <iant@google.com>
81562         * math/libm-test.inc (lround_test): New testcase.
81563         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
81565 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
81567         * Makefile: Remove support for automatic cvs check-ins.
81568         * Makerules: Likewise.
81569         * config.make.in: Likewise.
81570         * configure.in: Likewise.
81571         * intl/Makefile: Likewise.
81572         * locale/Makefile: Likewise.
81573         * po/Makefile: Likewise.
81574         * posix/Makefile: Likewise.
81575         * sysdeps/gnu/Makefile: Likewise.
81576         * sysdeps/mach/hurd/Makefile: Likewise.
81577         * sysdeps/sparc/sparc32/Makefile: Likewise.
81579         [BZ #13118]
81580         * posix/Makefile (bug-regex32-ENV): Define.
81581         Patch by John Stanley <jpsinthemix@verizon.net>.
81583         * misc/Makefile (headers): Add bits/select2.h.
81584         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81585         * misc/bits/select2.h: New file.
81586         * include/bits/select2.h: New file.
81587         * debug/Makefile (routines): Add fdelt_chk.
81588         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81589         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81590         FD_ISSET.
81591         * debug/fdelt_chk.c: New file.
81593         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
81594         * wcsmbs/test-wmemcmp.c: Likewise.
81595         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81596         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81598 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81600         * string/Makefile (strop-tests): Add memcmp.
81601         * string/test-wmemcmp.c: New file.
81602         * string/test-memcmp.c: Add wmemcmp support.
81604 2011-09-08  Roland McGrath  <roland@hack.frob.com>
81606         [BZ #13153]
81607         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81608         2011-07-19 change.
81610         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81611         garbage value in a __mach_port_mod_refs call in the cases of the
81612         task-self and thread-self ports.
81614 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81616         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81618 2011-09-08  Andreas Schwab  <schwab@redhat.com>
81620         * elf/dl-load.c (lose): Check for non-null L.
81622 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81624         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81626         * elf/dl-libc.c (dlerror_run): Pass back error code from
81627         dl_catch_error.
81629         [BZ #13123]
81630         * elf/dl-load.c (lose): Free l_origin if it is valid.
81632         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81633         names.
81634         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81635         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81636         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81637         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81638         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81639         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81641 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81643         * sysdeps/powerpc/fpu/e_hypot.c: New file.
81644         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81645         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81646         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81647         * sysdeps/powerpc/fpu/k_cosf.c: New file.
81648         * sysdeps/powerpc/fpu/k_sinf.c: New file.
81649         * sysdeps/powerpc/fpu/s_cosf.c: New file.
81650         * sysdeps/powerpc/fpu/s_sinf.c: New file.
81651         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81652         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81654 2011-08-15  Alan Modra  <amodra@gmail.com>
81656         [BZ #13092]
81657         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81658         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81659         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
81660         ppc_mcount to static-only-routines.
81661         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81662         __mcount_internal.
81663         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81664         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
81666 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
81668         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81669         for finite and infinity parameters.
81671 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81673         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81674         and add nop instructions for throughput optimization.
81675         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81677 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
81679         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81680         aligned copy for power7 with vector-scalar instructions.
81681         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81683 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
81685         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81686         AVX check.
81688 2011-09-07  Andreas Schwab  <schwab@redhat.com>
81690         [BZ #13144]
81691         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81692         last change.
81694 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81696         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81697         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81698         syscall wrapper around clock_gettime in __vdso_clock_gettime.
81699         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81700         clock_gettime.
81702 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81704         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81705         Forgot to demangle the pointer.
81707         * sysdeps/i386/sysdep.h: Define atom_text_section.
81708         * sysdeps/x86_64/sysdep.h: Likewise.
81709         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81710         section with atom_text_section.
81711         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81712         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81713         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81714         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81715         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81717         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81718         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81719         already be defined.  Change to take two parameters and don't assign
81720         result to variable.  Adjust all users.
81721         Define INTERNAL_GETTIME if not already defined.
81722         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81723         call.
81724         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81725         HAVE_CLOCK_GETTIME_VSYSCALL.
81726         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81728         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81729         gettimeofday vsyscall, just use time.
81731 2011-09-06  Andreas Schwab  <schwab@redhat.com>
81733         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81734         <errno.h>.
81736 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81738         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81739         syscall on x86-64.
81740         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81741         syscall.
81742         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81743         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81744         syscall if possible.
81746 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81748         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81749         e_ident.  Don't pass to find_mapsXX.
81750         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81752 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81755         strchr-sse2-no-bsf strrchr-sse2-no-bsf
81756         * sysdeps/x86_64/multiarch/strchr.S: Update.
81757         Check bit_slow_BSF bit.
81758         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81759         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81760         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81762 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81764         [BZ #13134]
81765         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81766         before glibc 2.15.
81767         (tryshell): Define.
81768         (__spawni): Change last parameter to be flag.  Test
81769         SPAWN_XFLAGS_USE_PATH flag to use path or not.
81770         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81771         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81772         * posix/spawni.c: Likewise.
81773         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81774         * posix/spawnp.c: Likewise.  Change normal version to use
81775         SPAWN_XFLAGS_USE_PATH.
81776         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81777         SPAWN_XFLAGS_TRY_SHELL.
81779         [BZ #13150]
81780         * posix/glob.h: Remove gcc 1.x support.
81782         [BZ #13068]
81783         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81785 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81787         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81788         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81789         strrchr-sse2-bsf
81790         * sysdeps/i386/i686/multiarch/strchr.S: New file.
81791         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81792         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81793         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81794         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81795         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81797 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81799         * sysdeps/x86_64/wcscmp.S: New file.
81801         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81802         wcscmp-c wcscmp-sse2
81803         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81804         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81805         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81806         * wcsmbs/wcscmp.c: Allow renaming.
81808 2011-09-05  David S. Miller  <davem@davemloft.net>
81810         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81811         stack slot, rather than the struct return pointer slot.
81812         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81813         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81815         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81817 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81819         * po/ja.po: Update from translation team.
81821         [BZ #13144]
81822         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81823         kernel in 64-bit binaries.
81825 2011-09-01  David S. Miller  <davem@davemloft.net>
81827         * elf/elf.h (HWCAP_SPARC_*): Move to..
81828         * sysdeps/sparc/sysdep.h: this new file and add new values.
81829         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81830         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81831         _DL_HWCAP_COUNT to 24.
81832         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81833         entries.
81834         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81835         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81836         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81837         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81838         instead of magic constants.
81839         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81841 2011-08-31  David S. Miller  <davem@davemloft.net>
81843         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81844         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81845         Reimplement to do errno handling inline.
81846         (SYSCALL_ERROR_HANDLER): New macro.
81847         (__SYSCALL_STRING): Do not do errno handling in asm.
81848         (__CLONE_SYSCALL_STRING): Delete.
81849         (__INTERNAL_SYSCALL_STRING): Delete.
81850         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81851         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81852         (PSEUDO): Reimplement to do errno handling inline.
81853         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81854         (SYSCALL_ERROR_HANDLER): New macro.
81855         (__SYSCALL_STRING): Do not do errno handling in asm.
81856         (__CLONE_SYSCALL_STRING): Delete.
81857         (__INTERNAL_SYSCALL_STRING): Delete.
81858         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81859         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81860         i386.
81861         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81862         (inline_syscall*): Add 'err' argument.
81863         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81864         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81865         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81866         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81868         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81869         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81871 2011-08-30  Andreas Schwab  <schwab@redhat.com>
81873         * elf/rtld.c (dl_main): Relocate objects in dependency order.
81875 2011-08-29  Jiri Olsa <jolsa@redhat.com>
81877         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81878         directive.
81880 2011-08-24  David S. Miller  <davem@davemloft.net>
81882         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81884 2011-08-24  Andreas Schwab  <schwab@redhat.com>
81886         * elf/Makefile: Add rules to build and run unload8 test.
81887         * elf/unload8.c: New file.
81888         * elf/unload8mod1.c: New file.
81889         * elf/unload8mod1x.c: New file.
81890         * elf/unload8mod2.c: New file.
81891         * elf/unload8mod3.c: New file.
81893         * elf/dl-close.c (_dl_close_worker): Reset private search list if
81894         it wasn't used.
81896 2011-08-23  David S. Miller  <davem@davemloft.net>
81898         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81899         subtract stack bias.
81900         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81901         %sp not %fp in calculations.
81902         (_JMPBUF_UNWINDS_ADJ): Likewise.
81904         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81905         (aio_suspend): Call it to force an exception region around the
81906         AIO_MISC_WAIT() invocation.
81908 2011-08-23  Andreas Schwab  <schwab@redhat.com>
81910         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81911         backslash.
81913 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
81915         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81916         protection macro.
81917         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81918         and <dl-machine.h>.
81919         (Elf64_FuncDesc): Remove.
81921 2011-08-22  David S. Miller  <davem@davemloft.net>
81923         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81924         sigaltstack check, add missing cfi directives.
81925         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81926         missing cfi directives, and sigaltstack handling.
81928 2011-08-16  Andreas Schwab  <schwab@redhat.com>
81930         [BZ #11724]
81931         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81932         object is seen twice.
81933         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81935         * elf/Makefile (distribute): Add tst-initorder2.c.
81936         (tests): Add tst-initorder2.
81937         (modules-names): Add tst-initorder2a tst-initorder2b
81938         tst-initorder2c tst-initorder2d.  Add rules to build them.
81939         ($(objpfx)tst-initorder2.out): New rule.
81940         * elf/tst-initorder2.c: New file.
81941         * elf/tst-initorder2.exp: New file.
81943 2011-08-22  Andreas Schwab  <schwab@redhat.com>
81945         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81947         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81948         dependencies back to end of function.
81950         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81951         $(elfobjdir)/ld.so.
81953 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
81955         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81956         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81957         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81958         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81959         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81960         of __vdso_gettimeofday.
81961         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81962         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
81963         attribute_hidden.
81964         (_libc_vdso_platform_setup): Remove initialization of
81965         __vdso_gettimeofday and __vdso_time.
81967 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81969         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81970         and fgetc_unlocked.
81971         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81972         getc_unlocked.
81974         * elf/dl-open.c (add_to_global): Report additions to the global scope
81975         for LD_DEBUG=scopes.
81976         (dl_open_worker): Also print scope of newly loaded dependencies.
81977         (_dl_show_scope): Indicate if there is no scope.
81979         [BZ #13114]
81980         * stdio-common/Makefile (tests): Add bug24.
81981         * stdio-common/bug24.c: New file.
81983 2011-08-19  Andreas Jaeger  <aj@suse.de>
81985         [BZ #13114]
81986         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81987         non-existant file when using close-on-exec mode.
81989 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81991         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81992         the very first instruction.
81994         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81995         the CFI state in the end.
81996         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81997         inclusion of dl-trampoline.h.
81998         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
82000 2011-08-19  Andreas Schwab  <schwab@redhat.com>
82002         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
82003         expectations for long double.
82005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
82006         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
82008 2011-08-14  David S. Miller  <davem@davemloft.net>
82010         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
82011         artificual limit depends upon the system page size.
82013 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
82015         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
82016         * resolv/Makefile: Define CFLAGS-libresolv.
82018 2011-08-17  Andreas Schwab  <schwab@redhat.com>
82020         * nss/makedb.c (compute_tables): Make variables used in nested
82021         function static.
82023 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
82025         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
82026         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82027         if buffer was too small.
82029         * elf/pldd.c (main): Attach to all threads in the process.
82030         Rewrite /proc handling to use *at functions.
82032 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
82034         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82035         specifies first scope to show.
82036         (dl_open_worker): Update callers.  Move printing scope of new
82037         object to before the relocation.
82038         * elf/rtld.c (dl_main): Update _dl_show_scope call.
82039         * sysdeps/generic/ldsodefs.h: Update declaration.
82041         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82042         string for the scope number.
82044 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
82046         * nscd/servicescache.c (cache_addserv): Make sure written is always
82047         initialized.
82049 2011-08-14  Roland McGrath  <roland@hack.frob.com>
82051         * sysdeps/i386/i486/bits/atomic.h
82052         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82053         statement expression, so as to suppress "set but not used" warning.
82054         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82056         * string/strncat.c (STRNCAT): Use prototype definition.
82058         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82059         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82060         -Iprograms here.
82061         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82062         (localedef-modules): Add localedef.
82063         (locale-modules): Add locale.
82065         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82066         * elf/rtld.c (dl_main): Invert order of assignment in last change,
82067         to avoid a warning.
82069 2011-08-14  David S. Miller  <davem@davemloft.net>
82071         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82072         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82074 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
82076         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82077         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82078         * elf/rtld.c (dl_main): Set l_name of vDSO.
82079         Call _dl_show_scope when DL_DEBUG_SCOPES.
82080         (process_dl_debug): Recognize scopes flag and also set it for all.
82081         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82082         Declare _dl_show_scope.
82084         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82085         (do_dlopen): Pass caller_dlopen to dl_open.
82086         (__libc_dlopen_mode): Initialize caller_dlopen.
82088         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82089         of libc.  Make tolower call locale-independent.  Optimize a bit by
82090         using isdigit instead of isalnum.
82091         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82093 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
82095         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82096         was a dependency or dynamically loaded.
82098 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
82100         * intl/l10nflist.c: Allow architecture-specific pop function.
82101         * sysdeps/x86_64/l10nflist.c: New file.
82103         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82104         classification.
82106 2011-08-10  Andreas Schwab  <schwab@redhat.com>
82108         * include/dirent.h: Add libc_hidden_proto for scandirat and
82109         scandirat64.  Don't declare __scandirat64.
82110         * dirent/scandirat.c: Add libc_hidden_def.
82111         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82112         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82114 2011-08-10  David S. Miller  <davem@davemloft.net>
82116         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82117         enum.
82118         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82119         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82120         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82122 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
82124         * Versions.def [libc]: Add GLIBC_2.15.
82125         * dirent/Makefile (routines): Add scandirat and scandirat64.
82126         * dirent/Versions [libc]: Export scandirat and scandirat64 for
82127         GLIBC_2.15.
82128         * dirent/dirent.h: Declare scandirat and scandirat64.
82129         * dirent/scandirat.c: New file.
82130         * dirent/scandirat64.c: New file.
82131         * sysdeps/wordsize-64/scandirat.c: New file.
82132         * sysdeps/wordsize-64/scandirat64.c: New file.
82133         * dirent/opendir.c: Define opendirat.
82134         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
82135         using scandirat.
82136         * dirent/scandir64.c: Adjust for scandir.c change.
82137         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
82138         __scandirat64, and __scandir_cancel_handler.
82139         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
82140         additional parameter and use openat instead of open (outside of ld.so).
82141         Add new __opendir as wrapper around __opendirat.
82142         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82143         here without requiring old scandirat implementation.
82145 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
82147         * dirent/scandir.c (cancel_handler): Renamed to
82148         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
82149         defined.  Adjust users.
82150         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82151         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82153 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
82155         * string/test-string.h (IMPL): Use __STRING to expand name and then
82156         stringify it.
82158         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
82159         of cleanups.
82161 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82163         * string/Makefile: Update.
82164         (strop-tests): Append strncat.
82165         * string/test-wcscmp.c: New file.
82166         New comprehensive test for wcscmp.
82167         * string/test-strcmp.c: Update.
82168         (WIDE): New define.
82170 2011-07-22  Andreas Schwab  <schwab@redhat.com>
82172         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82173         line.
82175 2011-07-26  Andreas Schwab  <schwab@redhat.com>
82177         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82178         encoding to ACE if AI_IDN.
82180 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
82182         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82183         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82185 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82187         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82188         Fix overflow bug in strncat.
82189         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82191         * string/test-strncat.c: Update.
82192         Add new tests for checking overflow bugs.
82194 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82196         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82197         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82198         * sysdeps/i386/i686/multiarch/strcat.S: New file.
82199         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82200         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82201         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82202         * sysdeps/i386/i686/multiarch/strncat.S: New file.
82203         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82204         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82206         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82207         (USE_AS_STRCAT): Define.
82208         Add strcat and strncat support.
82209         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82211 2011-07-25  Andreas Schwab  <schwab@redhat.com>
82213         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82214         __n bigger than INT_MAX+1.
82215         (__strncmp_g): Likewise.
82217 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
82219         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82220         * libio/stido.h: Likewise.
82222         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82223         (AF_NFC): Define.
82224         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82225         (AF_NFC): Define.
82227         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82228         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82229         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82230         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82231         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82233         [BZ #13021]
82234         * scripts/test-installation.pl: Don't expect libnss_test1 to be
82235         installed.
82237         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82238         typo.
82239         (_dl_x86_64_save_sse): Likewise.
82241 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
82243         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82244         OSXSAVE.
82245         (_dl_x86_64_save_sse): Likewise.
82247         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82249         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82251 2011-07-21  Andreas Schwab  <schwab@redhat.com>
82253         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82254         change.
82255         (_dl_x86_64_save_sse): Use correct AVX check.
82257 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82259         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82260         bug in strncpy/strncat.
82261         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82263 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
82265         * string/tester.c (test_strcat): Add tests for different alignments
82266         of source and destination.
82267         (test_strncat): Likewise.
82269 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82271         [BZ #12852]
82272         * posix/glob.c (glob): Check passed in values before using them in
82273         expressions to avoid some overflows.
82274         (glob_in_dir): Likewise.
82276         [BZ #13007]
82277         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82278         check for AVX enablement so that we don't crash with old kernels and
82279         new hardware.
82280         * elf/tst-audit4.c: Add same checks here.
82281         * elf/tst-audit6.c: Likewise.
82283         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82285 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
82287         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82289 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82291         * po/cs.po: Update from translation team.
82292         * po/bg.po: Likewise.
82294 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
82296         * misc/sys/cdefs.h: Add support for const attribute.
82297         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82298         to gnu_dev_{major,minor,makedev} functions.
82300 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
82302         * intl/dcigettext.c (get_output_charset): Add missing bracket.
82304 2011-07-20  Andreas Schwab  <schwab@redhat.com>
82306         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82307         strlen results.
82309 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82311         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82312         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82313         register in order to avoid conflicts with the soft frame pointer
82314         being held in r11 when necessary.
82315         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82316         (INTERNAL_VSYSCALL_NCS): Likewise.
82318 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
82320         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82321         * elf/dl-fini.c (_dl_fini): Adjust caller.
82322         * elf/dl-close.c (_dl_close_worker): Likewise.
82323         * sysdeps/generic/ldsodefs.h: Adjust declaration.
82325 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82327         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82328         "aux_cache->nlibs < 0".
82330         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82331         in the reload-count case.
82333 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82336         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82337         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82338         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82339         * sysdeps/x86_64/multiarch/strcat.S: New file.
82340         * sysdeps/x86_64/multiarch/strncat.S: New file.
82341         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82342         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82343         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82344         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82345         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82346         (USE_AS_STRCAT): Define.
82347         Add strcat and strncat support.
82348         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82349         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82350         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82351         * string/strncat.c: Update.
82352         (USE_AS_STRNCAT): Define.
82353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82354         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82355         and i7.
82356         * sysdeps/x86_64/multiarch/init-arch.h
82357         (bit_Prefer_PMINUB_for_stringop): New.
82358         (index_Prefer_PMINUB_for_stringop): Likewise.
82359         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82360         bit_Prefer_PMINUB_for_stringop.
82362 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82364         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82365         buffer64.
82366         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82367         of casting of buffer.
82368         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82369         buffer32 and buffer64.
82370         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82371         writes instead of casting of buffer.
82372         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82373         buffer32.
82374         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82375         casting of buffer.
82377 2011-07-19  Andreas Schwab  <schwab@redhat.com>
82379         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82381 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82383         * nscd/nscd.c (termination_handler): Don't do anything for a database
82384         if it has not yet been initialized.
82386 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82388         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82390 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82392         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82394 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82396         * po/nl.po: Update from translation team.
82397         * po/sv.po: Likewise.
82399 2011-07-16  Roland McGrath  <roland@hack.frob.com>
82401         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82402         now disallowed by GCC.
82404         * configure.in (use-default-link): Default to yes if a test -shared
82405         link meets our qualifications.
82406         * configure: Regenerated.
82408         * config.make.in (output-format): New variable.
82409         * configure.in: Check for ld --print-output-format support.
82410         * configure: Regenerated.
82411         * Makerules ($(common-objpfx)format.lds)
82412         [$(output-format) != unknown]: Just use $(output-format),
82413         instead of the linker-script munging.
82415 2011-07-14  Roland McGrath  <roland@hack.frob.com>
82417         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82418         of $(common-objpfx)shlib.lds.
82419         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82421         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82422         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82424         * configure.in (-z relro check): Adjust test code to add a large
82425         writable data section after it.
82426         * configure: Regenerated.
82428 2011-07-11  Roland McGrath  <roland@hack.frob.com>
82430         * configure.in (-z relro check): Fix test code to make the variable
82431         truly const.
82432         * configure: Regenerated.
82434 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
82436         * nscd/nscd.h (struct traced_file): Define.
82437         (struct database_dyn): Remove inotify_descr, reset_res, and filename
82438         elements.  Add traced_files.
82439         (inotify_fd): Declare.
82440         (register_traced_file): Declare.
82441         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82442         (inotify_fd): Export.
82443         (resolv_conf_descr): Remove.
82444         (nscd_init): Move inotify descriptor creation to main.
82445         Don't register files for notification here.
82446         (register_traced_file): New function.
82447         (invalidate_cache): Don't use reset_res to determine whether to call
82448         res_init, go through the list of registered files.
82449         (main_loop_poll): The inotify descriptors are now stored in the
82450         structures for the traced files.
82451         (main_loop_epoll): Likewise.
82452         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
82453         to __nss_disable_nscd.
82454         * nscd/cache.c (prune_cache): There is no single inotify descriptor
82455         for a database anymore.  Check the records for all the registered
82456         files instead.
82457         * nss/Makefile (libnss_files-routines): Add files-init.
82458         (libnss_db-routines): Add db-init.
82459         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82460         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82461         * nss/nss_db/db-init.c: New file.
82462         * nss/nss_files/files-init.c: New file.
82463         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
82464         __nss_lookup_function.
82465         (__nss_lookup_function): Call nss_load_library.
82466         (nss_load_all_libraries): New function.
82467         (__nss_disable_nscd): Take parameter with callback function for files
82468         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
82469         used for the cached services.
82470         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82471         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82472         options for features to all the files in nscd.
82474         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82476 2011-07-10  Roland McGrath  <roland@hack.frob.com>
82478         * csu/elf-init.c (__libc_csu_init): Comment typo.
82480 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
82482         * po/pl.po: Update from translation team.
82483         * po/ja.po: Likewise.
82484         * po/ru.po: Likewise.
82485         * po/ko.po: Likewise.
82486         * po/fr.po: Likewise.
82488 2011-07-09  Roland McGrath  <roland@hack.frob.com>
82490         * configure.in (.ctors/.dtors header and trailer check):
82491         Use an empirical test on a built program.
82492         * configure: Regenerated.
82494         * configure.in (-z relro check): Use an empirical test on a built DSO.
82495         Detect, but do not require, on ia64.
82496         * configure: Regenerated.
82498         * configure.in (READELF): Find it with AC_CHECK_TOOL.
82499         Update tests that use readelf to use $READELF instead.
82500         * configure: Regenerated.
82502 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
82504         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82505         if the result is not used.
82507 2011-07-05  Andreas Jaeger  <aj@suse.de>
82509         [BZ#9696]
82510         * stdlib/tst-strtod.c: Add testcase.
82512 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
82514         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82515         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82516         The latter has a higher limit.  Take additional parameter to pass to
82517         the new function.
82518         (__pathconf): Pass file to __statfs_link_max.
82519         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82520         __statfs_link_max.
82521         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82522         __statfs_link_max.
82524         [BZ #12868]
82525         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82526         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82527         Handle Lustre.
82528         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82529         (__statfs_filesize_max): Likewise.
82530         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82532 2011-07-05  Andreas Jaeger  <aj@suse.de>
82534         * resolv/res_comp.c (dn_skipname): Remove unused variable.
82536 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
82538         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82539         `status' variable.
82540         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
82541         Likewise.
82543 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
82545         * Makefile (strop-tests): Add strncat.
82546         * string/test-strncat.c: New file.
82548 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
82550         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
82552 2011-06-21  Andreas Jaeger  <aj@suse.de>
82554         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
82555         Copy rule from iconvdata/Makefile.
82557 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
82559         [BZ #12922]
82560         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
82561         but no long options are defined, just return 'W'.
82563 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
82565         [BZ #9696]
82566         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
82568 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
82570         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
82571         netgroups to read.
82572         (innetgr): Likewise.
82574 2011-07-05  Roland McGrath  <roland@hack.frob.com>
82576         * config.make.in (install_root): Default to $(DESTDIR).
82578 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
82580         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82582 2011-07-02  Roland McGrath  <roland@hack.frob.com>
82584         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82586         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82587         containing directory rather than embedding absolute directory names.
82589         * scripts/check-local-headers.sh: Rewritten using awk.
82590         Match by word, not by line.  Print error messages for matches.
82591         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82593         * Makerules [shlib-lds-flags empty]:
82594         ($(common-objpfx)libc_pic.opts): New target.
82595         ($(common-objpfx)libc_pic.os.clean): New target.
82596         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82598         * config.make.in (OBJCOPY): New variable.
82599         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82600         * configure: Regenerated.
82602         * config.make.in (use-default-link): New variable.
82603         * configure.in (use_default_link): Grok --with-default-link to set it.
82604         * configure: Regenerated.
82605         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82606         (shlib-lds, shlib-lds-flags): Define to empty.
82608         * Makerules (shlib-lds): New variable.
82609         (shlib-lds-flags): New variable.
82610         (build-shlib, build-moduile, build-module-asneeded): Use it.
82611         ($(common-objpfx)libc.so): Use $(shlib-lds).
82612         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82613         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82615         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82616         DT_FLAGS/DT_FLAGS_1 with zero flags.
82618         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82619         linker script munging.
82621 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
82623         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82624         as 128-bit value.
82625         * crypt/sha512.c (sha512_process_block): Perform total addition using
82626         128-bit if possible.
82627         (__sha512_finish_ctx): Likewise.
82628         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82629         as 64-bit value.
82630         * crypt/sha256.c (SWAP64): Define.
82631         (sha256_process_block): Perform total addition using 64-bit if
82632         possible.
82633         (__sha256_finish_ctx): Likewise.
82635 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
82637         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
82638         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82639         * nscd/hstcache.c (cache_addhst): Likewise.
82640         * nscd/grpcache.c (cache_addgr): Likewise.
82641         * nscd/aicache.c (addhstaiX): Likewise.
82642         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82644 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
82646         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82647         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82648         * nscd/hstcache.c (cache_addhst): Likewise.
82649         * nscd/grpcache.c (cache_addgr): Likewise.
82650         * nscd/aicache.c (addhstaiX): Likewise.
82652 2011-07-01  Andreas Schwab  <schwab@redhat.com>
82654         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82655         domain only when needed.
82657 2011-06-30  Andreas Schwab  <schwab@redhat.com>
82659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82660         is always restored.
82662 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
82664         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82665         are re-adding the entry.
82666         * nscd/servicescache.c (cache_addserv): Likewise.
82668 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
82670         * sysdeps/generic/dl-irel.h: fix protection against multiple
82671         inclusions.
82672         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82674 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
82676         [BZ #12935]
82677         * malloc/memusage.sh: Fix quoting in message.
82678         * debug/xtrace.sh: Likewise.
82680         * configure.in: Remove support for --experimental-malloc option, make
82681         it the default.
82682         * config.make.in: Likewise.
82683         * malloc/Makefile: Likewise.
82685 2011-06-27  Andreas Schwab  <schwab@redhat.com>
82687         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82688         two-byte characters.
82690 2011-06-27  Roland McGrath  <roland@hack.frob.com>
82692         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82693         AC_CACHE_CHECK invocation.
82694         * configure: Regenerated.
82696         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82698 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
82700         [BZ #12350]
82701         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
82702         bit from old_res_options.
82704         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82706         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82707         value type for setfct.
82709 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
82711         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82712         __gettimeofday instead of gettimeofday.
82714 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
82716         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82718 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
82720         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82722         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82723         info.
82725 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82727         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82728         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82729         strcpy-sse2-unaligned strncpy-sse2-unaligned
82730         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82731         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82732         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82733         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82734         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82735         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82736         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82737         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82738         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82739         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82740         (STRCPY): Support SSE2 and SSSE3 versions.
82742 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
82744         [BZ #12874]
82745         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82746         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82747         kernels which artificially limit size of requests.
82749 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82751         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82752         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82753         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82754         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82755         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82756         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82757         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82758         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82759         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82760         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82761         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82762         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82763         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82764         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82765         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82766         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82767         Enable unaligned load optimization for Intel Core i3, i5 and i7
82768         processors.
82769         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82770         Define.
82771         (index_Fast_Unaligned_Load): Define.
82772         (HAS_FAST_UNALIGNED_LOAD): Define.
82774 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
82776         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82778 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82780         [BZ #12907]
82781         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82782         until it is clear that the information is realy needed.
82783         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82785 2011-06-22  Andreas Schwab  <schwab@redhat.com>
82787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82789 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82791         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82792         /sys/devices/system/cpu/online if it is usable.
82794         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82795         reading the information from the /proc filesystem to once a second.
82797 2011-06-21  Andreas Jaeger  <aj@suse.de>
82799         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82800         NULL after inclusion of kernel headers.
82802 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
82804         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82805         calls to internal_setent.
82807         [BZ #12885]
82808         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82809         addresses using gethostbyname4_r ignore IPv4 addresses.
82811         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82812         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
82814         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82816 2011-06-20  David S. Miller  <davem@davemloft.net>
82818         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82819         inclusions.
82820         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82822         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82823         (elf_irel): Use it.
82824         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82825         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82826         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82827         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82828         * sysdeps/x86_64/dl-irel.h: Likewise.
82830         * elf/dl-runtime.c: Use elf_ifunc_invoke.
82831         * elf/dl-sym.c: Likewise.
82833 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82835         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
82836         need to dereference resplen2.
82838 2011-06-14  Andreas Schwab  <schwab@redhat.com>
82840         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82842 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82844         * Makeconfig: Define vardbdir and inst_vardbdir.
82845         * nss/Makefile: Add rules to install db-Makefile.
82847         * nss/nss_db/db-XXX.c: Cleanup.
82849         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82850         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82851         GLIBC_PRIVATE.
82852         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82853         * nss/makedb.c: Implement -g option to specify that value strings
82854         are generated and should not be added to table iterated over for
82855         get*ent calls.
82856         * nss/nss_db/db-initgroups.c: New file.
82858         * nss/getent.c: Add support for initgroups lookups through getgrouplist
82859         interface.
82861         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82862         (internal_getgrouplist): Adjust to name change.
82863         Update use_initgroups_entry if this is not the first call.
82864         * nss/databases.def: Add initgroups entry.
82866         * nss/makedb.c (compute_tables): Check result of multiple hash table
82867         sizes to minimize maximum chain length.
82869 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
82871         * Versions.def: Add entry for libnss_db.
82872         * shlib-versions: Likewise.
82873         * nss/Makefile: Add rules to build libnss_db.
82874         * nss/Versions: Add libnss_db information.  Organize libnss_files
82875         entries better.
82876         * nss/db-Makefile: Add gshadow support.  Change rules for the new
82877         makedb progra.  Some minor improvements to generate smaller files.
82878         * nss/nss_db/nss_db.h: Move NSS database header data structures to
82879         here from...
82880         * nss/makedb.c: ...here.
82881         Improve database format to be smaller and require less memory at
82882         runtime.
82883         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
82884         db anymore.
82885         * nss/nss_db/db-netgrp.c: Likewise.
82886         * nss/nss_db/db-open.c: Likewise.
82887         * nss/nss_files/flies-XXX.x: Adjust comments.
82888         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82889         * nss/nss_files/files-grp.c: Likewise.
82890         * nss/nss_files/files-hosts.c: Likewise.
82891         * nss/nss_files/files-network.c: Likewise.
82892         * nss/nss_files/files-proto.c: Likewise.
82893         * nss/nss_files/files-pwd.c: Likewise.
82894         * nss/nss_files/files-rpc.c: Likewise.
82895         * nss/nss_files/files-service.c: Likewise.
82896         * nss/nss_files/files-sgrp.c: Likewise.
82897         * nss/nss_files/files-spwd.c: Likewise.
82898         * nss/nss_db/db-alias.c: Removed.
82899         * nss/nss_db/dummy-db.h: Removed.
82901 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
82903         * nss/makedb.c: Rewritten to not use database library.
82904         * nss/Makefile: Update to build new makedb program.
82906 2011-06-14  Andreas Jaeger  <aj@suse.de>
82908         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82909         memset declaration.
82911 2011-06-10  Andreas Schwab  <schwab@redhat.com>
82913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82914         tmpbuf.
82916 2011-06-10  Roland McGrath  <roland@hack.frob.com>
82918         * Makerules (shlib.lds): Fail if the linker script comes out empty.
82919         * elf/Makefile ($(objpfx)ld.so): Likewise.
82921         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82922         Don't list ld.so twice in dependencies.
82924         * posix/bug-regex31.c: Include <stdlib.h>.
82926         * nscd/hstcache.c (cache_addhst): Remove unused variable.
82928         * nis/nss_compat/compat-spwd.c
82929         (getspent_next_nss_netgr): Remove unused variable.
82930         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82932         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82933         nonmembers" output to use the right array.
82935         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82937         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82939         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82940         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82941         * catgets/gencat.c (read_input_file): Likewise.
82942         * locale/programs/locarchive.c (enlarge_archive): Likewise.
82944         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82945         variable definition inside #if's controlling its use.
82947         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82949         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82951         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82953         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82954         unreachable code.
82956         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82958         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82959         * configure: Regenerated.
82961         * Makerules: Revert last change.
82962         * elf/Makefile: Likewise.
82964 2011-06-09  Roland McGrath  <roland@hack.frob.com>
82966         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82967         * elf/Makefile ($(objpfx)librtld.os): Likewise.
82968         (reloc-link): Likewise.
82970 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
82972         * elf/Makefile: Add rules to build pldd.
82973         * elf/pldd.c: New file.
82974         * elf/pldd-xx.c: New file.
82976 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
82978         * version.h: Update for 2.15 development version.
82980 2011-06-07  David S. Miller  <davem@davemloft.net>
82982         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82983         ifuncs.
82984         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82985         elf_machine_lazy_rel): Likewise.
82986         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82987         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82988         elf_machine_lazy_rel): Likewise.
82989         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82990         dl_hwcap via passed in argument.
82991         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82992         Likewise.
82994 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82996         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
82998 2011-06-06  Roland McGrath  <roland@hack.frob.com>
83000         [BZ #12849]
83001         * manual/fdl-1.1.texi: New file, verbatim from:
83002         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
83003         * manual/lgpl-2.1.texi: New file, verbatim from:
83004         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
83005         * manual/Makefile (licenses): New variable, list those new file names.
83006         (texis): Use it.
83007         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
83009         * manual/fdl.texi: File removed.
83010         * manual/lesser.texi: File removed.
83011         * manual/libc.texinfo (Copying, Documentation License):
83012         Use new @include file names, put @appendix directive before @include.
83014 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
83016         [BZ #12841]
83017         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
83018         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
83019         (mq_open): Add __NTH.
83021 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
83023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83024         Assume Intel Core i3/i5/i7 processor if AVX is available.
83026 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
83028         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83029         typo.
83031 2011-05-31  Andreas Schwab  <schwab@redhat.com>
83033         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83034         memory.  Use alloca_account.  Fix memory leak when retrying.
83036 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
83038         * version.h (RELEASE): Bump for 2.14 release.
83039         * include/features.h (__GLIBC_MINOR__): Bump to 14.
83041         * config.make.in (RANLIB): Remove entry.
83043 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
83045         * po/Makefile (po-sed-cmd): Add ksh to extensions.
83046         (libc.pot): Work around missing support for .ksh extension in xgettext.
83048         [BZ #12684]
83049         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83050         if both request failed.
83051         (send_dg): In case of server errors clear resplen or *resplen2.
83053         [BZ #12454]
83054         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83055         when there are multiple maps.
83056         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83057         (_dl_fini): Remove test here.
83059         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83061 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
83063         [BZ #12350]
83064         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83065         bit from old_res_options.
83066         (gaih_inet): Likewise.
83068         [BZ #11099]
83069         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83070         as signed.
83072         * resolv/res_init.c (res_setoptions): Make the code more compact.
83074         [BZ #11558]
83075         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83076         set RES_USEVC.
83078         [BZ #11634]
83079         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83081         * malloc/malloc.h: Mark malloc hook variables as deprecated.
83083         [BZ #11781]
83084         * malloc/malloc.h: Declare malloc hook variables as volatile.
83086         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83087         in last patch.
83089         [BZ #11799]
83090         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83091         raise in the comment.
83092         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83093         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83094         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83096 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
83098         [BZ #12811]
83099         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83100         grow the buffers more if it already has to be sufficient.
83101         (build_wcs_upper_buffer): Likewise.
83102         * posix/regexec.c (check_matching): Likewise.
83103         (clean_state_log_if_needed): Likewise.
83104         (extend_buffers): Don't enlarge buffers beyond size of the input
83105         buffer.
83106         Patches mostly by Emil Wojak <emil@wojak.eu>.
83107         * posix/bug-regex32.c: New file.
83108         * posix/Makefile (tests): Add bug-regex32.
83110         * locale/findlocale.c (_nl_find_locale): Return right away if
83111         _nl_explode_name failed.
83112         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83114         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83116         * debug/xtrace.sh: Unify messages.
83117         * malloc/memusage.sh: Likewise.
83119         [BZ #12813]
83120         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83121         time symbol from vDSO.  Substitute with vsyscall if not available.
83122         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83123         __vdso_time.
83125         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83126         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83127         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83128         Add sendmmsg and internal_sendmmsg.
83129         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83130         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83131         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83133         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83134         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83135         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83137 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
83139         [BZ #12813]
83140         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83141         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
83142         available.
83143         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83144         __vdso_getcpu.
83146         [BZ #12814]
83147         * iconvdata/Makefile (tests): Add bug-iconv9.
83148         * iconvdata/bug-iconv9.c: New file.
83150 2011-05-27  Andreas Schwab  <schwab@redhat.com>
83152         [BZ #12814]
83153         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83155 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
83157         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83158         (struct user_regs_struct): Change intcs field back to cs.
83160 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
83162         * po/ja.po: Update from translation team.
83164 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
83166         [BZ #12795]
83167         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83168         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83170 2011-05-20  Andreas Schwab  <schwab@redhat.com>
83172         * stdlib/longlong.h: Update from GCC.
83174 2011-05-23  Andreas Schwab  <schwab@redhat.com>
83176         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83177         parameter name.
83178         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83179         Add parameter name.
83180         (__sysconf): Pass it down.
83182 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
83184         [BZ #12671]
83185         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83186         some situations.
83187         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83188         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83189         add in in __libc_use_alloca calls.  Adjust callers.
83190         (glob): Use malloc in some situations.
83192         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83193         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83194         pltexit.
83196 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
83198         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83199         and CLOCK_BOOTTIME_ALARM.
83201         [BZ #12782]
83202         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83203         is returned.
83205         * string/_strerror.c (__strerror_r): Print negative errors as signed
83206         numbers.
83208         [BZ #12777]
83209         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83210         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83211         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83213         * configure.in: Fix typo in redirection and correct removal of test
83214         files in two cases.
83216         [BZ #12788]
83217         * locale/setlocale.c (new_composite_name): Fix test to check for
83218         identical name of all categories.
83220         [BZ #12792]
83221         * libio/filedoalloc.c (local_isatty): New function.
83222         (_IO_file_doallocate): Use local_isatty.
83223         * stdio-common/perror.c (perror): In case a new stream is used
83224         forward the stream error.
83225         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83226         error flag.
83228 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
83230         [BZ #11884]
83231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83232         alloca.
83233         * include/alloca.h (extend_alloca_account): Define.
83235         [BZ #11857]
83236         * posix/regex.h: Fix comments with documentation of user-accessible
83237         fields after compilation and describe correct free'ing of pattern
83238         after re_compile_pattern.
83239         Patch by Reuben Thomas <rrt@sc3d.org>.
83241 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
83243         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83244         and -mno-altivec to prevent the compiler from using Altivec and/or
83245         VSX instructions when the corresponding registers are not available.
83247 2011-05-19  Andreas Schwab  <schwab@redhat.com>
83249         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83251 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
83253         * libio/freopen.c (freopen): Use __dup2, not dup2.
83254         * libio/freopen64.c (freopen64): Likewise.
83256 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
83258         [BZ #12775]
83259         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83260         * math/Makefile (tests): Add test-powl.
83261         (CFLAGS-test-powl.c): Define.
83262         * math/test-powl.c: New file.
83264 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
83266         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83268 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
83270         [BZ #11837]
83271         * iconvdata/gb18030.c: Update to GB18020-2005.
83273 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
83275         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83276         RE_SYNTAX_POSIX_AWK): Update to match recent development.
83277         Patch by Aharon Robbins <arnold@skeeve.com>.
83279         [BZ #11892]
83280         * stdlib/putenv.c (putenv): Don't always create copy of the variable
83281         on the stack.
83283         [BZ #11895]
83284         * misc/pselect.c (__pselect): Handle timeout value errors hidden
83285         through underflows.
83287         [BZ #12766]
83288         * misc/error.c (error_at_line): Ensure file_name and old_file_name
83289         point to strings before performing equality test for error_one_per_line
83290         mode.
83292         [BZ #11697]
83293         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83295         [BZ #11820]
83296         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83297         (struct user_fpregs_struct): Avoid __uint*_t types.
83299         [BZ #6420]
83300         * malloc/mtrace.c (tr_where): Add additional parameter to point to
83301         symbol info.  Use it instead of calling _dl_addr locally.
83302         (lock_and_info): New function.
83303         (tr_freehook): Call lock_and_info and pass symbol info as additional
83304         parameter to tr_where.
83305         (tr_mallochook): Likewise.
83306         (tr_reallochook): Likewise.
83307         (tr_memalignhook): Likewise.
83309         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
83310         used and couldn't be at all thread-safe.
83312 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
83314         * libio/freopen.c (freopen): Don't close old file descriptor
83315         before the new one is opened.  Instead dup the new file descriptor
83316         to the old one after the new stream is created.
83317         * libio/freopen64.c (freopen64): Likewise.
83318         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83319         * libio/fileops.c (_IO_new_file_close_it): Handle new
83320         _IO_FLAGS2_NOCLOSE flag.
83321         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83322         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83323         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83324         _IO_FLAGS2_NOCLOSE flag.
83325         * include/unistd.h: Add hidden_proto for dup3.
83326         Define __have_dup3.
83327         * io/dup3.c: Define hidden symbol.
83328         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83330         [BZ #7101]
83331         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83332         when an incomplete long option is used.
83333         * posix/tst-getopt_long1.c: New file.
83334         * posix/Makefile (tests): Add tst-getopt_long1.
83336         [BZ #10138]
83337         * scripts/config.guess: Update from autoconf-2.68.
83338         * scripts/config.sub: Likewise.
83340         [BZ #10157]
83341         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83342         tests into ...
83343         (has_cpuclock): ...this.  New function.
83344         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83345         macro here based on has_cpuclock code.
83347         [BZ #10149]
83348         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83349         First byte (not low byte) is now always NUL.
83350         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83352         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83353         Use non-cancelable interfaces.
83355         [BZ #9809]
83356         * locale/iso-639.def: Add entry for Sorani.
83358         [BZ #11901]
83359         * include/stdlib.h: Move include protection to the right place.
83360         Define abort_msg_s.  Declare __abort_msg with it.
83361         * stdlib/abort.c (__abort_msg): Adjust type.
83362         * assert/assert.c (__assert_fail_base): New function.  Majority
83363         of code from __assert_fail.  Allocate memory for __abort_msg with
83364         mmap.
83365         (__assert_fail): Now call __assert_fail_base.
83366         * assert/assert-perr.c: Remove bulk of implementation.  Use
83367         __assert_fail_base.
83368         * include/assert.hL Declare __assert_fail_base.
83369         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83370         mmap.
83371         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83373 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
83375         [BZ #11952]
83376         [BZ #12453]
83377         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83378         until all modules are registered in the DTV.
83379         * elf/Makefile: Add rules to build and run tst-tls19.
83380         * elf/tst-tls19.c: New file.
83381         * elf/tst-tls19mod1.c: New file.
83382         * elf/tst-tls19mod2.c: New file.
83383         * elf/tst-tls19mod3.c: New file.
83384         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83386         [BZ #12083]
83387         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83388         correctly.
83390         [BZ #12601]
83391         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83392         two-byte sequence errors.
83393         * iconvdata/Makefile (tests): Add bug-iconv8.
83394         * iconvdata/bug-iconv8.c: New file.
83396         [BZ #12626]
83397         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83398         buf2 definition.
83400         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83402         [BZ #12432]
83403         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83404         (dummy_getcfa): New function.
83405         (init): Get _Unwind_GetCFA address, use dummy if not found.
83406         (backtrace_helper): In recursion check, also check whether CFA changes.
83407         (__backtrace): Completely initialize arg.
83409         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83410         storing incomplete byte sequence in state object.  Avoid testing for
83411         guaranteed too small input if we know there is enough data available.
83413 2011-05-11  Andreas Schwab  <schwab@redhat.com>
83415         * Makeconfig (+link-pie): Indent.
83416         * Rules (binaries-pie): Define if $(have-fpie) and
83417         $(build-shared).
83418         (binaries-shared): Also filter out $(binaries-pie).
83419         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83420         * nscd/Makefile (others-pie): Add nscd.
83421         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83422         ($(objpfx)nscd): Remove command override.
83423         * login/Makefile (others-pie): Add pt_chown.
83424         ($(objpfx)pt_chown): Remove command override.
83425         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83426         remove command overrides.
83428 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
83430         * libio/tst_putwc.c: Fix error messages.
83432         [BZ #12724]
83433         * libio/fileops.c (_IO_new_file_close_it): Always flush when
83434         currently writing and seek to current position when not.
83435         * libio/Makefile (tests): Add bug-fclose1.
83436         * libio/bug-fclose1.c: New file.
83438 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
83440         [BZ #12511]
83441         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83442         don't set DF_1_NODELETE here.
83443         (do_lookup_x): When entering new entry test for copy relocation
83444         and if necessary set DF_1_NODELETE flag.
83445         * elf/tst-unique4.cc: New file.
83446         * elf/tst-unique4.h: New file.
83447         * elf/tst-unique4lib.cc: New file.
83448         * elf/Makefile: Add rules to build and run tst-unique4.
83449         Patch by Piotr Bury <pbury@goahead.com>.
83451 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
83453         [BZ #12052]
83454         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83456         [BZ #12625]
83457         * misc/mntent_r.c (addmntent): Flush the stream after the output
83459         [BZ #12393]
83460         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83461         (is_trusted_path_normalize): Skip initial colon.  Append slash
83462         to empty buffer.  Duplicate is_trusted_path code but allow
83463         constructed patch to be prefix.
83464         (is_dst): Allow $ORIGIN followed by /.
83465         (_dl_dst_substitute): Correct clearing of check_for_trusted.
83466         Correct testing of result of is_trusted_path_normalize
83467         (decompose_rpath): Fix warning.
83469 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
83471         [BZ #11257]
83472         * grp/initgroups.c (internal_getgrouplist): When we found the service
83473         list through the initgroups entry in nsswitch.conf do not always
83474         continue on a successful lookup.  Don't always use the
83475         __nss_group_database value if it is set.
83476         * nss/nsswitch.conf (initgroups): Change action for successful db
83477         lookup to continue for compatibility.
83479 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
83481         [BZ #11532]
83482         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83483         and CP774 modules.
83484         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83485         and CP774 modules.
83486         * iconvdata/tst-tables.sh: Likewise.
83487         * iconvdata/cp770.c: New file.
83488         * iconvdata/cp771.c: New file.
83489         * iconvdata/cp772.c: New file.
83490         * iconvdata/cp773.c: New file.
83491         * iconvdata/cp774.c: New file.
83492         * iconvdata/testdata/CP770: New file.
83493         * iconvdata/testdata/CP770..UTF8: New file.
83494         * iconvdata/testdata/CP771: New file.
83495         * iconvdata/testdata/CP771..UTF8: New file.
83496         * iconvdata/testdata/CP772: New file.
83497         * iconvdata/testdata/CP772..UTF8: New file.
83498         * iconvdata/testdata/CP773: New file.
83499         * iconvdata/testdata/CP773..UTF8: New file.
83500         * iconvdata/testdata/CP774: New file.
83501         * iconvdata/testdata/CP774..UTF8: New file.
83503         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83504         END CHARMAP line.
83505         * iconvdata/gen-8bit-gap.sh: Likewise.
83506         * iconvdata/gen-8bit.sh: Likewise.
83508         * locale/iso-639.def: Add ary entry.
83510         [BZ #11258]
83511         * locale/C-translit.h.in: Add U20A1 transliteration.
83513         [BZ #12178]
83514         * locale/iso-639.def: Add wae entry.
83515         Patch by Kevin Bortis <bortis@translate-wae.ch>.
83517         [BZ #12545]
83518         * locale/programs/localedef.c (construct_output_path): Use ssize_t
83519         for n.
83521         [BZ #12711]
83522         * locale/C-translit.h.in: Add entry for U20B9.
83523         Patch by pravin.d.s@gmail.com.
83525 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
83527         [BZ #12713]
83528         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83529         ENAMETOOLONG use generic getcwd.
83530         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
83531         in rtld.  Use *stat64.
83532         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83533         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83534         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83535         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83536         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83537         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83538         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83539         __fstatat64 macros.
83540         * include/dirent.h: Add libc_hidden_proto for rewinddir.
83541         * dirent/rewinddir.c: Add libc_hidden_def.
83542         * sysdeps/mach/hurd/rewinddir.c: Likewise.
83543         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
83545         * include/dirent.h (__alloc_dir): Add flags parameter.
83546         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
83547         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
83548         __alloc_dir.
83549         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
83550         from fdopendir if O_CLOEXEC is already set.
83552 2011-03-15  Alan Modra  <amodra@gmail.com>
83554         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
83555         l_tls_firstbyte_offset non-zero.  Save padding offset in
83556         l_tls_firstbyte_offset for later use.
83557         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
83558         freeing static tls block.
83560 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
83562         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
83563         where #ifdef was intended.  The intent is to prevent ARG_MAX from
83564         being defined by the kernel headers.
83566 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
83568         [BZ #12734]
83569         * resolv/resolv.h: Define RES_NOTLDQUERY.
83570         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
83571         no-tld-query and set RES_NOTLDQUERY.
83572         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
83573         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
83574         modern BIND to search name as TLD unless forbidden.
83576 2011-05-07  Petr Baudis  <pasky@suse.cz>
83577             Ulrich Drepper  <drepper@gmail.com>
83579         [BZ #12393]
83580         * elf/dl-load.c (fillin_rpath): Move trusted path check...
83581         (is_trusted_path): ...to here.
83582         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83583         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83584         using is_trusted_path_normalize() in setuid scripts.
83586 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83588         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83589         __BEGIN/__END_DECLS.
83591 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
83593         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83594         NSS_STATUS_NOTFOUND if no record was found.
83596 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83598         * sunrpc/Makefile (headers): Add rpc/netdb.h.
83599         (headers-not-in-tirpc): Remove rpc/netdb.h
83600         * resolv/netdb.h: Revert last change.
83602 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83604         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83605         circular dependency between libgcc.a and libc.a.
83607 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83609         * resolv/netdb.h: Don't include <rpc/netdb.h>.
83610         * nis/Makefile: Don't install rpcsvc/*.
83611         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83612         instead of <rpc/types.h>.
83613         (MAXHOSTNAMELEN): Define.
83615 2011-05-03  Andreas Schwab  <schwab@redhat.com>
83617         * elf/ldconfig.c (add_dir): Don't crash on empty path.
83619 2011-04-28  Maciej Babinski  <mbabinski@google.com>
83621         [BZ #12714]
83622         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83623         gethostbyname4_r when IPv6 results are possible.
83625 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
83627         [BZ #12723]
83628         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83629         _PC_PIPE_BUF handling.
83631 2011-04-30  Bruno Haible  <bruno@clisp.org>
83633         [BZ #12717]
83634         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83635         * resolv/netdb.h (getnameinfo): Change type of flags parameter
83636         to 'int'.
83637         * inet/getnameinfo.c (getnameinfo): Likewise.
83639 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
83641         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83642         to groups setting in database lookup.
83643         * nss/nsswitch.conf: Add initgroups entry.
83645 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
83647         [BZ #12685]
83648         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83649         mode string.
83650         Patch by Eric Blake <eblake@redhat.com>.
83652 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
83654         * sunrpc/Makefile (need-export-routines): Add svc_run.
83655         (routines): Remove svc_run.
83656         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83657         * sunrpc/clnt_perr.c (clnt_perrno): Export.
83658         * sunrpc/svc_run.c (svc_run): Likewise.
83659         * sunrpc/svc_udp.c (svcudp_create): Likewise.
83661 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
83663         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83664         problem in reallocation in last patch.
83666 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
83668         * sunrpc/Makefile: Move inclusion of Rules.
83670 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83672         * nss/nss_files/files-initgroups.c: New file.
83673         * nss/Makefile (libnss_files-routines): Add files-initgroups.
83674         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83675         _nss_files_initgroups_dyn.
83677 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
83679         * elf/elf.h (R_ARM_IRELATIVE): Define.
83681 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83683         * po/ru.po: Update from translation team.
83685 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83687         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83688         dependencies.
83690 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
83692         [BZ #12653]
83693         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83694         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83695         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83696         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83697         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83699 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
83701         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83702         differing bytes.
83703         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83704         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83705         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83707 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83709         [BZ #12420]
83710         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83711         storing it.
83712         * stdlib/bug-getcontext.c: New file.
83713         * stdlib/Makefile: Add rules to build and run bug-getcontext.
83715 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83717         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83718         instructions into .machine "z9-109".
83719         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83720         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83722 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83724         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83725         between environment variables and auxiliary vector.
83727 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
83729         * Makefile: Add rules to build linkobj/libc.so.
83730         * include/libc-symbols.h: Define libc_hidden_nolink.
83731         * include/rpc/auth.h: Mark functions which are to be hidden.
83732         * include/rpc/auth_des.h: Likewise.
83733         * include/rpc/auth_unix.h: Likewise.
83734         * include/rpc/clnt.h: Likewise.
83735         * include/rpc/des_crypt.h: Likewise.
83736         * include/rpc/key_prot.h: Likewise.
83737         * include/rpc/pmap_clnt.h: Likewise.
83738         * include/rpc/pmap_prot.h: Likewise.
83739         * include/rpc/pmap_rmt.h: Likewise.
83740         * include/rpc/rpc_msg.h: Likewise.
83741         * include/rpc/svc.h: Likewise.
83742         * include/rpc/svc_auth.h: Likewise.
83743         * include/rpc/xdr.h: Likewise.
83744         * nis/Makefile: Link all DSOs against linkobj/libc.so.
83745         * nss/Makefile: Likewise.
83746         * sunrpc/Makefile: Don't install headers.  Build library with normal
83747         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
83748         * sunrpc/auth_des.c: Hide exported symbols by default, export some
83749         for the compat linking library.  Remove use of INTDEF/INTUSE.
83750         * sunrpc/auth_none.c: Likewise.
83751         * sunrpc/auth_unix.c: Likewise.
83752         * sunrpc/authdes_prot.c: Likewise.
83753         * sunrpc/authuxprot.c: Likewise.
83754         * sunrpc/clnt_gen.c: Likewise.
83755         * sunrpc/clnt_perr.c: Likewise.
83756         * sunrpc/clnt_raw.c: Likewise.
83757         * sunrpc/clnt_simp.c: Likewise.
83758         * sunrpc/clnt_tcp.c: Likewise.
83759         * sunrpc/clnt_udp.c: Likewise.
83760         * sunrpc/clnt_unix.c: Likewise.
83761         * sunrpc/des_crypt.c: Likewise.
83762         * sunrpc/des_soft.c: Likewise.
83763         * sunrpc/get_myaddr.c: Likewise.
83764         * sunrpc/key_call.c: Likewise.
83765         * sunrpc/key_prot.c: Likewise.
83766         * sunrpc/netname.c: Likewise.
83767         * sunrpc/pm_getmaps.c: Likewise.
83768         * sunrpc/pm_getport.c: Likewise.
83769         * sunrpc/pmap_clnt.c: Likewise.
83770         * sunrpc/pmap_prot.c: Likewise.
83771         * sunrpc/pmap_prot2.c: Likewise.
83772         * sunrpc/pmap_rmt.c: Likewise.
83773         * sunrpc/publickey.c: Likewise.
83774         * sunrpc/rpc_cmsg.c: Likewise.
83775         * sunrpc/rpc_common.c: Likewise.
83776         * sunrpc/rpc_dtable.c: Likewise.
83777         * sunrpc/rpc_prot.c: Likewise.
83778         * sunrpc/rpc_thread.c: Likewise.
83779         * sunrpc/rtime.c: Likewise.
83780         * sunrpc/svc.c: Likewise.
83781         * sunrpc/svc_auth.c: Likewise.
83782         * sunrpc/svc_authux.c: Likewise.
83783         * sunrpc/svc_raw.c: Likewise.
83784         * sunrpc/svc_run.c: Likewise.
83785         * sunrpc/svc_simple.c: Likewise.
83786         * sunrpc/svc_tcp.c: Likewise.
83787         * sunrpc/svc_udp.c: Likewise.
83788         * sunrpc/svc_unix.c: Likewise.
83789         * sunrpc/svcauth_des.c: Likewise.
83790         * sunrpc/xcrypt.c: Likewise.
83791         * sunrpc/xdr.c: Likewise.
83792         * sunrpc/xdr_array.c: Likewise.
83793         * sunrpc/xdr_float.c: Likewise.
83794         * sunrpc/xdr_intXX_t.c: Likewise.
83795         * sunrpc/xdr_mem.c: Likewise.
83796         * sunrpc/xdr_rec.c: Likewise.
83797         * sunrpc/xdr_ref.c: Likewise.
83798         * sunrpc/xdr_sizeof.c: Likewise.
83799         * sunrpc/xdr_stdio.c: Likewise.
83801 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
83803         [BZ #12650]
83804         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83805         * sysdeps/ia64/dl-tls.h: Likewise.
83806         * sysdeps/powerpc/dl-tls.h: Likewise.
83807         * sysdeps/s390/dl-tls.h: Likewise.
83808         * sysdeps/sh/dl-tls.h: Likewise.
83809         * sysdeps/sparc/dl-tls.h: Likewise.
83810         * sysdeps/x86_64/dl-tls.h: Likewise.
83811         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83813 2011-03-14  Andreas Schwab  <schwab@redhat.com>
83815         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83816         rpath element also skip the following colon.
83817         (expand_dynamic_string_token): Add is_path parameter and pass
83818         down to DL_DST_REQUIRED and _dl_dst_substitute.
83819         (decompose_rpath): Call expand_dynamic_string_token with
83820         non-zero is_path.  Ignore empty rpaths.
83821         (_dl_map_object_from_fd): Call expand_dynamic_string_token
83822         with zero is_path.
83824 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
83826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83827         Make cancelable.
83829 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
83831         [BZ #12655]
83832         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83833         Patch by Filipe David Manana <fdmanana@apache.org>.
83835 2011-04-07  Andreas Schwab  <schwab@redhat.com>
83837         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83838         Maintain aligned stack.
83839         (CHECK_RSP): Remove unused macro.
83841 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
83843         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83844         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83846 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
83848         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83850         * include/features.h: Mention __USE_XOPEN2K8 in comment.
83852 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
83854         [BZ #12518]
83855         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83856         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83857         * sysdeps/x86_64/memmove.c: New file.
83858         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83859         (memcpy): Renamed to ...
83860         (__new_memcpy): This.
83861         (memcpy): Provide GLIBC_2_14 memcpy.
83862         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83863         (memcpy): Provide GLIBC_2_2_5 memcpy.
83865 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83867         [BZ #12631]
83868         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83870 2011-03-30  Andreas Schwab  <schwab@redhat.com>
83872         * misc/syncfs.c: New file.
83873         * misc/Makefile (routines): Add syncfs.
83874         * posix/unistd.h: Declare syncfs.
83875         * sysdeps/unix/syscalls.list: Add syncfs.
83877 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83879         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83880         open_by_handle_at.
83881         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83882         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83883         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83884         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83885         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83886         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83887         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83889 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83891         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83892         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83893         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83894         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83895         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83896         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83897         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83899         * io/Makefile: Compile fallocate.c, fallocate64.c, and
83900         sync_file_range.c with -fexceptions.
83901         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83902         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83903         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83904         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83905         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83906         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83907         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83908         sync_file_range as cancellation point
83909         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
83910         now a wrapper around __call_sync_file_range with cancellation handling.
83911         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83912         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
83913         function name to __call_sync_file_range.
83914         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83915         Add call_sync_file_range.
83917 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83919         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83920         bits/timex.h.
83922 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83924         * iconv/iconv.h: Fix typo in comment.
83925         * io/fcntl.h: Likewise.
83926         * libio/stdio.h: Likewise.
83927         * posix/spawn.h: Likewise.
83928         * posix/unistd.h: Likewise.
83929         * stdlib/stdlib.h: Likewise.
83930         * time/time.h: Likewise.
83931         * wcsmbs/wchar.h: Likewise.
83933         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83934         open_by_handle): Add.
83935         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83936         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
83937         Augment a few comments.
83938         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83939         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83940         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83941         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83942         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83943         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83944         open_by_handle.
83946         * io/fcntl.h (AT_EMPTY_PATH): Define.
83948 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
83950         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83951         * sysdeps/unix/sysv/linux/bits/time.h: New file.
83952         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83953         to...
83954         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
83955         * Versions.def: Add GLIBC_2.14.
83956         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83957         Export.
83959 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
83961         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83962         round counter.
83963         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83965 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83967         [BZ #12597]
83968         * string/test-strncmp.c (do_page_test): New function.
83969         (check2): Likewise.
83970         (test_main): Call check2.
83971         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83973 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
83975         [BZ #12587]
83976         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83977         Handle cache information in CPU leaf 4.
83978         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83980 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
83982         [BZ #12583]
83983         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83984         character representation.
83985         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83987 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
83989         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83990         END(__isnan) to END(__isnanf) to match function entry point/label
83991         EALIGN(__isnanf,...).
83993 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
83995         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83997 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
83999         [BZ #12510]
84000         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
84001         copy from the symbol referenced in the relocation to initialize the
84002         used variable.
84003         Patch by Piotr Bury <pbury@goahead.com>.
84004         * elf/Makefile: Add rules to build and tst-unique3.
84005         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
84006         * elf/tst-unique3.cc: New file.
84007         * elf/tst-unique3.h: New file.
84008         * elf/tst-unique3lib.cc: New file.
84009         * elf/tst-unique3lib2.cc: New file.
84011         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
84013 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
84015         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
84016         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
84017         to _start.
84019 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
84021         * elf/dl-load.c (_dl_map_object): If we are looking for the first
84022         to-be-loaded object along a path to loader is ld.so.
84024 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
84025             Ulrich Drepper  <drepper@gmail.com>
84027         * sysdeps/x86_64/memset.S: After aligning destination, code
84028         branches to different locations depending on the value of
84029         misalignment, when multiarch is enabled. Fix this.
84031 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
84033         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84034         Set _x86_64_preferred_memory_instruction for AMD processsors.
84035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84036         Set bit_Prefer_SSE_for_memop for AMD processors.
84038 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
84040         * libio/fmemopen.c (fmemopen): Optimize a bit.
84042 2011-03-03  Andreas Schwab  <schwab@redhat.com>
84044         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84046 2011-03-03  Roland McGrath  <roland@redhat.com>
84048         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84050 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
84052         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84053         __bzero_ultra1 instead of __memset_ultra1.
84055 2011-02-23  Andreas Schwab  <schwab@redhat.com>
84056             Ulrich Drepper  <drepper@gmail.com>
84058         [BZ #12509]
84059         * include/link.h (struct link_map): Add l_orig_initfini.
84060         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84061         returning unsuccessfully.
84062         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84063         close of a file loaded at startup, restore the original l_initfini
84064         list.
84065         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84066         list, store the pointer.
84067         * elf/Makefile ($(objpfx)noload-mem): New rule.
84068         (noload-ENV): Define.
84069         (tests): Add $(objpfx)noload-mem.
84070         * elf/noload.c: Include <memcheck.h>.
84071         (main): Call mtrace.  Close all opened handles.
84073 2011-02-17  Andreas Schwab  <schwab@redhat.com>
84075         [BZ #12454]
84076         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84077         dependencies are missing.
84079 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84081         Fix __if_freereq crash: Unlike the generic version which uses free,
84082         Hurd needs munmap.
84083         * sysdeps/mach/hurd/ifreq.h: New file.
84085 2011-01-27  Petr Baudis  <pasky@suse.cz>
84086             Ulrich Drepper  <drepper@gmail.com>
84088         [BZ 12445]#
84089         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84090         to extend_alloca().
84091         * stdio-common/bug23.c: New file.
84092         * stdio-common/Makefile (tests): Add bug23.
84094 2010-09-28  Andreas Schwab  <schwab@redhat.com>
84095             Ulrich Drepper  <drepper@gmail.com>
84097         [BZ #12489]
84098         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84099         before performing relro protection.  At old place add assertion
84100         to make sure nothing changed.
84102 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
84103             Glauber de Oliveira Costa  <glommer@gmail.com>
84105         * elf/elf.h: Add new ARM TLS relocs.
84107 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
84109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84110         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84111         cast from r3.
84112         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
84113         'tests' variable.
84114         * sysdeps/wordsize-64/tst-writev.c: New file.
84116 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
84118         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84119         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84120         insns in _dl_start to prevent a TOC reference before relocs are
84121         resolved.
84123 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
84125         [BZ #12469]
84126         * Makeconfig: Remove RANLIB definition.
84127         * Makerules: Don't use RANLIB.
84128         * aclocal.m4: Remove ranlib test.
84129         * configure.in: No need to check for ranlib.
84130         * elf/rtld-Rules: Don't use RANLIB.
84132 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84134         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84135         protection macro.
84136         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84137         inclusion protection macro.
84139         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84140         SIGRTMIN and SIGRTMAX and print information in that case only when
84141         SIGRTMIN is defined.
84143 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
84145         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84146         arginfo fn returning -1.
84148         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84149         and thousands string is zero terminated.
84151 2011-02-03  Andreas Schwab  <schwab@redhat.com>
84153         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84154         sysdeps/unix/sysv/linux/bits/socket.h.
84156 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84158         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84159         (__CPU_COUNT): Remove old macros.
84160         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84161         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84162         (__CPU_ALLOC, __CPU_FREE): Add macros.
84163         (__sched_cpualloc, __sched_cpufree): Add declarations.
84165 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
84167         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84168         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84169         * nscd/aicache.c (addhstaiX): Return timeout of added value.
84170         (readdhstai): Return value of addhstaiX call.
84171         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84172         (addgrbyX): Return value returned by cache_addgr.
84173         (readdgrbyname): Return value returned by addgrbyX.
84174         (readdgrbygid): Likewise.
84175         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84176         (addpwbyX): Return value returned by cache_addpw.
84177         (readdpwbyname): Return value returned by addhstbyX.
84178         (readdpwbyuid): Likewise.
84179         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84180         (addservbyX): Return value returned by cache_addserv.
84181         (readdservbyname): Return value returned by addservbyX:
84182         (readdservbyport): Likewise.
84183         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84184         (addhstbyX): Return value returned by cache_addhst.
84185         (readdhstbyname): Return value returned by addhstbyX.
84186         (readdhstbyaddr): Likewise.
84187         (readdhstbynamev6): Likewise.
84188         (readdhstbyaddrv6): Likewise.
84189         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84190         (readdinitgroups): Return value returned by addinitgroupsX.
84191         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84192         (prune_cache): Keep track of timeout value of re-added entries.
84193         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84194         * nscd/nscd.h: Adjust prototypes of readd* functions.
84196 2011-02-04  Roland McGrath  <roland@redhat.com>
84198         * nis/nis_server.c (nis_servstate): Use the right name for 0.
84199         (nis_stats): Likewise.
84200         * nis/nis_modify.c (nis_modify): Likewise.
84201         * nis/nis_remove.c (nis_remove): Likewise.
84202         * nis/nis_add.c (nis_add): Likewise.
84204         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84206         * posix/fnmatch_loop.c: Add some consts.
84208         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84210 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
84212         [BZ #12460]
84213         * config.make.in (config-cflags-novzeroupper): Define.
84214         * configure.in: Substitute libc_cv_cc_novzeroupper.
84215         * elf/Makefile (AVX-CFLAGS): Define.
84216         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84217         (CFLAGS-tst-auditmod4a.c): Likewise.
84218         (CFLAGS-tst-auditmod4b.c): Likewise.
84219         (CFLAGS-tst-auditmod6b.c): Likewise.
84220         (CFLAGS-tst-auditmod6c.c): Likewise.
84221         (CFLAGS-tst-auditmod7b.c): Likewise.
84222         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84224 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
84226         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84227         function to the callback.
84228         Patch partly by Jiri Olsa <jolsa@redhat.com>.
84230 2011-02-02  Andreas Schwab  <schwab@redhat.com>
84232         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84233         of errno.
84235 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
84237         [BZ #11724]
84238         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84239         of constructors.
84240         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84241         of destructors.
84242         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84244         [BZ #11724]
84245         * elf/Makefile: Add rules to build and run new test.
84246         * elf/tst-initorder.c: New file.
84247         * elf/tst-initorder.exp: New file.
84248         * elf/tst-initordera1.c: New file.
84249         * elf/tst-initordera2.c: New file.
84250         * elf/tst-initordera3.c: New file.
84251         * elf/tst-initordera4.c: New file.
84252         * elf/tst-initorderb1.c: New file.
84253         * elf/tst-initorderb2.c: New file.
84254         * elf/tst-order-a1.c: New file.
84255         * elf/tst-order-a2.c: New file.
84256         * elf/tst-order-a3.c: New file.
84257         * elf/tst-order-a4.c: New file.
84258         * elf/tst-order-b1.c: New file.
84259         * elf/tst-order-b2.c: New file.
84260         * elf/tst-order-main.c: New file.
84261         New test case by George Gensure <werkt0@gmail.com>.
84263 2010-10-01  Andreas Schwab  <schwab@redhat.com>
84265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84266         decoding ACE if AI_CANONIDN.
84268 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
84270         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84272 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
84274         * version.h (RELEASE): Bump for 2.13 release.
84275         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84277         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84279         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84280         MADV_NOHUGEPAGE.
84281         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84282         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84283         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84284         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84285         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84286         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84288         * posix/getconf.c: Update copyright year.
84289         * catgets/gencat.c: Likewise.
84290         * csu/version.c: Likewise.
84291         * debug/catchsegv.sh: Likewise.
84292         * debug/xtrace.sh: Likewise.
84293         * elf/ldconfig.c: Likewise.
84294         * elf/ldd.bash.in: Likewise.
84295         * elf/sprof.c (print_version): Likewise.
84296         * iconv/iconv_prog.c: Likewise.
84297         * iconv/iconvconfig.c: Likewise.
84298         * locale/programs/locale.c: Likewise.
84299         * locale/programs/localedef.c: Likewise.
84300         * malloc/memusage.sh: Likewise.
84301         * malloc/mtrace.pl: Likewise.
84302         * nscd/nscd.c (print_version): Likewise.
84303         * nss/getent.c: Likewise.
84305         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84306         PF_CAIF, and PF_ALG.
84307         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84309 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
84311         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84312         (modules-names): Use them.
84313         (ifunc-test-modules, ifunc-pie-tests): Define.
84314         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84315         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84316         (test-extras): Likewise.
84317         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84318         $(compile-command.c).
84319         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84320         (all-built-dso): Define.
84321         (check-textrel.out, check-execstack.out): Depend on it.
84323         * configure.in: Don't override --enable-multi-arch.
84325 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
84327         [BZ #6812]
84328         * nscd/hstcache.c (tryagain): Define.
84329         (cache_addhst): Return tryagain not notfound for temporary errors.
84330         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84331         failed.
84333 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
84335         [BZ #10563]
84336         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84337         to make the syscall.
84338         * sysdeps/unix/sysv/linux/setgroups.c: New file.
84340         [BZ #12378]
84341         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84342         and fall back to matching as normal character if the string ends before
84343         the matching ']' is found.  This is what POSIX requires.
84344         * posix/testfnm.c: Adjust test result.
84345         * posix/globtest.sh: Adjust test result.  Add new test.
84346         * posix/tst-fnmatch.input: Likewise.
84347         * posix/tst-fnmatch2.c: Add new test.
84349 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
84351         * elf/Makefile (check-execstack): Revert last change.  Depend on
84352         check-execstack.h.
84353         (check-execstack.h): New target.
84354         (generated): Add check-execstack.h.
84355         * elf/check-execstack.c: Include "check-execstack.h".
84356         (main): Revert last change.
84357         (handle_file): Return zero if GNU_STACK is absent and
84358         DEFAULT_STACK_PERMS doesn't include PF_X.
84360 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
84362         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84363         in child fails because the descriptor is already closed.
84364         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84365         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84366         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84368         [BZ #12397]
84369         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84370         syscall.
84372         [BZ #10484]
84373         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84374         temporary buffer used to handle multi lookups locally.
84375         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84377 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84379         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84380         loader is ld.so.
84382 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
84384         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84385         alignment for SSE2.
84387 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84389         [BZ #12394]
84390         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84391         characters.  When rounding increased number of integer digits recompute
84392         number of groups.
84393         * stdio-common/tst-grouping.c: New file.
84394         * stdio-common/Makefile: Add rules to build and run tst-grouping.
84396 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
84398         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84399         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
84401         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84402         void.
84403         * bits/select.h: Likewise.
84405 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
84407         * po/ja.po: Update from translation team.
84409 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
84411         [BZ #11155]
84412         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84413         implementation just like for lxstat, fxstatat, et al.
84415 2010-12-27  Jim Meyering  <meyering@redhat.com>
84417         [BZ #12348]
84418         * posix/regexec.c (build_trtable): Return failure indication upon
84419         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
84421 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
84423         [BZ #12201]
84424         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84425         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84426         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84427         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84429         [BZ #12207]
84430         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84432         [BZ #12204]
84433         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84434         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84436 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
84438         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84439         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84440         script has SORT_BY_INIT_PRIORITY.
84441         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84442         NO_CTORS_DTORS_SECTIONS is defined.
84443         * elf/soinit.c: Likewise.
84444         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84445         NO_CTORS_DTORS_SECTIONS is defined.
84446         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84447         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84448         * sysdeps/sh/init-first.c: Likewise.
84449         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84451 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
84453         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84454         always use the slow path.
84456 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
84458         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84459         similar rule which adds the sysdep directories to the header search in
84460         order to pick up the correct platform stackinfo.h.
84461         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84462         perform test if it is, otherwise return successfully without testing.
84463         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84464         DEFAULT_STACK_PERMS define in stackinfo.h.
84465         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84466         defined in stackinfo.h.
84467         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84468         DEFAULT_STACK_PERMS defined in stackinfo.h.
84469         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84470         * sysdeps/ia64/stackinfo.h: Likewise.
84471         * sysdeps/s390/stackinfo.h: Likewise.
84472         * sysdeps/sh/stackinfo.h: Likewise.
84473         * sysdeps/sparc/stackinfo.h: Likewise.
84474         * sysdeps/x86_64/stackinfo.h: Likewise.
84475         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84476         PF_X for powerpc64.  Retain PF_X for powerpc32.
84478 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
84480         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84481         accurately.
84482         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84483         GETDENTS_64BIT_ALIGNED.
84485 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
84487         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84489 2010-12-10  Andreas Schwab  <schwab@redhat.com>
84491         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84492         _GNU_SOURCE.
84494         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84495         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84496         Remove __restrict.
84497         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84498         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84500 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
84502         [BZ #11655]
84503         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84504         are initialized.
84506 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
84508         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84510 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
84512         * po/it.po: Update from translation team.
84514 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
84516         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84517         unused codes.
84519 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
84521         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84523 2010-11-24  Andreas Schwab  <schwab@redhat.com>
84525         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84526         specially.
84527         (gaih_getanswer_slice): Likewise.
84529 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
84531         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84533 2010-05-31  Petr Baudis  <pasky@suse.cz>
84535         [BZ #11149]
84536         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84537         silently even in the chroot mode.
84539 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
84541         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
84542         last patch a bit.  Pretty printing
84544 2010-05-31  Petr Baudis <pasky@suse.cz>
84546         [BZ #10085]
84547         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
84548         initialization of skip_initgroups_dyn.
84550 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
84552         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
84553         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84555 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
84557         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
84559 2010-11-11  Andreas Schwab  <schwab@redhat.com>
84561         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
84562         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
84563         (tst-fnmatch-ENV): Set MALLOC_TRACE.
84564         ($(objpfx)tst-fnmatch-mem): New rule.
84565         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
84566         * posix/tst-fnmatch.c (main): Call mtrace.
84568 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
84570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84571         Support Intel processor model 6 and model 0x2c.
84573 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
84575         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
84576           signed comparison.
84578 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
84580         [BZ #12205]
84581         * string/test-strncasecmp.c (check_result): New function.
84582         (do_one_test): Use it.
84583         (check1): New function.
84584         (test_main): Use it.
84585         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84586         Support strcasecmp and strncasecmp.
84588 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
84590         [BZ #12194]
84591         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84592         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84594 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
84596         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84597         IFUNC support.
84598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84599         memset-x86-64.
84600         * sysdeps/x86_64/multiarch/bzero.S: New file.
84601         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84602         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84603         * sysdeps/x86_64/multiarch/memset.S: New file.
84604         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84606         Set bit_Prefer_SSE_for_memop for Intel processors.
84607         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84608         Define.
84609         (index_Prefer_SSE_for_memop): Define.
84610         (HAS_PREFER_SSE_FOR_MEMOP): Define.
84612 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
84614         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84615         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84617 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
84619         [BZ #12191]
84620         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84621         (__x86_64_raw_data_cache_size_half): Likewise.
84622         (__x86_64_raw_shared_cache_size): Likewise.
84623         (__x86_64_raw_shared_cache_size_half): Likewise.
84625         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84626         (__x86_64_raw_data_cache_size_half): Likewise.
84627         (__x86_64_raw_shared_cache_size): Likewise.
84628         (__x86_64_raw_shared_cache_size_half): Likewise.
84629         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84630         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84631         and __x86_64_raw_shared_cache_size_half.  Round
84632         __x86_64_data_cache_size_half, __x86_64_data_cache_size
84633         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84634         to multiple of 256 bytes.
84636 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
84638         [BZ #12167]
84639         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84640         of inacessible symlinks.  Verify result of symlink before returning it.
84641         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84642         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84644 2010-10-28  Erich Ritz  <erichritz@gmail.com>
84646         * math/math.h (isinf): Fix typo in comment.
84648 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
84650         * po/da.po: Update from translation team.
84652 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
84654         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84655         is added to the list.
84657 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84658             Ulrich Drepper  <drepper@gmail.com>
84660         * elf/dl-object.c (_dl_new_object): Don't append the new object to
84661         the global list here.  Move code to...
84662         (_dl_add_to_namespace_list): ...here.  New function.
84663         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84664         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84665         * elf/dl-load.c (lose): Don't remove the element from the list.
84666         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84667         (_dl_map_object): Likewise.
84669 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
84671         [BZ #12159]
84672         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84673         into all bytes of SSE register.
84674         Patch by Richard Li <richardpku@gmail.com>.
84676 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
84678         [BZ #12140]
84679         * malloc/malloc.c (_int_free): Fill correct number of bytes when
84680         perturbing.
84682 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
84684         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84685         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84686         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84687         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84689         submachine.
84690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84692 2010-10-22  Andreas Schwab  <schwab@redhat.com>
84694         * include/dlfcn.h (__RTLD_SECURE): Define.
84695         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
84696         mode & __RTLD_SECURE instead.
84697         (open_path): Rename preloaded parameter to secure.
84698         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84699         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84700         * elf/dl-deps.c (openaux): Likewise.
84701         * elf/rtld.c (struct map_args): Remove is_preloaded.
84702         (map_doit): Don't use it.
84703         (dl_main): Likewise.
84704         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84705         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84707 2010-09-09  Andreas Schwab  <schwab@redhat.com>
84709         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84710         (sysd-rules-targets): Remove duplicates.
84711         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84712         rtld-%.$o dependency.
84714 2010-10-18  Andreas Schwab  <schwab@redhat.com>
84716         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84717         _dl_map_object do it.
84719 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
84721         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84722         fast fma builtins, define the macros in the C99 standard.
84723         (FP_FAST_FMAF): Likewise.
84724         (FP_FAST_FMAL): Likewise.
84725         * sysdeps/x86_64/bits/mathdef.h: Likewise.
84727         * bits/mathdef.h: Update copyright year.
84728         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84730 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
84732         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84733         builtins, define the macros in the C99 standard.
84734         (FP_FAST_FMAF): Likewise.
84735         (FP_FAST_FMAL): Likewise.
84736         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84737         multiply/add.
84738         (FP_FAST_FMAF): Likewise.
84740 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
84742         [BZ #3268]
84743         * math/libm-test.inc (fma_test): Some new testcases.
84744         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84745         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84746         y and infinite z.  Do multiplication by C already in long double.
84747         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84749         y and infinite z.  Do bitwise or of inexact bit into u.d.
84750         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84751         * sysdeps/i386/fpu/s_fmaf.S: Removed.
84752         * sysdeps/i386/fpu/s_fma.S: Removed.
84753         * sysdeps/i386/fpu/s_fmal.S: Removed.
84755 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
84757         [BZ #3268]
84758         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84759         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84760         computation is not scheduled after fetestexcept.  Fix value
84761         of minimum denormal long double.
84763 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
84765         [BZ #3268]
84766         * math/libm-test.inc (fma_test): Add some more tests.
84767         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84768         correctly.
84770 2010-10-15  Andreas Schwab  <schwab@redhat.com>
84772         * scripts/data/localplt-s390-linux-gnu.data: New file.
84773         * scripts/data/localplt-s390x-linux-gnu.data: New file.
84775 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
84777         [BZ #3268]
84778         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84779         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84780         instead of dbl-64.
84781         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84782         inlines.
84783         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84784         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84785         if one of x and y is very large and the other is subnormal.
84786         * sysdeps/s390/fpu/s_fmaf.c: New file.
84787         * sysdeps/s390/fpu/s_fma.c: New file.
84788         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84789         * sysdeps/powerpc/fpu/s_fma.S: New file.
84790         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84791         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84792         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84794 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
84796         [BZ #3268]
84797         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84798         fma tests.
84799         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84800         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84801         * sysdeps/i386/i686/multiarch/s_fma.c: Include
84802         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84803         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84804         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84805         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84807 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
84809         [BZ #12078]
84810         * posix/regcomp.c (parse_branch): One more memory leak plugged.
84811         * posix/bug-regex31.input: Add test case.
84813 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84815         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84816         * posix/bug-regex31.input: New file.
84818         [BZ #12078]
84819         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84820         (parse_sub_exp): Fix last change, use postorder.
84822         * posix/bug-regex31.c: New file.
84823         * posix/Makefile: Add rules to build and run bug-regex31.
84825         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84827         [BZ #12078]
84828         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84830         [BZ #12108]
84831         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84832         to have entries in sys_siglist.
84834         [BZ #12093]
84835         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84836         be NULL.
84838 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
84840         [BZ #3268]
84841         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84842         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84843         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84844         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84845         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84846         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84847         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84848         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84849         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84850         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84851         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84852         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84853         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84854         * math/ftestexcept.c (fetestexcept): Likewise.
84855         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84856         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84857         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84858         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84859         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84860         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84861         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84863 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84865         [BZ #12107]
84866         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84867         newline.
84869 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
84871         * string/bug-strstr1.c: New file.
84872         * string/Makefile: Add rules to build and run bug-strstr1.
84874 2010-10-05  Eric Blake  <eblake@redhat.com>
84876         [BZ #12092]
84877         * string/str-two-way.h (two_way_long_needle): Always clear memory
84878         when skipping input due to the shift table.
84880 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
84882         [BZ #12005]
84883         * malloc/mcheck.c: Handle large requests.
84885         [BZ #12077]
84886         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84887         for strncmp and strncasecmp.
84888         * string/stratcliff.c: Add tests for strcmp and strncmp.
84889         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84891 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84893         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84894         __set_fpscr.
84896 2010-09-30  Andreas Jaeger  <aj@suse.de>
84898         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84899         (CGROUP_SUPER_MAGIC): Define.
84900         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84901         Handle btrfs and cgroup file systems.
84902         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84903         Likewise.
84905 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
84907         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84908         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84910 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84912         [BZ #12067]
84913         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84914         trying to locate the ELF header.
84916 2010-09-27  Andreas Schwab  <schwab@redhat.com>
84918         [BZ #11611]
84919         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84920         Mask out sign-bit copies when constructing f_fsid.
84922 2010-09-24  Petr Baudis <pasky@suse.cz>
84924         * debug/stack_chk_fail_local.c: Add missing licence exception.
84925         * debug/warning-nop.c: Likewise.
84927 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
84929         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84930         implementing getdents64 using getdents syscall, set d_type if
84931         __ASSUME_GETDENTS32_D_TYPE.
84933 2010-09-16  Andreas Schwab  <schwab@redhat.com>
84935         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84936         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84938 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
84940         [BZ #12037]
84941         * posix/unistd.h: Undo change of feature selection for ftruncate from
84942         2010-01-11.
84944 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
84946         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84947         detection.
84949 2010-09-20  Andreas Schwab  <schwab@redhat.com>
84951         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84952         fanotify_mark.
84953         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84955 2010-09-14  Andreas Schwab  <schwab@redhat.com>
84957         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84958         variables after CHECK_SP call.
84959         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84961 2010-09-13  Andreas Schwab  <schwab@redhat.com>
84962             Ulrich Drepper  <drepper@redhat.com>
84964         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84965         re-relocationg ld.so.
84966         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84967         _dl_init_paths call.
84968         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
84969         here anymore.
84971 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
84973         * resolv/res_init.c (__res_vinit): Count the default server we added.
84975 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
84976             Ulrich Drepper  <drepper@redhat.com>
84978         [BZ #11968]
84979         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84980         (____longjmp_chk): Use %ebx for saving value across system call.
84981         Add unwind info.
84983 2010-09-06  Andreas Schwab  <schwab@redhat.com>
84985         * manual/Makefile: Don't mix pattern rules with normal rules.
84987 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
84989         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84990         operation.
84991         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84992         * libio/iofopncook.c (_IO_cookie_init): Likewise.
84993         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84994         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84995         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84996         Likewise.
84998 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
85000         [BZ #11979]
85001         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
85002         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
85004 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
85006         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
85007         * sysdeps/x86_64/addmul_1.S: Likewise.
85008         * sysdeps/x86_64/lshift.S: Likewise.
85009         * sysdeps/x86_64/mul_1.S: Likewise.
85010         * sysdeps/x86_64/rshift.S: Likewise.
85011         * sysdeps/x86_64/sub_n.S: Likewise.
85012         * sysdeps/x86_64/submul_1.S: Likewise.
85014 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85016         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
85017         Define __sched_param instead of SCHED_* and sched_param when
85018         <bits/sched.h> is included with __need_schedparam defined.
85019         * bits/sched.h [__need_schedparam]
85020         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
85021         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
85022         (__defined_schedparam): Define to 1.
85023         (__sched_param): New structure, identical to sched_param.
85024         (__need_schedparam): Undefine.
85026 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
85028         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85029         (epoll_create1): Declare.
85031         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85033 2010-08-31  Andreas Schwab  <schwab@redhat.com>
85035         [BZ #7066]
85036         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85037         shifting retval into place.
85039 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
85041         * nis/rpcsvc/nis.h: Update copyright notice.
85042         * nis/rpcsvc/nis.x: Likewise.
85043         * nis/rpcsvc/nis_callback.h: Likewise.
85044         * nis/rpcsvc/nis_callback.x: Likewise.
85045         * nis/rpcsvc/nis_object.x: Likewise.
85046         * nis/rpcsvc/nis_tags.h: Likewise.
85047         * nis/rpcsvc/yp.h: Likewise.
85048         * nis/rpcsvc/yp.x: Likewise.
85049         * nis/rpcsvc/ypupd.h: Likewise.
85050         * nis/yp_xdr.c: Likewise.
85051         * nis/ypupdate_xdr.c: Likewise.
85053         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
85054         mainly the body of pmap_getport.  Add parameters to specify timeouts.
85055         (pmap_getport): Use __libc_rpc_getport.
85056         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85057         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85058         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85060 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
85062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85063         fanotify_mark.
85065 2010-08-27  Roland McGrath  <roland@redhat.com>
85067         * sysdeps/i386/i686/multiarch/Makefile
85068         (CFLAGS-varshift.c): New variable.
85070 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
85072         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85073         * sysdeps/i386/i686/multiarch/varshift.c: New file.
85075         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85077         * sysdeps/x86_64/strlen.S: Minimal code improvement.
85079 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
85081         * sysdeps/x86_64/strlen.S: Unroll the loop.
85082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85083         strlen-sse2 strlen-sse2-bsf.
85084         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85085         __strlen_no_bsf if bit_Slow_BSF is set.
85086         (__strlen_sse42): Removed.
85087         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85088         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85090 2010-08-25  Roland McGrath  <roland@redhat.com>
85092         * sysdeps/x86_64/multiarch/varshift.S: File removed.
85093         * sysdeps/x86_64/multiarch/varshift.c: New file.
85094         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85095         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85096         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85097         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85099 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
85101         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85102         strlen-sse2 strlen-sse2-bsf.
85103         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85104         __strlen_sse2_bsf if bit_Slow_BSF is unset.
85105         (__strlen_sse2): Removed.
85106         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85107         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85109         bit_Slow_BSF for Atom.
85110         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85111         (index_Slow_BSF): Define.
85112         (HAS_SLOW_BSF): Define.
85114 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
85116         [BZ #10851]
85117         * resolv/res_init.c (__res_vinit): When no server address at all
85118         is given default to loopback.
85120 2010-08-24  Roland McGrath  <roland@redhat.com>
85122         * configure.in: Remove config-name.h generation.
85123         * configure: Regenerated.
85124         * config-name.in: File removed.
85125         * scripts/config-uname.sh: New file.
85126         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85127         ($(objdir)config-name.h): New target.
85129         * sunrpc/rpc_parse.h: Avoid nested comment.
85131 2010-08-24  Richard Henderson  <rth@redhat.com>
85132             Ulrich Drepper  <drepper@redhat.com>
85133             H.J. Lu  <hongjiu.lu@intel.com>
85135         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85137         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85138         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
85139         _mm_alignr_epi8 with _mm_loadu_si128.
85140         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85141         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85142         (__m128i_shift_right): Removed.
85143         * sysdeps/i386/i686/multiarch/varshift.h: New file.
85144         * sysdeps/i386/i686/multiarch/varshift.S: New file.
85145         * sysdeps/x86_64/multiarch/varshift.h: New file.
85146         * sysdeps/x86_64/multiarch/varshift.S: New file.
85148 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
85150         * configure.in: Move assembler checks to before sysdep dir checking.
85152 2010-08-20  Petr Baudis  <pasky@suse.cz>
85154         * LICENSES: Sync the sunrpc license.
85156 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
85158         * sunrpc/auth_des.c: Update copyright notice once again.
85159         * sunrpc/auth_none.c: Likewise.
85160         * sunrpc/auth_unix.c: Likewise.
85161         * sunrpc/authdes_prot.c: Likewise.
85162         * sunrpc/authuxprot.c: Likewise.
85163         * sunrpc/bindrsvprt.c: Likewise.
85164         * sunrpc/clnt_gen.c: Likewise.
85165         * sunrpc/clnt_perr.c: Likewise.
85166         * sunrpc/clnt_raw.c: Likewise.
85167         * sunrpc/clnt_simp.c: Likewise.
85168         * sunrpc/clnt_tcp.c: Likewise.
85169         * sunrpc/clnt_udp.c: Likewise.
85170         * sunrpc/clnt_unix.c: Likewise.
85171         * sunrpc/des_crypt.c: Likewise.
85172         * sunrpc/des_soft.c: Likewise.
85173         * sunrpc/get_myaddr.c: Likewise.
85174         * sunrpc/getrpcport.c: Likewise.
85175         * sunrpc/key_call.c: Likewise.
85176         * sunrpc/key_prot.c: Likewise.
85177         * sunrpc/openchild.c: Likewise.
85178         * sunrpc/pm_getmaps.c: Likewise.
85179         * sunrpc/pm_getport.c: Likewise.
85180         * sunrpc/pmap_clnt.c: Likewise.
85181         * sunrpc/pmap_prot.c: Likewise.
85182         * sunrpc/pmap_prot2.c: Likewise.
85183         * sunrpc/pmap_rmt.c: Likewise.
85184         * sunrpc/rpc/auth.h: Likewise.
85185         * sunrpc/rpc/auth_unix.h: Likewise.
85186         * sunrpc/rpc/clnt.h: Likewise.
85187         * sunrpc/rpc/des_crypt.h: Likewise.
85188         * sunrpc/rpc/key_prot.h: Likewise.
85189         * sunrpc/rpc/netdb.h: Likewise.
85190         * sunrpc/rpc/pmap_clnt.h: Likewise.
85191         * sunrpc/rpc/pmap_prot.h: Likewise.
85192         * sunrpc/rpc/pmap_rmt.h: Likewise.
85193         * sunrpc/rpc/rpc.h: Likewise.
85194         * sunrpc/rpc/rpc_des.h: Likewise.
85195         * sunrpc/rpc/rpc_msg.h: Likewise.
85196         * sunrpc/rpc/svc.h: Likewise.
85197         * sunrpc/rpc/svc_auth.h: Likewise.
85198         * sunrpc/rpc/types.h: Likewise.
85199         * sunrpc/rpc/xdr.h: Likewise.
85200         * sunrpc/rpc_clntout.c: Likewise.
85201         * sunrpc/rpc_cmsg.c: Likewise.
85202         * sunrpc/rpc_common.c: Likewise.
85203         * sunrpc/rpc_cout.c: Likewise.
85204         * sunrpc/rpc_dtable.c: Likewise.
85205         * sunrpc/rpc_hout.c: Likewise.
85206         * sunrpc/rpc_main.c: Likewise.
85207         * sunrpc/rpc_parse.c: Likewise.
85208         * sunrpc/rpc_parse.h: Likewise.
85209         * sunrpc/rpc_prot.c: Likewise.
85210         * sunrpc/rpc_sample.c: Likewise.
85211         * sunrpc/rpc_scan.c: Likewise.
85212         * sunrpc/rpc_scan.h: Likewise.
85213         * sunrpc/rpc_svcout.c: Likewise.
85214         * sunrpc/rpc_tblout.c: Likewise.
85215         * sunrpc/rpc_util.c: Likewise.
85216         * sunrpc/rpc_util.h: Likewise.
85217         * sunrpc/rpcinfo.c: Likewise.
85218         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85219         * sunrpc/rpcsvc/key_prot.x: Likewise.
85220         * sunrpc/rpcsvc/klm_prot.x: Likewise.
85221         * sunrpc/rpcsvc/mount.x: Likewise.
85222         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85223         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85224         * sunrpc/rpcsvc/rex.x: Likewise.
85225         * sunrpc/rpcsvc/rstat.x: Likewise.
85226         * sunrpc/rpcsvc/rusers.x: Likewise.
85227         * sunrpc/rpcsvc/sm_inter.x: Likewise.
85228         * sunrpc/rpcsvc/spray.x: Likewise.
85229         * sunrpc/rpcsvc/yppasswd.x: Likewise.
85230         * sunrpc/rtime.c: Likewise.
85231         * sunrpc/svc.c: Likewise.
85232         * sunrpc/svc_auth.c: Likewise.
85233         * sunrpc/svc_authux.c: Likewise.
85234         * sunrpc/svc_raw.c: Likewise.
85235         * sunrpc/svc_run.c: Likewise.
85236         * sunrpc/svc_simple.c: Likewise.
85237         * sunrpc/svc_tcp.c: Likewise.
85238         * sunrpc/svc_udp.c: Likewise.
85239         * sunrpc/svc_unix.c: Likewise.
85240         * sunrpc/svcauth_des.c: Likewise.
85241         * sunrpc/xcrypt.c: Likewise.
85242         * sunrpc/xdr.c: Likewise.
85243         * sunrpc/xdr_array.c: Likewise.
85244         * sunrpc/xdr_float.c: Likewise.
85245         * sunrpc/xdr_mem.c: Likewise.
85246         * sunrpc/xdr_rec.c: Likewise.
85247         * sunrpc/xdr_ref.c: Likewise.
85248         * sunrpc/xdr_sizeof.c: Likewise.
85249         * sunrpc/xdr_stdio.c: Likewise.
85251         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85252         handling.
85254 2010-08-19  Andreas Schwab  <schwab@redhat.com>
85256         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85258 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
85260         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85261         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85262         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85263         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85264         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85265         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85266         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85267         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85268         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85269         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85270         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85271         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85272         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85273         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85275 2010-07-26  Anton Blanchard  <anton@samba.org>
85277         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85278         * malloc/arena.c (heap_trim): Likewise.
85280 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
85282         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85283         here.  Not...
85284         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85285         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85287 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
85289         * sysdeps/i386/elf/Makefile: New file.
85291 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85293         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85294         from fanotify_init.
85295         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85296         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85298 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
85300         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85301         of strncasecmp_l.
85302         * sysdeps/multiarch/strcmp.S: Likewise.
85304 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
85306         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85307         strncase_l-nonascii.
85308         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85309         Add strncase_l-ssse3.
85310         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85311         * sysdeps/x86_64/strcmp.S: Likewise.
85312         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85313         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85314         * sysdeps/x86_64/strncase.S: New file.
85315         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85316         * sysdeps/x86_64/strncase_l.S: New file.
85317         * string/Makefile (strop-tests): Add strncasecmp.
85318         * string/test-strncasecmp.c: New file.
85320         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85321         warning.
85323         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85324         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85326 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85328         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85330 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
85332         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85333         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85334         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85336 2010-05-01  Alan Modra  <amodra@gmail.com>
85338         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85339         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85340         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85341         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85342         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85343         tidying.  Don't tail-call __sigjmp_save for static lib.
85344         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85345         save location.
85346         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85347         (CALL_MCOUNT): Add eh info, and nop after bl.
85348         (TAIL_CALL_SYSCALL_ERROR): New macro.
85349         (PSEUDO_RET): Use it.
85350         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85351         Correct save location of integer regs and cr.
85352         (_dl_profile_resolve): Correct cr save location.  Delete nops
85353         after bl when SHARED.  Reduce cfi size a little by better
85354         placement of cfi directives.
85355         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85356         make a stack frame.  Instead use parm save area as a temp.
85357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85358         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
85359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85360         Don't make a stack frame for parent, use parm save area.
85361         Increase child stack frame to 112 bytes.  Don't save unused reg,
85362         and adjust reg usage.  Set up cfi on error recovery and
85363         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85365         (__makecontext): Add dummy nop after jump to exit.
85366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85367         Use correct parm save area and cr save, reduce stack frame.
85368         Correct cfi for possible PSEUDO_RET frame setup.
85369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85370         Branch to local label emitted by PSEUDO_RET rather than
85371         __syscall_error.
85373 2010-08-12  Andreas Schwab  <schwab@redhat.com>
85375         [BZ #11904]
85376         * locale/programs/locale.c (print_assignment): New function.
85377         (show_locale_vars): Use it.
85379 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
85381         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85382         field.
85383         (struct statfs64): Likewise.
85384         (_STATFS_F_FLAGS): Define.
85385         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85386         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85387         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85388         (ST_VALID): Define locally.
85389         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85390         __statvfs_getflags, use the provided value.
85391         * sysdeps/unix/sysv/linux/kernel-features.h: Define
85392         __ASSUME_STATFS_F_FLAGS.
85394         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85396         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85397         Add sys/fanotify.h.
85398         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85399         fanotify_mask for GLIBC_2.13.
85400         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85401         fanotify_init and fanotify_mark.
85402         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85403         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85405         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85406         Add prlimit.
85407         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85408         prlimit64 for GLIBC_2.13.
85409         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85410         prlimit64.
85411         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85412         syscall.
85413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85414         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85415         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85416         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85417         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
85418         add prlimit alias.
85419         * sysdeps/unix/sysv/linux/prlimit.c: New file.
85421         [BZ #11903]
85422         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85423         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85425         * nss/Makefile: Add rules to build and run tst-nss-test1.
85426         * shlib-versions: Add entry for libnss_test1.
85427         * nss/nss_test1.c: New file.
85428         * nss/tst-nss-test1.c: New file.
85430         * nss/nsswitch.c (__nss_database_custom): Define new variable.
85431         (__nss_configure_lookup): Set appropriate entry in
85432         __nss_configure_lookup to true.
85433         * nss/nsswitch.h: Define enum with indeces of databases in
85434         databases and __nss_database_custom arrays.  Declare
85435         __nss_database_custom.
85436         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85437         to avoid using nscd when custom rules are installed.
85438         * nss/getXXbyYY_r.c: Likewise.
85439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85441         * nss/nss_files/files-parse.c: Whitespace fixes.
85443 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
85445         [BZ #11883]
85446         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85447         * posix/fnmatch_loop.c: Likewise.
85449 2010-07-17  Andi Kleen  <ak@linux.intel.com>
85451         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85452         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85453         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85454         * Versions.def [GLIBC_2.13]: Add.
85456 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
85458         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85459         Also fail if tpwd after pwuid call is NULL.
85461 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85463         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85464         when converting to ms.
85466 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85468         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85469         EOPNOTSUPP errors with ENOTTY.
85470         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85471         EOPNOTSUPP errors with ENOTTY.
85473 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
85475         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85476         Add strcasecmp_l-ssse3.
85477         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85478         strcasecmp.
85479         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85480         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85481         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85483 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
85485         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85487         * string/Makefile (strop-tests): Add strcasecmp.
85488         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85489         strcasecmp_l-nonascii.
85490         (gen-as-const-headers): Add locale-defines.sym.
85491         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85492         * sysdeps/x86_64/strcasecmp.S: New file.
85493         * sysdeps/x86_64/strcasecmp_l.S: New file.
85494         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85495         * sysdeps/x86_64/locale-defines.sym: New file.
85496         * string/test-strcasecmp.c: New file.
85498         * string/test-strcasestr.c: Test both ends of the range of characters.
85499         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85501 2010-07-29  Roland McGrath  <roland@redhat.com>
85503         [BZ #11856]
85504         * manual/locale.texi (Yes-or-No Questions): Fix example code.
85506 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
85508         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85509         for ld.so.
85511 2010-07-27  Andreas Schwab  <schwab@redhat.com>
85513         * manual/memory.texi (Malloc Tunable Parameters): Document
85514         M_PERTURB.
85516 2010-07-26  Roland McGrath  <roland@redhat.com>
85518         [BZ #11840]
85519         * configure.in (-fgnu89-inline check): Set and substitute
85520         gnu89_inline, not libc_cv_gnu89_inline.
85521         * configure: Regenerated.
85522         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85524 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
85526         * string/test-strnlen.c: New file.
85527         * string/Makefile (strop-tests): Add strnlen.
85528         * string/tester.c (test_strnlen): Add a few more test cases.
85529         * string/tst-strlen.c: Better error reporting.
85531         * sysdeps/x86_64/strnlen.S: New file.
85533 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
85535         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85536         lower-latency instructions.
85538 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
85540         * string/test-strcasestr.c: New file.
85541         * string/test-strstr.c: New file.
85542         * string/Makefile (strop-tests): Add strstr and strcasestr.
85543         * string/str-two-way.h: Don't undefine MAX.
85544         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
85546 2010-07-21  Andreas Schwab  <schwab@redhat.com>
85548         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85549         strcasestr-nonascii.
85550         (CFLAGS-strcasestr-nonascii.c): Define.
85551         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
85552         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
85553         Remove unused attribute.
85555 2010-07-20  Roland McGrath  <roland@redhat.com>
85557         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
85558         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
85559         ld.so.cache was broken.  With it, there is no way to disable dsocaps
85560         like LD_HWCAP_MASK can disable hwcaps.
85562 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85564         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
85566 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
85568         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
85569         call in strcasestr.
85570         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
85571         __strcasestr_sse42_nonascii.
85572         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
85573         strcasestr-nonascii.c.
85574         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
85576 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
85578         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85579         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85580         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85581         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85583 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
85585         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85586         fcntl.
85588 2010-07-06  Andreas Schwab  <schwab@redhat.com>
85590         [BZ #11577]
85591         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85592         dl_signal_cerror.
85594 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
85596         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85597         _PC_PIPE_BUF using F_GETPIPE_SZ.
85599 2010-07-05  Roland McGrath  <roland@redhat.com>
85601         * manual/arith.texi (Rounding Functions): Fix rint description
85602         implicit in round description.
85604 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
85606         * elf/Makefile: Fix linking for a few tests to make recent linker
85607         happy.
85609 2010-06-30  Andreas Schwab  <schwab@redhat.com>
85611         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85612         $(common-objpfx)libc_nonshared.a.
85614 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
85616         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85617         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85618         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85619         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85620         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85621         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85622         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85623         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85638         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85639         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85640         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85641         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85642         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85643         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85644         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85645         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85646         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85647         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85648         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85649         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85665 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
85667         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85668         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
85669         * string/memmove.c (memmove): Renamed to ...
85670         (MEMMOVE): ...this.  Default to memmove.
85671         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85672         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85673         (END_CHK): Define.
85674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85675         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85676         mempcpy-ssse3-back memmove-ssse3-back.
85677         * sysdeps/x86_64/multiarch/bcopy.S: New file .
85678         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85679         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85680         * sysdeps/x86_64/multiarch/memcpy.S: New file.
85681         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85682         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85683         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85684         * sysdeps/x86_64/multiarch/memmove.c: New file.
85685         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85686         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85687         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85688         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85689         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85690         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85691         Define.
85692         (index_Fast_Copy_Backward): Define.
85693         (HAS_ARCH_FEATURE): Define.
85694         (HAS_FAST_REP_STRING): Define.
85695         (HAS_FAST_COPY_BACKWARD): Define.
85697 2010-06-21  Andreas Schwab  <schwab@redhat.com>
85699         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85700         Restore proper fallback handling.
85702 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
85704         [BZ #11701]
85705         * posix/group_member.c (__group_member): Correct checking loop.
85707         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85708         OOM in getpwuid_r correctly.  Return error number when the caller
85709         should return, otherwise -1.
85710         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85711         call returning > 0 value.
85712         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85714 2010-06-07  Andreas Schwab  <schwab@redhat.com>
85716         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85717         libc_nonshared.a from targets in modules-names.
85719 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
85721         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85722         requires it.
85724 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
85726         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85727         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85728         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85729         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85731 2010-06-02  Andreas Schwab  <schwab@redhat.com>
85733         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85735 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
85737         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85738         and F_GETPIPE_SZ.
85739         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85740         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85741         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85742         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85743         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85744         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85746 2010-06-14  Roland McGrath  <roland@redhat.com>
85748         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85750 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
85752         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85753         __REDIRECT followed by __THROW.
85754         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85755         * posix/getopt.h (getopt): Likewise.
85757 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85759         * hurd/lookup-at.c (__file_name_lookup_at): Accept
85760         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
85761         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85762         in AT_FLAGS.
85763         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85764         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85766 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
85768         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85770 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
85772         [BZ #11640]
85773         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85774         Properly check family and model.
85776 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
85778         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85780 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
85782         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85784 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
85786         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85787         symbol reference.
85789 2010-05-19  Andreas Schwab  <schwab@redhat.com>
85791         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85792         symbol reference.
85794 2010-05-21  Andreas Schwab  <schwab@redhat.com>
85796         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85797         and internal_recvmmsg.
85798         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85799         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85800         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85801         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85803         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85804         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85805         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85807 2010-05-20  Andreas Schwab  <schwab@redhat.com>
85809         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85811 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
85813         POWER7 optimizations.
85814         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85815         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85817 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
85819         * version.h: Update for 2.13 development version.
85821 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
85823         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85824         exceptions.  Return 0.
85826 2010-05-07  Roland McGrath  <roland@redhat.com>
85828         * elf/ldconfig.c (main): Add a const.
85830 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
85832         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85833         (args_options): Add no-idn option.
85834         (ahosts_keys_int): Add idn_flags to ai_flags.
85835         (parse_option): Handle 'i' option to clear idn_flags.
85837         * malloc/malloc.c (_int_free): Possible race in the most recently
85838         added check.  Only act on the data if no current modification
85839         happened.
85841 See ChangeLog.17 for earlier changes.